Gazebo Common

API Reference

6.0.1
Connection Class Reference

A class that encapsulates a connection. More...

#include <Event.hh>

Public Member Functions

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

Detailed Description

A class that encapsulates a connection.

Constructor & Destructor Documentation

◆ Connection()

Connection ( Event _e,
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: