class Layer

Defined at line 137 of file x64-shared/gen/third_party/openweave-core/src/include/SystemLayer/SystemLayer.h

This provides access to timers according to the configured event handling model.

For

event readiness notification is handled via traditional poll/select implementation on

the platform adaptation.

For

event readiness notification is handle via events / messages and platform- and

system-specific hooks for the event/message system.

Public Methods

void Layer ()
Error Init (void * aContext)
Error Shutdown ()
void * GetPlatformData ()
void SetPlatformData (void * aPlatformData)
LayerState State ()

This returns the current state of the layer object.

Defined at line 233 of file x64-shared/gen/third_party/openweave-core/src/include/SystemLayer/SystemLayer.h

Error NewTimer (Timer *& aTimerPtr)
Error StartTimer (uint32_t aMilliseconds, TimerCompleteFunct aComplete, void * aAppState)
void CancelTimer (TimerCompleteFunct aOnComplete, void * aAppState)
Error ScheduleWork (TimerCompleteFunct aComplete, void * aAppState)
void PrepareSelect (int & aSetSize, fd_set * aReadSet, fd_set * aWriteSet, fd_set * aExceptionSet, struct timeval & aSleepTime)
void HandleSelectResult (int aSetSize, fd_set * aReadSet, fd_set * aWriteSet, fd_set * aExceptionSet)
void WakeSelect ()
uint64_t GetClock_Monotonic ()
uint64_t GetClock_MonotonicMS ()
uint64_t GetClock_MonotonicHiRes ()
Error GetClock_RealTime (uint64_t & curTime)
Error GetClock_RealTimeMS (uint64_t & curTimeMS)
Error SetClock_RealTime (uint64_t newCurTime)

Friends

class Timer