Public Types | Public Member Functions | List of all members
gazebo::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> 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

Constructor & Destructor Documentation

gazebo::Master::Master ( )

Constructor.

virtual gazebo::Master::~Master ( )
virtual

Destructor.

Member Function Documentation

void gazebo::Master::Fini ( )

Finalize the master.

void gazebo::Master::Init ( uint16_t  _port)

Initialize.

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


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