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 ignition::math::Pose3d &, const bool)>, EventT< void(const std::string &, const ignition::math::Vector3d &)>, 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)>, EventT< void(sdf::ElementPtr, const std::string &, const std::string &, const uint32_t)>, EventT< void(sdf::ElementPtr, std::string)>, EventT< void(std::string)>, EventT< void(std::string, bool)>, EventT< void(std::string, ignition::math::Pose3d)>, EventT< void(std::string, std::map< std::string, ignition::math::Vector3d >)>, EventT< void(std::string, std::string)>, EventT< void(std::string, std::string, std::string, bool)>, 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 (int _id)=0 |
Disconnect. More... | |
void | SetSignaled (const bool _sig) |
Set whether this event has been signaled. More... | |
bool | Signaled () const |
Get whether this event has been signaled. More... | |
Base class for all events.
Event | ( | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Disconnect.
[in] | _id | Integer ID of a connection |
Implemented in EventT< T >, EventT< void(sdf::ElementPtr, std::string)>, EventT< void(double)>, EventT< void(const unsigned char *, unsigned int, unsigned int, unsigned int, const std::string &)>, EventT< void(std::string)>, EventT< void(sdf::ElementPtr)>, EventT< bool()>, EventT< void(const std::string &, const ignition::math::Pose3d &, const bool)>, EventT< void(int)>, EventT< void(const msgs::Light &)>, EventT< void(std::string, std::string, std::string, std::string, std::string)>, EventT< void(std::string, std::map< std::string, ignition::math::Vector3d >)>, EventT< void(QString)>, EventT< void(QColor)>, EventT< void(const std::string &)>, EventT< void(const std::string &, const ignition::math::Vector3d &)>, EventT< void()>, EventT< void(std::string, std::string, std::string, bool, bool)>, EventT< void(std::string, std::string, std::string, bool)>, EventT< void(std::string, bool)>, EventT< void(std::string, ignition::math::Pose3d)>, 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(int, std::string)>, EventT< void(std::string, std::string)>, and EventT< void(bool)>.
void SetSignaled | ( | const bool | _sig | ) |
Set whether this event has been signaled.
[in] | _sig | True if the event has been signaled. |
Referenced by EventT< void(bool)>::Signal().
bool Signaled | ( | ) | const |
Get whether this event has been signaled.