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
aruna
Definition:
comm.cpp:14
commTypes.h
sisTypes.h
aruna::sis::type_t
type_t
Type of status.
Definition:
sisTypes.h:26
aruna::sis::level_t
level_t
SIS urgency level.
Definition:
sisTypes.h:16
aruna::comm::port_t
uint8_t port_t
Definition:
commTypes.h:30
arunaTypes.h
aruna::sis::watcher::start
err_t start()
start SIS report watcher thread
Definition:
watcher.cpp:19
aruna::sis::watcher::set_level
void set_level(type_t type, level_t new_level)
set level of alert on SIS level.
Definition:
watcher.cpp:74
aruna::sis::watcher::watch
void * watch(void *)
Watch SIS reports task.
Definition:
watcher.cpp:30
aruna::err_t
err_t
Definition:
arunaTypes.h:20
aruna::sis::watcher::port
static const comm::port_t port
Definition:
watcher.h:16
include
aruna
sis
watcher.h
Generated by
1.8.13