Michael Ernst Peter / Mbed OS Test_GPS

Dependencies:   Eigen

Embed: (wiki syntax)

« Back to documentation index

ThreadFlag Class Reference

ThreadFlag Class Reference

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

#include <ThreadFlag.h>

Public Member Functions

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

Detailed Description

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

Definition at line 16 of file ThreadFlag.h.


Constructor & Destructor Documentation

ThreadFlag (  )

Creates a signal object and assignes a unique flag.

Definition at line 16 of file ThreadFlag.cpp.

~ThreadFlag (  ) [virtual]

Deletes the signal object and releases the assigned flag.

Definition at line 30 of file ThreadFlag.cpp.


Member Function Documentation

operator unsigned int (  )

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

Definition at line 50 of file ThreadFlag.cpp.

unsigned int read (  ) [virtual]

Gets the assigned thread flag.

Definition at line 42 of file ThreadFlag.cpp.