All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
gazebo::Server Class Reference

#include <Server.hh>

Public Member Functions

 Server ()
 Constructor. More...
 
virtual ~Server ()
 Destructor. More...
 
void Fini ()
 Finalize the Server. More...
 
bool GetInitialized () const
 Get whether the Server has been initialized. More...
 
bool LoadFile (const std::string &_filename="worlds/empty.world", const std::string &_physics="")
 Load a world file and optionally override physics engine type. More...
 
bool LoadString (const std::string &_sdfString)
 Load the Server from an SDF string. More...
 
bool ParseArgs (int _argc, char **_argv)
 Parse command line arguments. More...
 
bool PreLoad ()
 Preload the server. More...
 
void PrintUsage ()
 Output help about gzserver. More...
 
void Run ()
 Run the Server. More...
 
void SetParams (const common::StrStr_M &_params)
 Set the parameters. More...
 
void Stop ()
 Stop the Server. More...
 

Constructor & Destructor Documentation

gazebo::Server::Server ( )

Constructor.

virtual gazebo::Server::~Server ( )
virtual

Destructor.

Member Function Documentation

void gazebo::Server::Fini ( )

Finalize the Server.

bool gazebo::Server::GetInitialized ( ) const

Get whether the Server has been initialized.

Returns
True if initialized.
bool gazebo::Server::LoadFile ( const std::string &  _filename = "worlds/empty.world",
const std::string &  _physics = "" 
)

Load a world file and optionally override physics engine type.

Parameters
[in]_filenameName of the world file to load.
[in]_physicsPhysics engine type (ode|bullet|dart|simbody).
Returns
True on success.
bool gazebo::Server::LoadString ( const std::string &  _sdfString)

Load the Server from an SDF string.

Parameters
[in]_sdfStringSDF string from which to load a World.
Returns
True on success.
bool gazebo::Server::ParseArgs ( int  _argc,
char **  _argv 
)

Parse command line arguments.

Parameters
[in]_argcNumber of arguments.
[in]_argvArray of argument values.
Returns
True on success.
bool gazebo::Server::PreLoad ( )

Preload the server.

Returns
True if load was successful.
void gazebo::Server::PrintUsage ( )

Output help about gzserver.

void gazebo::Server::Run ( )

Run the Server.

void gazebo::Server::SetParams ( const common::StrStr_M _params)

Set the parameters.

Parameters
[in]_paramsMap of string parameters
void gazebo::Server::Stop ( )

Stop the Server.


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