66 public:
bool LoadFile(
const std::string &_filename=
"worlds/empty.world",
67 const std::string &_physics=
"");
94 private:
bool LoadImpl(sdf::ElementPtr _elem,
95 const std::string &_physics=
"");
99 private:
static void SigInt(
int _v);
102 private:
void ProcessParams();
106 private:
void OnControl(ConstServerControlPtr &_msg);
111 private:
bool OpenWorld(
const std::string &_filename);
114 private:
void ProcessControlMsgs();
118 private: std::unique_ptr<ServerPrivate> dataPtr;
Forward declarations for transport.
void Fini()
Finalize the Server.
void Stop()
Stop the Server.
bool ParseArgs(int _argc, char **_argv)
Parse command line arguments.
bool GetInitialized() const
Get whether the Server has been initialized.
void SetParams(const common::StrStr_M &_params)
Set the parameters.
virtual ~Server()
Destructor.
void PrintUsage()
Output help about gzserver.
bool PreLoad()
Preload the server.
void Run()
Run the Server.
bool LoadString(const std::string &_sdfString)
Load the Server from an SDF string.
bool LoadFile(const std::string &_filename="worlds/empty.world", const std::string &_physics="")
Load a world file and optionally override physics engine type.
std::map< std::string, std::string > StrStr_M
Definition CommonTypes.hh:101
Forward declarations for the common classes.
Definition Animation.hh:27
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition system.hh:59