Bike-X
0.8
|
#include "OVR_DeviceImpl.h"
Public Member Functions | |
MessageHandlerRef (DeviceBase *device) | |
~MessageHandlerRef () | |
bool | HasHandlers () const |
void | AddHandler (MessageHandler *handler) |
bool | RemoveHandler (MessageHandler *handler) |
void | AddHandler_NTS (MessageHandler *handler) |
void | Call (const Message &msg) |
Lock * | GetLock () const |
DeviceBase * | GetDevice () const |
Private Types | |
enum | { MaxHandlersCount = 4 } |
Private Member Functions | |
bool | removeHandler (int idx) |
Private Attributes | |
Lock * | pLock |
DeviceBase * | pDevice |
int | HandlersCount |
MessageHandler * | pHandlers [MaxHandlersCount] |
Definition at line 54 of file OVR_DeviceImpl.h.
|
private |
Enumerator | |
---|---|
MaxHandlersCount |
Definition at line 56 of file OVR_DeviceImpl.h.
OVR::MessageHandlerRef::MessageHandlerRef | ( | DeviceBase * | device | ) |
Definition at line 82 of file OVR_DeviceImpl.cpp.
OVR::MessageHandlerRef::~MessageHandlerRef | ( | ) |
Definition at line 87 of file OVR_DeviceImpl.cpp.
void OVR::MessageHandlerRef::AddHandler | ( | MessageHandler * | handler | ) |
Definition at line 107 of file OVR_DeviceImpl.cpp.
void OVR::MessageHandlerRef::AddHandler_NTS | ( | MessageHandler * | handler | ) |
Definition at line 115 of file OVR_DeviceImpl.cpp.
void OVR::MessageHandlerRef::Call | ( | const Message & | msg | ) |
Definition at line 99 of file OVR_DeviceImpl.cpp.
|
inline |
Definition at line 74 of file OVR_DeviceImpl.h.
|
inline |
Definition at line 73 of file OVR_DeviceImpl.h.
|
inline |
Definition at line 64 of file OVR_DeviceImpl.h.
bool OVR::MessageHandlerRef::RemoveHandler | ( | MessageHandler * | handler | ) |
Definition at line 135 of file OVR_DeviceImpl.cpp.
|
private |
Definition at line 147 of file OVR_DeviceImpl.cpp.
|
private |
Definition at line 80 of file OVR_DeviceImpl.h.
|
private |
Definition at line 78 of file OVR_DeviceImpl.h.
|
private |
Definition at line 81 of file OVR_DeviceImpl.h.
|
private |
Definition at line 77 of file OVR_DeviceImpl.h.