Master Class Reference

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...
 

Detailed Description

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.

Member Typedef Documentation

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

Constructor & Destructor Documentation

Master ( )

Constructor.

virtual ~Master ( )
virtual

Destructor.

Member Function Documentation

void Fini ( )

Finalize the master.

void Init ( uint16_t  _port)

Initialize.

Parameters
[in]_portThe 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.


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