|
RSeries astromech firmware
|
|
Go to the documentation of this file. 1 #ifndef AnimatedEvent_h
2 #define AnimatedEvent_h
31 (*tail())->fNext =
this;
43 for (
AnimatedEvent* evt = *head(); evt != NULL; evt = evt->fNext)
52 #if defined(USE_SMQ) && !defined(USE_SMQ32)
53 static bool sSMQReentrancy;
56 sSMQReentrancy =
true;
58 sSMQReentrancy =
false;
61 if ((*loopProc) != NULL)
71 *loopDoneProc() = loopProc;
static void process()
Definition: ReelTwoSMQ.h:74
Base class for all animated devices. AnimatedEvent::animate() is called for each device once through ...
Definition: AnimatedEvent.h:18
void(* AnimatedLoopDone)()
Definition: AnimatedEvent.h:6
AnimatedEvent()
Default Constructor.
Definition: AnimatedEvent.h:25
static void process()
Calls animate() for each created AnimatedEvent subclass.
Definition: AnimatedEvent.h:38
virtual void animate()=0
Subclasses must implement this function to run through a single frame of animation/activity.
void setLoopDoneCallback(AnimatedLoopDone loopProc)
Definition: AnimatedEvent.h:69