Ignition Common

API Reference

3.5.0
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 Id () const
 Get the id of this connection. More...
 

Detailed Description

A class that encapsulates a connection.

Constructor & Destructor Documentation

◆ Connection()

Connection ( Event _e,
const int  _i 
)

Constructor.

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

◆ ~Connection()

~Connection ( )

Destructor.

Member Function Documentation

◆ Id()

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: