Aruna
reporter.h
Go to the documentation of this file.
1 //
2 // Created by noeel on 15-04-20.
3 //
4 
5 #ifndef ARUNA_REPORTER_H
6 #define ARUNA_REPORTER_H
7 
8 #include "aruna/arunaTypes.h"
9 #include "aruna/sis/sisTypes.h"
10 #include "aruna/comm/commTypes.h"
11 namespace aruna {
12  namespace sis {
13  namespace reporter {
14 // managers all the perfromers and report to watcher
15  const static comm::port_t port = 1;
20  err_t start();
21 
26  void alert(status_t *status);
27 
28 // register(Performer performer);
29  }
30  }
31 }
32 #endif //ARUNA_REPORTER_H
Definition: comm.cpp:14
uint8_t port_t
Definition: commTypes.h:30
err_t start()
start reporter to report all SIS activiry to the watcher over comm channels
Definition: reporter.cpp:16
status_t status
stores the comm status
Definition: comm.cpp:40
status that is to be reported to the watcher
Definition: sisTypes.h:36
void alert(status_t *status)
alert watcher with given status_t
Definition: reporter.cpp:23
static const comm::port_t port
Definition: reporter.h:15