Changeset 330 in flair-src for trunk/lib/FlairSensorActuator/src/VrpnClient.cpp
- Timestamp:
- 09/25/19 15:29:26 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/VrpnClient.cpp
r309 r330 36 36 37 37 VrpnClient::VrpnClient(string name, 38 string address, uint8_t priority )38 string address, uint8_t priority,ConnectionType_t connectionType) 39 39 : Thread(getFrameworkManager(), name, priority) { 40 40 if (singleton != NULL) { … … 45 45 } 46 46 47 pimpl_ = new VrpnClient_impl(this, name, address );47 pimpl_ = new VrpnClient_impl(this, name, address,connectionType); 48 48 } 49 49 50 51 VrpnClient::VrpnClient(std::string name,52 uint16_t port, uint8_t priority)53 : Thread(getFrameworkManager(), name, priority) {54 if (singleton != NULL) {55 SimpleWarn("VrpnClient should be instanced only one time!\n");56 SimpleWarn("Next calls to GetVrpnClient() will return the first created VrpnClient (%s)\n",singleton->ObjectName().c_str());57 } else {58 singleton = this;59 }60 61 pimpl_ = new VrpnClient_impl(this, name, port);62 }63 64 50 VrpnClient::VrpnClient(string name, 65 51 SerialPort *serialport, uint16_t us_period,
Note:
See TracChangeset
for help on using the changeset viewer.