23 #include <boost/program_options.hpp>
24 #include <boost/thread.hpp>
54 public:
void PrintUsage();
60 public:
bool ParseArgs(
int _argc,
char **_argv);
64 public:
bool PreLoad();
70 public:
bool LoadFile(
const std::string &_filename=
"worlds/empty.world",
71 const std::string &_physics=
"");
76 public:
bool LoadString(
const std::string &_sdfString);
93 public:
bool GetInitialized()
const;
98 private:
bool LoadImpl(sdf::ElementPtr _elem,
99 const std::string &_physics=
"");
103 private:
static void SigInt(
int _v);
106 private:
void ProcessParams();
110 private:
void OnControl(ConstServerControlPtr &_msg);
115 private:
bool OpenWorld(
const std::string &_filename);
118 private:
void ProcessControlMsgs();
121 private:
static bool stop;
133 private: boost::mutex receiveMutex;
136 private: std::list<msgs::ServerControl> controlMsgs;
142 private: boost::program_options::variables_map vm;
145 private:
bool initialized;
148 private:
int systemPluginsArgc;
151 private:
char **systemPluginsArgv;
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:48
Forward declarations for transport.
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:52
GAZEBO_VISIBLE void stop()
std::map< std::string, std::string > StrStr_M
Definition: CommonTypes.hh:115
boost::shared_ptr< Publisher > PublisherPtr
Definition: TransportTypes.hh:44
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48