-
Notifications
You must be signed in to change notification settings - Fork 1
/
lm_core.h
executable file
·60 lines (53 loc) · 1.94 KB
/
lm_core.h
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
*
* Author: Tatiana Djaba Nya (Lead author)
* Author: Stephan C. Stilkerich
*
* Reference Architecture Model (EPiCS FP7 FET program, No. 257906)
* - Peter R. Lewis, University of Birmingham
* - Xin Yao, University of Birmingham
*
* Copyright (c) 2013, EADS Deutschland GmbH, EADS Innovation Works
*
*==============================================================================
*
*This file is part of ProprioSimEnv.
*
* ProprioSimEnv is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ProprioSimEnv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ProprioSimEnv. If not, see <http://www.gnu.org/licenses/>.
*/
//==============================================================================
/// @file lm_core.h
//
/// @brief This is the computation core of the lmodel component
///
/// @details It evaluates the sensor data readout from the sae's memory space.
//
//==============================================================================
#ifndef __LM_CORE_H__
#define __LM_CORE_H__
#include "reporting.h"
#include "constants.h"
#include "key_functions.h"
#include <vector>
class lm_core
{
public:
lm_core ( std::string node_name_ ///< basename of the node component
);
void evaluate_data(unsigned char*, notification::report_actions &status);
void send_data(unsigned char*); // convert result data: from datyp to char
private:
std::string lmcore_output_file, lmcore_parent_name;
};
#endif