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.h

    r309 r330  
    4242
    4343public:
     44  typedef enum { Vrpn, VrpnLite, Xbee } ConnectionType_t;
     45
    4446  /*!
    4547  * \brief Constructor
    4648  *
    47   * Construct a VrpnClient. Connection is done by IP to a vrpn server.
     49  * Construct a VrpnClient. Connection is done by IP to a vrpn server or vrpnlite server (see tools/VrpnLite in flair-src)
    4850  *
    4951  * \param name name
    5052  * \param address server address
    5153  * \param priority priority of the Thread
     54  * \param connection connection type: Vrpn or VrpnLite
    5255  */
    5356  VrpnClient(std::string name,
    54              std::string address,  uint8_t priority);
    55 
    56   /*!
    57   * \brief Constructor
    58   *
    59   * Construct a VrpnClient. Connection is done by IP to a vrpn-lite server (see tools/VrpnLite in flair-src)
    60   *
    61   * \param name name
    62   * \param port server port
    63   * \param priority priority of the Thread
    64   */
    65   VrpnClient(std::string name,
    66              uint16_t port,  uint8_t priority);
     57             std::string address,  uint8_t priority,ConnectionType_t connectionType=Vrpn);
    6758             
    6859  /*!
     
    10091  gui::TabWidget *GetTabWidget(void) const;
    10192 
    102   typedef enum { Vrpn, VrpnLite, Xbee } ConnectionType_t;
    103  
    10493  ConnectionType_t ConnectionType(void) const;
    10594
Note: See TracChangeset for help on using the changeset viewer.