North State Framework in C#
V3.0.0
An object-oriented framework for implementing UML state machines.
|
Represents the base class functionality for implementing a timer action. More...
Public Member Functions | |
bool | isScheduled () |
Checks if the action is already scheduled. More... | |
void | schedule () |
Schedules the action to execute at the previously designated delay and repeat times. More... | |
void | schedule (NSFTime delayTime) |
Schedules the action to execute after the specified delay time with zero repeat time. More... | |
void | schedule (NSFTime delayTime, NSFTime repeatTime) |
Schedules the action to execute at the specified times. More... | |
void | scheduleAbsoluteExecution () |
Schedules the action to execute at its designated execution time. More... | |
void | scheduleAbsoluteExecution (NSFTime executionTime) |
Schedules the action to execute at the specified execution time. More... | |
void | scheduleAbsoluteExecution (NSFTime executionTime, NSFTime repeatTime) |
Schedules the action to execute at the specified execution time. More... | |
void | unschedule () |
Unschedules the action. More... | |
Protected Member Functions | |
NSFTimerAction (NSFString name) | |
Creates a timer action. More... | |
Properties | |
NSFTime | DelayTime [get, set] |
Gets or sets the delay time of the action. More... | |
NSFTime | ExecutionTime [get, set] |
Gets or sets the execution time of the action. More... | |
NSFString | Name [get, set] |
Gets or sets the name of the action. More... | |
NSFTime | RepeatTime [get, set] |
Gets or sets the repeat time for periodic actions, 0 if non-periodic. More... | |
Properties inherited from INSFNamedObject | |
NSFString | Name [get] |
Gets the name of the object. More... | |
Represents the base class functionality for implementing a timer action.
Timer actions must be short in duration and must not block, as they are called directly from the timer thread. Concrete timer actions in the framework are NSFEvent, NSFScheduledAction, and NSFOSSignal.
|
protected |
Creates a timer action.
bool isScheduled | ( | ) |
Checks if the action is already scheduled.
void schedule | ( | ) |
Schedules the action to execute at the previously designated delay and repeat times.
void schedule | ( | NSFTime | delayTime | ) |
Schedules the action to execute after the specified delay time with zero repeat time.
delayTime | The delay time until the action executes. |
void schedule | ( | NSFTime | delayTime, |
NSFTime | repeatTime | ||
) |
Schedules the action to execute at the specified times.
delayTime | The delay time until the action executes. |
repeatTime | The repeat time for periodic actions, 0 if non-periodic. |
void scheduleAbsoluteExecution | ( | ) |
Schedules the action to execute at its designated execution time.
void scheduleAbsoluteExecution | ( | NSFTime | executionTime | ) |
Schedules the action to execute at the specified execution time.
executionTime | The time the action executes. |
void scheduleAbsoluteExecution | ( | NSFTime | executionTime, |
NSFTime | repeatTime | ||
) |
Schedules the action to execute at the specified execution time.
executionTime | The time the action executes. |
repeatTime | The repeat time for periodic actions, 0 if non-periodic. |
void unschedule | ( | ) |
Unschedules the action.
|
getset |
Gets or sets the delay time of the action.
|
getset |
Gets or sets the execution time of the action.
|
getset |
Gets or sets the name of the action.
|
getset |
Gets or sets the repeat time for periodic actions, 0 if non-periodic.