|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Per-signal bookkeeping for PsySpace signal distribution. More...
#include <PsySpace.h>
Public Attributes | |
| DataMessage * | lastSignalMsg |
| Most recently emitted message for this signal type (owned by the space). | |
| utils::Event | event |
| Signalled whenever a new message arrives; wakes waiters. | |
| utils::Mutex | mutex |
| Protects lastSignalMsg. | |
Per-signal bookkeeping for PsySpace signal distribution.
One SignalStruct exists per signal PsyType that has listeners in this space. Holds the most recent signal message plus the event/mutex pair used to wake waiters in PsySpace::waitForSignal().
Definition at line 130 of file PsySpace.h.
| utils::Event cmlabs::SignalStruct::event |
Signalled whenever a new message arrives; wakes waiters.
Definition at line 132 of file PsySpace.h.
Referenced by cmlabs::PsySpace::emitSignal(), and cmlabs::PsySpace::waitForSignal().
| DataMessage* cmlabs::SignalStruct::lastSignalMsg |
Most recently emitted message for this signal type (owned by the space).
Definition at line 131 of file PsySpace.h.
Referenced by cmlabs::PsySpace::emitSignal(), and cmlabs::PsySpace::waitForSignal().
| utils::Mutex cmlabs::SignalStruct::mutex |
Protects lastSignalMsg.
Definition at line 133 of file PsySpace.h.
Referenced by cmlabs::PsySpace::emitSignal(), and cmlabs::PsySpace::waitForSignal().