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> gazebo::Master::Connection_M |
typedef std::list< std::pair<msgs::Publish, transport::ConnectionPtr> > gazebo::Master::PubList |
typedef std::list< std::pair<msgs::Subscribe, transport::ConnectionPtr> > gazebo::Master::SubList |
gazebo::Master::Master | ( | ) |
Constructor.
|
virtual |
Destructor.
void gazebo::Master::Fini | ( | ) |
Finalize the master.
void gazebo::Master::Init | ( | uint16_t | _port | ) |
Initialize.
[in] | _port | The master's port |
void gazebo::Master::Run | ( | ) |
Run the master.
void gazebo::Master::RunOnce | ( | ) |
Run the master one iteration.
void gazebo::Master::RunThread | ( | ) |
Run the master in a new thread.
void gazebo::Master::Stop | ( | ) |
Stop the master.