|
template<size_t N> |
| Listener (const uint32_t(&stack)[N]) |
|
void | run () |
| Invoked in the new cog, this method should be the root of the business logic.
|
|
void | init () |
|
|
template<class T > |
static int8_t | invoke (T &runnable) |
| Start a new cog running the given object. More...
|
|
- Examples
- UARTRX_Demo.cpp.
Definition at line 50 of file UARTRX_Demo.cpp.
◆ invoke()
template<class T >
static int8_t PropWare::Runnable::invoke |
( |
T & |
runnable | ) |
|
|
staticinherited |
Start a new cog running the given object.
- Parameters
-
[in] | runnable | Object that should be invoked in a new cog |
- Returns
- If the cog was successfully started, the new cog ID is returned. Otherwise, -1 is returned
Definition at line 85 of file runnable.h.
The documentation for this class was generated from the following file: