A class that encapsulates a connection. More...
#include <Event.hh>
Public Member Functions | |
| Connection () | |
| Constructor. | |
| Connection (Event *_e, int _i) | |
| Constructor. | |
| ~Connection () | |
| Destructor. | |
| int | GetId () const |
| Get the id of this connection. | |
A class that encapsulates a connection.
|
inline |
Constructor.
| gazebo::event::Connection::Connection | ( | Event * | _e, |
| int | _i | ||
| ) |
Constructor.
| [in] | _e | Event pointer to connect with |
| [in] | _i | Unique id |
| gazebo::event::Connection::~Connection | ( | ) |
Destructor.
| int gazebo::event::Connection::GetId | ( | ) | const |
Get the id of this connection.
Referenced by gazebo::event::EventT< T >::Disconnect().