.

Dependents:  

Embed: (wiki syntax)

« Back to documentation index

Signal Class Reference

Signal Class Reference

This class manages the handling of unique signal flags to trigger rtos threads. More...

#include <Signal.h>

Public Member Functions

 Signal ()
 Creates a signal object and assignes a unique flag.
virtual ~Signal ()
 Deletes the signal object and releases the assigned flag.
virtual int32_t read ()
 Gets the assigned signal flag.
 operator int32_t ()
 The empty operator is a shorthand notation of the read() method.

Detailed Description

This class manages the handling of unique signal flags to trigger rtos threads.

Definition at line 17 of file Signal.h.


Constructor & Destructor Documentation

Signal (  )

Creates a signal object and assignes a unique flag.

Definition at line 16 of file Signal.cpp.

~Signal (  ) [virtual]

Deletes the signal object and releases the assigned flag.

Definition at line 30 of file Signal.cpp.


Member Function Documentation

operator int32_t (  )

The empty operator is a shorthand notation of the read() method.

Definition at line 50 of file Signal.cpp.

int32_t read (  ) [virtual]

Gets the assigned signal flag.

Definition at line 42 of file Signal.cpp.