-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRTAMonitor.ice
45 lines (36 loc) · 1.22 KB
/
RTAMonitor.ice
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/***************************************************************************
begin : Mar 13 2014
copyright : (C) 2014 Andrea Zoli
email : [email protected]
***************************************************************************/
/***************************************************************************
* *
* This program is free software for non commercial purpose *
* and for public research institutes; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License. *
* For commercial purpose see appropriate license terms *
* *
***************************************************************************/
#pragma once
module CTA
{
struct Parameter
{
int apid;
double timestamp;
int type;
double value;
};
struct LogMessage
{
int apid;
double timestamp;
string value;
};
interface RTAMonitor
{
idempotent void sendParameter(Parameter param);
idempotent void sendLog(LogMessage msg);
idempotent void registerApp(int apid);
};
};