Connection Class Reference

A class that encapsulates a connection. More...

#include <Event.hh>

Public Member Functions

 Connection (Event *_e, const int _i)
 Constructor. More...
 
 ~Connection ()
 Destructor. More...
 
int GetId () const GAZEBO_DEPRECATED(8.0)
 Get the id of this connection. More...
 
int Id () const
 Get the id of this connection. More...
 

Detailed Description

A class that encapsulates a connection.

Constructor & Destructor Documentation

Connection ( Event _e,
const int  _i 
)

Constructor.

Parameters
[in]_eEvent pointer to connect with.
[in]_iUnique id.
~Connection ( )

Destructor.

Member Function Documentation

int GetId ( ) const

Get the id of this connection.

Returns
The id of this connection.
Deprecated:
See const Id() const;
int Id ( ) const

Get the id of this connection.

Returns
The id of this connection.

The documentation for this class was generated from the following file: