nl::Weave::Profiles::DataManagement_Current::NotificationEngine

Resumen

Tipos públicos

NotifyRequestBuilderState{
  kNotifyRequestBuilder_Idle = 0,
  kNotifyRequestBuilder_Ready,
  kNotifyRequestBuilder_BuildDataList,
  kNotifyRequestBuilder_BuildEventList
}
enum

Funciones públicas

DeleteKey(TraitDataSource *aDataSource, PropertyPathHandle aPropertyHandle)
Init(void)
Inicializa el motor.
Run(void)
void
Función principal que ejecuta el bucle de ejecución.
ScheduleRun(void)
void
Es una función principal que ejecuta el bucle de ejecución de forma asíncrona en el subproceso de Weave.
SetDirty(TraitDataSource *aDataSource, PropertyPathHandle aPropertyHandle)
Marca un handle asociado a una fuente de datos como sucio.

Clases

nl::Weave::Profiles::DataManagement_Current::NotificationEngine::BasicGraphSolver
nl::Weave::Profiles::DataManagement_Current::NotificationEngine::IntermediateGraphSolver
nl::Weave::Profiles::DataManagement_Current::NotificationEngine::NotifyRequestBuilder

Esto proporciona una clase auxiliar para redactar notificaciones y abstraer la construcción y estructura del mensaje a los consumidores.

Tipos públicos

NotifyRequestBuilderState

 NotifyRequestBuilderState
Propiedades
kNotifyRequestBuilder_BuildDataList

La solicitud compila la parte de DataList de la estructura.

kNotifyRequestBuilder_BuildEventList

La solicitud compila la sección EventList de la estructura.

kNotifyRequestBuilder_Idle

La solicitud no se abrió o se cerró y finalizó.

kNotifyRequestBuilder_Ready

Se inicializó la solicitud y está lista para cualquier elemento opcional de nivel superior.

Funciones públicas

DeleteKey

WEAVE_ERROR DeleteKey(
  TraitDataSource *aDataSource,
  PropertyPathHandle aPropertyHandle
)

Init

WEAVE_ERROR Init(
  void
)

Inicializa el motor.

Solo se debe llamar una vez.

Detalles
Valores que se muestran
WEAVE_NO_ERROR
Si la operación es exitosa.
other
No se pudieron recuperar los datos ni escribirlos en el escritor.

Ejecutar

void Run(
  void
)

Función principal que ejecuta el bucle de ejecución.

ScheduleRun

void ScheduleRun(
  void
)

Es una función principal que ejecuta el bucle de ejecución de forma asíncrona en el subproceso de Weave.

SetDirty

WEAVE_ERROR SetDirty(
  TraitDataSource *aDataSource,
  PropertyPathHandle aPropertyHandle
)

Marca un handle asociado a una fuente de datos como sucio.

Detalles
Valores que se muestran
WEAVE_NO_ERROR
Si la operación es exitosa.
other
No se pudieron recuperar los datos ni escribirlos en el escritor.