#include <Server.hh>
|
| Server () |
| Constructor.
|
|
virtual | ~Server () |
| Destructor.
|
|
void | Fini () |
| Finalize the Server.
|
|
bool | GetInitialized () const |
| Get whether the Server has been initialized.
|
|
bool | LoadFile (const std::string &_filename="worlds/empty.world", const std::string &_physics="") |
| Load a world file and optionally override physics engine type.
|
|
bool | LoadString (const std::string &_sdfString) |
| Load the Server from an SDF string.
|
|
bool | ParseArgs (int _argc, char **_argv) |
| Parse command line arguments.
|
|
bool | PreLoad () |
| Preload the server.
|
|
void | PrintUsage () |
| Output help about gzserver.
|
|
void | Run () |
| Run the Server.
|
|
void | SetParams (const common::StrStr_M &_params) |
| Set the parameters.
|
|
void | Stop () |
| Stop the Server.
|
|
◆ Server()
◆ ~Server()
◆ Fini()
◆ GetInitialized()
bool GetInitialized |
( |
| ) |
const |
Get whether the Server has been initialized.
- Returns
- True if initialized.
◆ LoadFile()
bool LoadFile |
( |
const std::string & | _filename = "worlds/empty.world", |
|
|
const std::string & | _physics = "" ) |
Load a world file and optionally override physics engine type.
- Parameters
-
[in] | _filename | Name of the world file to load. |
[in] | _physics | Physics engine type (ode|bullet|dart|simbody). |
- Returns
- True on success.
◆ LoadString()
bool LoadString |
( |
const std::string & | _sdfString | ) |
|
Load the Server from an SDF string.
- Parameters
-
[in] | _sdfString | SDF string from which to load a World. |
- Returns
- True on success.
◆ ParseArgs()
bool ParseArgs |
( |
int | _argc, |
|
|
char ** | _argv ) |
Parse command line arguments.
- Parameters
-
[in] | _argc | Number of arguments. |
[in] | _argv | Array of argument values. |
- Returns
- True on success.
◆ PreLoad()
Preload the server.
- Returns
- True if load was successful.
◆ PrintUsage()
Output help about gzserver.
◆ Run()
◆ SetParams()
Set the parameters.
- Parameters
-
[in] | _params | Map of string parameters |
◆ Stop()
The documentation for this class was generated from the following file: