nl:: Weave:: DeviceLayer:: Internal:: GenericPlatformManagerImpl_FreeRTOS
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/FreeRTOS/GenericPlatformManagerImpl_FreeRTOS.h>
Fornece uma implementação genérica dos recursos do PlatformManager que funciona em plataformas FreeRTOS.
Resumo
Este modelo contém implementações de alguns recursos da interface abstrata do PlatformManager adequadas para uso em plataformas baseadas em FreeRTOS. Ele se destina a ser herdada (direta ou indiretamente) pela classe PlatformManagerImpl, que também aparece como o parâmetro ImplClass do modelo.
Herança
Herda de: nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl< ImplClass >
Atributos protegidos |
|
---|---|
mEventLoopTask
|
TaskHandle_t
|
mNextTimerBaseTime
|
TimeOut_t
|
mNextTimerDurationTicks
|
TickType_t
|
mWeaveEventQueue
|
QueueHandle_t
|
mWeaveStackLock
|
SemaphoreHandle_t
|
mWeaveTimerActive
|
bool
|
Funções protegidas |
|
---|---|
PostEventFromISR(const WeaveDeviceEvent *event, BaseType_t & yieldRequired)
|
void
|
_InitWeaveStack()
|
|
_LockWeaveStack(void)
|
void
|
_PostEvent(const WeaveDeviceEvent *event)
|
void
|
_RunEventLoop(void)
|
void
|
_StartEventLoopTask(void)
|
|
_StartWeaveTimer(uint32_t durationMS)
|
|
_TryLockWeaveStack(void)
|
bool
|
_UnlockWeaveStack(void)
|
void
|
Atributos protegidos
mEventLoopTask
TaskHandle_t mEventLoopTask
mNextTimerBaseTime
TimeOut_t mNextTimerBaseTime
mNextTimerDurationTicks
TickType_t mNextTimerDurationTicks
mWeaveEventQueue
QueueHandle_t mWeaveEventQueue
mWeaveStackLock
SemaphoreHandle_t mWeaveStackLock
mWeaveTimerActive
bool mWeaveTimerActive
Funções protegidas
PostEventFromISR
void PostEventFromISR( const WeaveDeviceEvent *event, BaseType_t & yieldRequired )
_InitWeaveStack
WEAVE_ERROR _InitWeaveStack()
_LockWeaveStack
void _LockWeaveStack( void )
_PostEvent
void _PostEvent( const WeaveDeviceEvent *event )
_RunEventLoop
void _RunEventLoop( void )
_StartEventLoopTask
WEAVE_ERROR _StartEventLoopTask( void )
_StartWeaveTimer
WEAVE_ERROR _StartWeaveTimer( uint32_t durationMS )
_TryLockWeaveStack
bool _TryLockWeaveStack( void )
_UnlockWeaveStack
void _UnlockWeaveStack( void )