Changeset 122 in flair-src for trunk/lib/FlairSensorActuator/src/VrpnClient.h
- Timestamp:
- Jan 6, 2017, 1:56:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/VrpnClient.h
r15 r122 18 18 19 19 namespace flair { 20 namespace core { 21 class FrameworkManager; 22 class SerialPort; 23 } 24 namespace gui { 25 class TabWidget; 26 class Layout; 27 } 20 namespace core { 21 class SerialPort; 22 } 23 namespace gui { 24 class TabWidget; 25 class Layout; 26 } 28 27 } 29 28 … … 35 34 /*! \class VrpnClient 36 35 * 37 * \brief Class to connect to a Vrpn server 36 * \brief Class to connect to a Vrpn server. The Thread is created with 37 * the FrameworkManager as parent. FrameworkManager must be created before. 38 * Only one instance of this class is allowed by program. 38 39 */ 39 40 class VrpnClient : public core::Thread { … … 46 47 * Construct a VrpnClient. Connection is done by IP. 47 48 * 48 * \param parent parent49 49 * \param name name 50 50 * \param address server address … … 52 52 * \param priority priority of the Thread 53 53 */ 54 VrpnClient( const core::FrameworkManager *parent,std::string name,54 VrpnClient(std::string name, 55 55 std::string address, uint16_t us_period, uint8_t priority); 56 56 … … 60 60 * Construct a VrpnClient. Connection is done by XBee modem. 61 61 * 62 * \param parent parent63 62 * \param name name 64 63 * \param serialport SerialPort for XBee modem … … 66 65 * \param priority priority of the Thread 67 66 */ 68 VrpnClient( const core::FrameworkManager *parent,std::string name,67 VrpnClient(std::string name, 69 68 core::SerialPort *serialport, uint16_t us_period, 70 69 uint8_t priority); … … 108 107 class VrpnClient_impl *pimpl_; 109 108 }; 109 110 /*! 111 * \brief get VrpnClient 112 * 113 * \return the VrpnClient 114 */ 115 VrpnClient *GetVrpnClient(void); 116 110 117 } // end namespace sensor 111 118 } // end namespace flair
Note:
See TracChangeset
for help on using the changeset viewer.