|
|
| Macro (Libmacro *context=nullptr, bool blocking=false, bool sticky=false, unsigned int threadMax=1, bool enable=false) |
| |
|
| Macro (const Macro ©tron) |
| |
|
Macro & | operator= (const Macro ©tron) |
| |
|
bool | operator() () |
| |
|
void | callProperty (propertyChanged propertyFn) |
| |
|
virtual void | objectChanged () |
| |
|
Libmacro & | context () const |
| |
|
bool | blocking () const |
| |
|
void | setBlocking (bool val) |
| |
|
bool | enabled () const |
| |
|
void | setEnabled (bool val) |
| |
|
Interrupt | interruptor () const |
| |
|
void | setInterruptor (Interrupt val) |
| |
|
const char * | name () const |
| |
|
void | setName (const char *val) |
| |
|
bool | sticky () const |
| |
|
void | setSticky (bool val) |
| |
|
unsigned int | threadMax () const |
| |
|
void | setThreadMax (unsigned int val) |
| |
|
void | setActivators (const Signal *array, size_t count) |
| |
| template<class T > |
| void | setActivators (const T &vals) |
| |
|
void | clearActivators () |
| |
| void | setSignals (const Signal *array, size_t count) |
| |
| template<class T > |
| void | setSignals (const T &vals) |
| |
|
void | clearSignals () |
| |
|
void | setTriggers (const Trigger *array, size_t count) |
| |
| template<class T > |
| void | setTriggers (const T &vals) |
| |
|
void | clearTriggers () |
| |
|
int | threadCount () const |
| |
|
unsigned | queued () const |
| |
|
void | clearAll () |
| |
|
virtual void | start () |
| | Create a thread and call run.
|
| |
|
virtual void | run () |
| | To be run inside separate thread. Call start to run this function.
|
| |
|
bool | running () |
| |
|
virtual void | copy (const Macro ©tron) |
| |
|
void | triggerMe (mcr_Trigger *trigPt) |
| |
|
void | triggerMe (mcr_Trigger &trigger) |
| |
| void | applyDispatch () |
| |
| void | addDispatch () |
| |
| void | removeDispatch () |
| |
|
void | addDispatch (Signal &sigPt) |
| | Dispatch specific signal to this Macro as receiver.
|
| |
|
void | addDispatch (Trigger &trigPt) |
| | Dispatch any signal to a trigger as receiver.
|
| |
|
void | addDispatch (Signal &sigPt, Trigger &trigPt) |
| | Dispatch specific signal to a trigger as receiver.
|
| |
All set and threaded run functions may throw std::logic_error
Virtual functions: objectChanged, start, clearAll, copy
Has a mutex locking interruptor, enabled, activators, and triggers, which are all mutually exclusive.
Definition at line 38 of file macro.h.