Aruna
watcher.h
Go to the documentation of this file.
1 //
2 // Created by noeel on 15-04-20.
3 //
4 
5 #ifndef ARUNA_WATCHER_H
6 #define ARUNA_WATCHER_H
7 
8 #include <aruna/arunaTypes.h>
9 #include <aruna/comm/commTypes.h>
10 #include "aruna/sis/sisTypes.h"
11 
12 namespace aruna {
13  namespace sis {
14  namespace watcher {
15 // watches the comm for sis reports
16  const static comm::port_t port = 2;
17 
22  err_t start();
23 
27  void * watch(void *);
28 
32  void set_level(type_t type, level_t new_level);
33  }
34  }
35 }
36 
37 #endif //ARUNA_WATCHER_H
Definition: comm.cpp:14
type_t
Type of status.
Definition: sisTypes.h:26
level_t
SIS urgency level.
Definition: sisTypes.h:16
uint8_t port_t
Definition: commTypes.h:30
err_t start()
start SIS report watcher thread
Definition: watcher.cpp:19
void set_level(type_t type, level_t new_level)
set level of alert on SIS level.
Definition: watcher.cpp:74
void * watch(void *)
Watch SIS reports task.
Definition: watcher.cpp:30
static const comm::port_t port
Definition: watcher.h:16