OSVR-Core
|
Class holding shared implementation between the various handlers. More...
#include <RemoteHandlerInternals.h>
Public Member Functions | |
RemoteHandlerInternals (common::InterfaceList &ifaces) | |
Construct with a reference to an interface list. | |
RemoteHandlerInternals & | operator= (RemoteHandlerInternals &)=delete |
template<typename ReportType > | |
void | setStateAndTriggerCallbacks (const OSVR_TimeValue ×tamp, ReportType const &report) |
Set state and call callbacks for a report type. | |
template<typename F > | |
void | forEachInterface (F &&f) |
Do something with every client interface object, if the above options don't suit your needs. More... | |
Class holding shared implementation between the various handlers.
Primarily used to avoid the need for loops and move the point of transfer for the reports out of the individual handlers to have fewer places to change if (when) that implementation detail is altered.
|
inline |
Do something with every client interface object, if the above options don't suit your needs.