Base class for all events. More...
#include <common/common.hh>
Inherited by EventT< bool()>, EventT< void()>, EventT< void(bool)>, EventT< void(bool, bool)>, EventT< void(const common::UpdateInfo &)>, EventT< void(const int32_t)>, EventT< void(const msgs::Light &)>, EventT< void(const msgs::Model &)>, EventT< void(const std::string &)>, EventT< void(const std::string &, const math::Vector3 &)>, EventT< void(const unsigned char *, unsigned int, unsigned int, unsigned int, const std::string &)>, EventT< void(double)>, EventT< void(int)>, EventT< void(int, std::string)>, EventT< void(QColor)>, EventT< void(QString)>, EventT< void(sdf::ElementPtr, const std::string &, const std::string &, const uint32_t)>, EventT< void(std::string)>, EventT< void(std::string, bool)>, EventT< void(std::string, std::string)>, EventT< void(std::string, std::string, std::string)>, EventT< void(std::string, std::string, std::string, bool, bool)>, EventT< void(std::string, std::string, std::string, std::string, std::string)>, and EventT< T >.
Public Member Functions | |
| Event () | |
| Constructor. More... | |
| virtual | ~Event () |
| Destructor. More... | |
| virtual void | Disconnect (ConnectionPtr _c)=0 |
| Disconnect. More... | |
| virtual void | Disconnect (int _id)=0 |
| Disconnect. More... | |
| bool | GetSignaled () const |
| Get whether this event has been signaled. More... | |
Protected Member Functions | |
| Event (EventPrivate &_d) | |
| Allow subclasses to initialize their own data pointer. More... | |
Protected Attributes | |
| EventPrivate * | dataPtr |
| Data pointer. More... | |
Base class for all events.
| Event | ( | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Allow subclasses to initialize their own data pointer.
| [in] | _d | Reference to data pointer. |
|
pure virtual |
Disconnect.
| [in] | _c | A pointer to a connection |
Implemented in EventT< T >, EventT< void(double)>, EventT< void(const unsigned char *, unsigned int, unsigned int, unsigned int, const std::string &)>, EventT< void(std::string)>, EventT< bool()>, EventT< void(int)>, EventT< void(const msgs::Light &)>, EventT< void(std::string, std::string, std::string, std::string, std::string)>, EventT< void(QString)>, EventT< void(QColor)>, EventT< void(const std::string &)>, EventT< void(const std::string &, const math::Vector3 &)>, EventT< void()>, EventT< void(std::string, std::string, std::string, bool, bool)>, EventT< void(std::string, bool)>, EventT< void(bool, bool)>, EventT< void(const common::UpdateInfo &)>, EventT< void(const msgs::Model &)>, EventT< void(sdf::ElementPtr, const std::string &, const std::string &, const uint32_t)>, EventT< void(const int32_t)>, EventT< void(std::string, std::string, std::string)>, EventT< void(int, std::string)>, EventT< void(std::string, std::string)>, and EventT< void(bool)>.
|
pure virtual |
Disconnect.
| [in] | _id | Integer ID of a connection |
Implemented in EventT< T >, EventT< void(double)>, EventT< void(const unsigned char *, unsigned int, unsigned int, unsigned int, const std::string &)>, EventT< void(std::string)>, EventT< bool()>, EventT< void(int)>, EventT< void(const msgs::Light &)>, EventT< void(std::string, std::string, std::string, std::string, std::string)>, EventT< void(QString)>, EventT< void(QColor)>, EventT< void(const std::string &)>, EventT< void(const std::string &, const math::Vector3 &)>, EventT< void()>, EventT< void(std::string, std::string, std::string, bool, bool)>, EventT< void(std::string, bool)>, EventT< void(bool, bool)>, EventT< void(const common::UpdateInfo &)>, EventT< void(const msgs::Model &)>, EventT< void(sdf::ElementPtr, const std::string &, const std::string &, const uint32_t)>, EventT< void(const int32_t)>, EventT< void(std::string, std::string, std::string)>, EventT< void(int, std::string)>, EventT< void(std::string, std::string)>, and EventT< void(bool)>.
| bool GetSignaled | ( | ) | const |
Get whether this event has been signaled.
|
protected |
Data pointer.
Referenced by EventT< void(bool)>::Disconnect().