CmdMessenger
3.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
|
Starts a recurring action with fixed interval If still running at next call, the action is skipped. More...
Classes | |
class | ThreadState |
Thread state. | |
Public Member Functions | |
TimedAction (double interval, Action action) | |
Constructor. | |
void | Start () |
Start timed actions. | |
void | Stop () |
Stop timed actions. | |
void | StopAndWait () |
Stop timed actions and wait until running function has finished. | |
Properties | |
bool | IsRunning [get] |
Returns whether this object is running. |
Starts a recurring action with fixed interval If still running at next call, the action is skipped.
CommandMessenger.TimedAction.TimedAction | ( | double | interval, |
Action | action | ||
) |
Constructor.
interval | The execution interval. |
action | The action to execute. |
void CommandMessenger.TimedAction.Start | ( | ) |
Start timed actions.
void CommandMessenger.TimedAction.Stop | ( | ) |
Stop timed actions.
Stop timed actions and wait until running function has finished.
bool CommandMessenger.TimedAction.IsRunning [get] |
Returns whether this object is running.
true if this object is running, false if not.