|
gramods
|
Buttons tracker reading data off a VRPN server. More...
#include <VrpnButtonsTracker.hh>
Classes | |
| struct | Impl |
Public Member Functions | |
| void | update (gmCore::Updateable::clock::time_point time, size_t frame) override |
| Updates the animation. More... | |
| void | setConnectionString (std::string id) |
| The address to the button tracker at the VRPN server, such as "tracker@localhost". More... | |
| bool | getButtons (ButtonsSample &p) override |
| Replaces the contents of p with button data. More... | |
Public Member Functions inherited from gramods::gmTrack::ButtonsTracker | |
| virtual std::string | getDefaultKey () override |
| Returns the default key, in Configuration, for the Object. More... | |
Public Member Functions inherited from gramods::gmCore::Object | |
| Object () | |
| Initializes internal data. More... | |
| virtual | ~Object () |
| Cleaning up internal data. More... | |
| virtual void | initialize () |
| Called to initialize the Object. More... | |
| virtual void | accept (Visitor *visitor) |
| Calls the visitors apply method with this as argument. More... | |
| virtual void | traverse (Visitor *visitor) |
| Calls the child Object's accept method, if such exist. More... | |
| bool | isInitialized () |
| Returns true if the Object is initialized. More... | |
Public Member Functions inherited from gramods::gmCore::Updateable | |
| Updateable (int priority=0) | |
| Configures the Updateable properties to the specified priority. More... | |
| virtual void | update (clock::time_point t, size_t frame)=0 |
| Called by updateAll to make the object up-to-date. More... | |
Static Public Attributes | |
| static gramods::gmCore::OFactory::OFactoryInformation | _gm_ofi |
Additional Inherited Members | |
Public Types inherited from gramods::gmTrack::ButtonsTracker | |
| typedef std::chrono::steady_clock | clock |
Public Types inherited from gramods::gmCore::Updateable | |
| typedef std::chrono::steady_clock | clock |
Static Public Member Functions inherited from gramods::gmCore::Updateable | |
| static void | updateAll (clock::time_point t=clock::now(), std::optional< size_t > frame=std::nullopt) |
| Updates all currently instanciated updateable objects. More... | |
Buttons tracker reading data off a VRPN server.
This class configures as an Updateable with a priority of
|
overridevirtual |
Replaces the contents of p with button data.
Implements gramods::gmTrack::ButtonsTracker.
| void gramods::gmTrack::VrpnButtonsTracker::setConnectionString | ( | std::string | id | ) |
The address to the button tracker at the VRPN server, such as "tracker@localhost".
XML-attribute: connectionString
|
override |
Updates the animation.