Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LSM9DS1 RangeFinder FastPWM
Dependents: PM2_Example_PES_board PM2_Example_PES_board PM2_Example_PES_board PM2_Example_PES_board ... more
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.
Generated on Tue Jul 12 2022 21:20:55 by
1.7.2
