herald  2.0.0
Public Member Functions | List of all members
herald::engine::Coordinator< ContextT > Class Template Reference

Coordinates all connection and activities used across all sensors within Herald. More...

#include <coordinator.h>

Public Member Functions

 Coordinator (ContextT &ctx)
 Default constructor. Receives a configured platform-specific context instance.
 
template<typename SensorT >
void add (SensorT &sensor)
 Introspect and include in iteration planning.
 
template<typename SensorT >
void remove (SensorT &sensor)
 Remove from iteration planning.
 
void start ()
 Prepares for iterations to be called (may pre-emptively make calls)
 
void iteration ()
 Execute an iteration of activity, according to settings.
 
void stop ()
 Closes out any existing connections/activities.
 

Detailed Description

template<typename ContextT>
class herald::engine::Coordinator< ContextT >

Coordinates all connection and activities used across all sensors within Herald.

Responsible for:-

Manages:-

Is managed by:-


The documentation for this class was generated from the following file: