|
| RTTimerActor (RTController *, RTActorRef *) |
|
virtual void | rtsBehavior (int, int) override |
| Defines the state machine behavior for this capsule instance.
|
|
int | anyPending (void) const |
|
int | numPending (void) const |
|
int | nextTimeout (RTTimespec &) |
|
virtual int | designLevel (void) const override |
|
virtual const RTActor_class * | getActorData (void) const override |
| Get information (meta data) about the capsule, such as its name, ports, states etc.
|
|
void | informIn (RTTimerNode *) |
|
void | informAt (RTTimerNode *) |
|
void | informAgain (RTTimerNode *) |
|
void | cancel (RTTimerNode *) |
|
void | cancelAll (Timing::Base *) |
|
void | adjustTimeBegin (void) |
|
void | adjustTimeEnd (const RTTimespec &delta, RTController *originator) |
|
| RTActor (RTController *, RTActorRef *) |
| Constructor.
|
|
int | getIndex (void) const |
| Get the index of this capsule instance in its container capsule part (the capsule part where it was incarnated).
|
|
int | index (void) const |
| Get the index of this capsule instance in its container capsule part (the capsule part where it was incarnated).
|
|
int | getId (void) const |
| Get the numeric id for the capsule part that contains this capsule instance.
|
|
const char * | getName (void) const |
| Get the name of the capsule part that contains this capsule instance.
|
|
RTActorRef * | getReference (void) const |
| Get the capsule part that contains this capsule instance (the capsule part where it was incarnated).
|
|
const RTMessage * | getMsg (void) |
| Get the message which is currently being processed by the capsule instance.
|
|
int | sendCopyToMe (const RTMessage *msg) |
| Make a copy of a message and send it to this capsule instance.
|
|
virtual void | rtsBehavior (int signal, int port)=0 |
| Defines the state machine behavior for this capsule instance.
|
|
virtual void | logMsg (void) |
| This function is called just before a received message is processed by the capsule instance.
|
|
RTController * | context (void) const |
| Get the controller which runs this capsule instance.
|
|
int | isActive (void) const |
| Determines if this capsule instance is currently active, i.e.
|
|
virtual int | designLevel (void) const |
|
const char * | getTypeName (void) const |
| Get the name of the capsule.
|
|
RTVersionId | getVersion (void) const |
|
int | isSameType (const RTActorClass *cap) const |
| Determines if the type of this capsule instance is a particular capsule type.
|
|
int | isType (const char *str) const |
| Performs a lexical comparison between the name of the capsule with a specified string.
|
|
virtual const RTActor_class * | getActorData (void) const =0 |
| Get information (meta data) about the capsule, such as its name, ports, states etc.
|
|
int | getNumStates (void) const |
| Get the number of states in the capsule state machine.
|
|
const char * | getStateString (int s) const |
| Get the name of one of the states in the capsule state machine.
|
|
const char * | getCurrentStateString (void) const |
| Get the name of the currently active state in the capsule state machine.
|
|
int | getCurrentState (void) const |
| Get the numeric id of the currently active state in the capsule state machine.
|
|
int | getHistory (int) const |
| Get the numeric id of the previously active state in the capsule state machine.
|
|
int | _numComponents (void) const |
|
RTActorRef * | _component (int compId) |
|
void | _preinitialize (int _homeIndex, const RTComponentDescriptor *) |
|
int | initMe (const void *data, const RTObject_class *type, RTController *sender) |
|
int | isReferencedBy (const RTActor *) const |
|
virtual const RTActorClass * | defaultClass (RTActorRef &component, int repIndex) |
| Get the default capsule class for a capsule part contained in the capsule instance.
|
|
virtual RTController * | defaultController (RTActorRef &component, int repIndex) |
| Get the default controller for a capsule part contained in the capsule instance.
|
|
void | _incarnateAllFixed (void) |
|
virtual int | _followOutV (RTBindingEnd &end, int compId, int portId, int portIndex) |
|
virtual int | _followInV (RTBindingEnd &end, int portId, int repIndex) |
|
|
void | start (void) |
|
void | stop (void) |
|
void | sendTimeouts (void) |
|
void | saveHistory (void) |
|
void | setCurrentState (int s) |
| Force the state machine of the capsule instance into a particular state.
|
|
virtual void | unhandledMessage (void) |
| This function is called when a message is dispatched to a capsule instance, but it isn't handled by its state machine.
|
|
virtual void | unexpectedMessage (void) |
| This function is called when a message is dispatched to the capsule instance, and when there is no enabled transition in the current state that can be triggered to handle the received message.
|
|
virtual void | messageReceivedBeforeInitialized (void) |
| This function is called if a message is dispatched to the capsule instance, before its initial transition has executed.
|
|
void | unexpectedState (void) |
| This function is called if the TargetRTS detects that the state machine of the capsule instance in in an invalid state (i.e.
|
|
void | rtgChainBegin (int origin, const char *trans) |
| This function is called at the beginning of every generated chain function that corresponds to a transition in the state machine.
|
|
void | rtgTransitionBegin (void) |
| This function is called just before a user-defined transition effect executes.
|
|
void | rtgTransitionEnd (void) |
| This function is called just after a user-defined transition effect has executed.
|
|
void | enterState (int) |
|
virtual void | enterStateV (void) |
|
virtual void | rtgStateEntry (void) |
| This function is called when the state machine of the capsule instance enters a new state.
|
|
void | exitState (const RTStateId parent[]) |
|
virtual void | exitStateV (void) |
|
void | processHistory (void) |
|
void | exitToChainState (int, const RTStateId parent[]) |
|
void | initializeAll (void) |
|
int | removeImport (RTActorRef *, RTController *initiator) |
|
void | removeAllImports (RTController *initiator) |
|
int | _followIn (RTBindingEnd &end, int portId, int repIndex, RTActorRef *importer) |
|
int | _followOut (RTBindingEnd &end, int portId, int repIndex) |
|
void | _unbind (RTActorRef *importer, RTController *initiator) |
|
virtual void | _predestroy (void) |
|
RTController::Error | getError (void) const |
| Get the most recent error that occurred when using the TargetRTS.
|
|