Ignore:
Timestamp:
09/25/19 15:29:26 (2 years ago)
Author:
Sanahuja Guillaume
Message:

use less bandwidth in vprnlite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/VrpnClient.cpp

    r309 r330  
    3636       
    3737VrpnClient::VrpnClient(string name,
    38                        string address, uint8_t priority)
     38                       string address, uint8_t priority,ConnectionType_t connectionType)
    3939    : Thread(getFrameworkManager(), name, priority) {
    4040        if (singleton != NULL) {
     
    4545  }
    4646 
    47   pimpl_ = new VrpnClient_impl(this, name, address);
     47  pimpl_ = new VrpnClient_impl(this, name, address,connectionType);
    4848}
    4949
    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              
    6450VrpnClient::VrpnClient(string name,
    6551                       SerialPort *serialport, uint16_t us_period,
Note: See TracChangeset for help on using the changeset viewer.