A manager that directs topic connections, enables each gazebo network client to locate one another for peer-to-peer communication. More...
#include <gazebo_core.hh>
Public Types | |
| typedef std::map< unsigned int, transport::ConnectionPtr > | Connection_M |
| typedef std::list< std::pair < msgs::Publish, transport::ConnectionPtr > > | PubList |
| typedef std::list< std::pair < msgs::Subscribe, transport::ConnectionPtr > > | SubList |
Public Member Functions | |
| Master () | |
| Constructor. More... | |
| virtual | ~Master () |
| Destructor. More... | |
| void | Fini () |
| Finalize the master. More... | |
| void | Init (uint16_t _port) |
| Initialize. More... | |
| void | Run () |
| Run the master. More... | |
| void | RunOnce () |
| Run the master one iteration. More... | |
| void | RunThread () |
| Run the master in a new thread. More... | |
| void | Stop () |
| Stop the master. More... | |
A manager that directs topic connections, enables each gazebo network client to locate one another for peer-to-peer communication.
Base class for simulation server that handles commandline options, starts a Master, runs World update and sensor generation loops.
| typedef std::map<unsigned int, transport::ConnectionPtr> Connection_M |
| typedef std::list< std::pair<msgs::Publish, transport::ConnectionPtr> > PubList |
| typedef std::list< std::pair<msgs::Subscribe, transport::ConnectionPtr> > SubList |
| Master | ( | ) |
Constructor.
|
virtual |
Destructor.
| void Fini | ( | ) |
Finalize the master.
| void Init | ( | uint16_t | _port | ) |
Initialize.
| [in] | _port | The master's port |
| void Run | ( | ) |
Run the master.
| void RunOnce | ( | ) |
Run the master one iteration.
| void RunThread | ( | ) |
Run the master in a new thread.
| void Stop | ( | ) |
Stop the master.