CmdMessenger  3.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
Classes | Public Member Functions | Properties
CommandMessenger.TimedAction Class Reference

Starts a recurring action with fixed interval If still running at next call, the action is skipped. More...

List of all members.

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.

Detailed Description

Starts a recurring action with fixed interval If still running at next call, the action is skipped.


Constructor & Destructor Documentation

CommandMessenger.TimedAction.TimedAction ( double  interval,
Action  action 
)

Constructor.

Parameters:
intervalThe execution interval.
actionThe action to execute.

Member Function Documentation

Start timed actions.

Stop timed actions.

Stop timed actions and wait until running function has finished.


Property Documentation

Returns whether this object is running.

true if this object is running, false if not.


The documentation for this class was generated from the following file: