iSpike
2.1
Spike conversion library for robotics
|
00001 #ifndef YARPPORTDETAILS_HPP_ 00002 #define YARPPORTDETAILS_HPP_ 00003 00004 #include <string> 00005 using namespace std; 00006 00007 namespace ispike { 00008 00010 class YarpPortDetails { 00011 public: 00012 YarpPortDetails(); 00013 YarpPortDetails(string ip, unsigned port, string type); 00014 YarpPortDetails(const YarpPortDetails& ypd); 00015 YarpPortDetails& operator=(const YarpPortDetails& rhs); 00016 string getIp(){ return ip; } 00017 unsigned getPort() { return port; } 00018 string getType() { return type; } 00019 void setIp(string ip) { this->ip = ip;} 00020 void setPort(unsigned port) { this->port = port; } 00021 void setType(string type) { this->type = type; } 00022 00023 private: 00024 string ip; 00025 unsigned port; 00026 string type; 00027 00028 }; 00029 00030 } 00031 00032 #endif /* YARPPORTDETAILS_HPP_ */