00001 #ifndef NAOQI_NODE_H 00002 #define NAOQI_NODE_H 00003 00004 #include <string> 00005 #include <alcommon/albroker.h> 00006 00007 class NaoqiNode 00008 { 00009 public: 00010 NaoqiNode(int argc, char ** argv); 00011 ~NaoqiNode(); 00012 bool connectNaoQi(); 00013 bool connectLocalNaoQi(); 00014 void parse_command_line(int argc, char ** argv); 00015 protected: 00016 std::string m_pip; 00017 std::string m_ip; 00018 int m_port; 00019 int m_pport; 00020 std::string m_brokerName; 00021 boost::shared_ptr<AL::ALBroker> m_broker; 00022 00023 00024 }; 00025 00026 #endif