25 #ifndef INCLUDED_RemoteHandlerInternals_h_GUID_20139712_D173_4D91_A995_2552DF68354A 26 #define INCLUDED_RemoteHandlerInternals_h_GUID_20139712_D173_4D91_A995_2552DF68354A 48 : m_interfaces(ifaces) {}
54 template <
typename ReportType>
56 ReportType
const &report) {
59 "Should only call a state setter if we're keeping state for " 73 for (
auto &iface : m_interfaces) {
82 common::InterfaceList &m_interfaces;
86 #endif // INCLUDED_RemoteHandlerInternals_h_GUID_20139712_D173_4D91_A995_2552DF68354A
shared_ptr< ClientInterface > ClientInterfacePtr
Pointer for holding ClientInterface objects safely.
Definition: ClientInterfacePtr.h:43
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
void forEachInterface(F &&f)
Do something with every client interface object, if the above options don't suit your needs...
Definition: RemoteHandlerInternals.h:71
Type predicate: Whether callbacks of a report type should store state for that type.
Definition: ReportStateTraits.h:42
void triggerCallbacks(const OSVR_TimeValue ×tamp, ReportType const &report)
Trigger all callbacks for the given known report type.
Definition: ClientInterface.h:111
void setStateAndTriggerCallbacks(const OSVR_TimeValue ×tamp, ReportType const &report)
Set state and call callbacks for a report type.
Definition: RemoteHandlerInternals.h:55
RemoteHandlerInternals(common::InterfaceList &ifaces)
Construct with a reference to an interface list.
Definition: RemoteHandlerInternals.h:47
Standardized, portable parallel to struct timeval for representing both absolute times and time inter...
Definition: TimeValueC.h:81
Definition: ClientInterface.h:49
Class holding shared implementation between the various handlers.
Definition: RemoteHandlerInternals.h:44
void setState(const OSVR_TimeValue ×tamp, ReportType const &report)
Set saved state for a report type.
Definition: ClientInterface.h:90