It defines a time event that occurs at a specific duration.
#define SYNC_TIME RKH_TIME_MS(100)
...
...
void
powerOn(ActiveObject *const me)
{
NULL);
SYNC_TIME);
}
#define RKH_UPCAST(BaseType_, me_)
Convert a pointer to a base-class.
#define RKH_SET_STATIC_EVENT(ev_obj, ev_sig)
This macro initialize an event e with es signal and establishes it as one static event.
#define RKH_TMR_INIT(t_, e_, th_)
Initializes the previously allocated timer structure RKH_TMR_T.
#define RKH_TMR_ONESHOT(t, sma, itick)
Start a timer as one-shot timer.
Represents events without parameters.
Describes the SMA (active object in UML).
It defines a time event that occurs at a specific duration.
The 'tmSync' should be used like a transition's trigger to support the UML's time event 'after
SYNC_TIME'
:
#define RKH_CREATE_BASIC_STATE(name, en, ex, parent, prepro)
This macro creates a basic state.
#define RKH_CREATE_TRANS_TABLE(name)
This macro creates a state transition table.
#define RKH_END_TRANS_TABLE
This macro is used to terminate a state transition table. This table have the general structure shown...
#define RKH_TRREG(evt_, guard_, effect_, target_)
This macro defines a regular state transition.
#define RKH_ROOT
This macro indicates the root state of a state machine.
Definition at line 408 of file rkhtmr.h.