nl:: Weave:: DeviceLayer:: Internal:: GenericPlatformManagerImpl_FreeRTOS
#include <src/adaptations/device-layer/include/Weave/DeviceLayer/FreeRTOS/GenericPlatformManagerImpl_FreeRTOS.h>
提供适用于 FreeRTOS 平台的 PlatformManager 功能的通用实现。
摘要
此模板包含 PlatformManager 抽象接口中适用于基于 FreeRTOS 的平台的部分功能的实现。旨在由 PlatformManagerImpl 类(也作为模板的 ImplClass 参数)直接或间接继承。
继承
沿用自: nl::Weave::DeviceLayer::Internal::GenericPlatformManagerImpl<实现类 >
受保护的属性 |
|
---|---|
mEventLoopTask
|
TaskHandle_t
|
mNextTimerBaseTime
|
TimeOut_t
|
mNextTimerDurationTicks
|
TickType_t
|
mWeaveEventQueue
|
QueueHandle_t
|
mWeaveStackLock
|
SemaphoreHandle_t
|
mWeaveTimerActive
|
bool
|
受保护的函数 |
|
---|---|
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
|
受保护的属性
mEventLoopTask
TaskHandle_t mEventLoopTask
mNextTimerBaseTime
TimeOut_t mNextTimerBaseTime
mNextTimerDurationTicks
TickType_t mNextTimerDurationTicks
mWeaveEventQueue
QueueHandle_t mWeaveEventQueue
mWeaveStackLock
SemaphoreHandle_t mWeaveStackLock
mWeaveTimerActive
bool mWeaveTimerActive
受保护的函数
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 )