Connection Class Reference

A class that encapsulates a connection. More...

#include <Event.hh>

Public Member Functions

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

Detailed Description

A class that encapsulates a connection.

Constructor & Destructor Documentation

§ Connection() [1/2]

Constructor.

§ Connection() [2/2]

Connection ( Event _e,
int  _i 
)

Constructor.

Parameters
[in]_eEvent pointer to connect with.
[in]_iUnique id.

§ ~Connection()

~Connection ( )

Destructor.

Member Function Documentation

§ GetId()

int GetId ( ) const

Get the id of this connection.

Returns
The id of this connection.

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