Changeset 448 in flair-src for trunk/tools/VrpnLite/src/VrpnLite.h


Ignore:
Timestamp:
Sep 20, 2021, 5:16:50 PM (3 months ago)
Author:
Sanahuja Guillaume
Message:

handle ack in vrpnlite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/VrpnLite/src/VrpnLite.h

    r446 r448  
    3737
    3838private:
     39      typedef struct {
     40          std::vector<flair::sensor::VrpnObject*> vrpnobjects;
     41          flair::core::Time lastAck;
     42          uint16_t srcId;
     43        } connection_t;
    3944      flair::gui::PushButton* killButton;
     45      flair::sensor::VrpnClient* vrpnclient;
     46      std::vector<connection_t> connections;
     47      flair::core::UdpSocket* dataSocket;
    4048      void Run(void);
    41       flair::sensor::VrpnClient* vrpnclient;
    42       std::vector<flair::sensor::VrpnObject*> vrpnobjects;
    43       std::vector<std::vector<flair::sensor::VrpnObject*>> vrpnobjects_list;
    44       flair::core::UdpSocket* dataSocket;
    45       void SendObjects(void) const;
     49      void SendObjects(void) ;
    4650      int16_t ConvertPosition(float value) const;
    4751      int16_t ConvertQuaternion(float value) const;
     52      connection_t* ConnectionOfSrcId(uint16_t srcId); 
    4853};
    4954
Note: See TracChangeset for help on using the changeset viewer.