ProcessFramesTransformation.hh
1.88 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*
* ProcessFramesTransformation.hh
*
* Created on: Jul 18, 2016
* Author: AKKA IS
*/
#ifndef PROCESSFRAMESTRANSFORMATION_HH_
#define PROCESSFRAMESTRANSFORMATION_HH_
#include "SingleParamProcess.hh"
namespace AMDA {
namespace Parameters {
class ProcessFramesTransformationBase : public AMDA::Parameters::SingleParamProcess_CRTP<ProcessFramesTransformationBase> {
public:
/**
* @brief Constructor.
*/
ProcessFramesTransformationBase(Parameter ¶meter);
/**
* @brief Copy Constructor.
*/
ProcessFramesTransformationBase(const ProcessFramesTransformationBase& pProcess, Parameter &pParameter);
/**
* @brief Destructor.
*/
~ProcessFramesTransformationBase();
// Overload Process methods
/**
* @overload Process::init()
*/
TimeStamp init();
protected:
std::string _fromFrame;
std::string _toFrame;
bool _isPosition;
};
/**
* @class ProcessFramesTransformation
* @brief Process to compute the transformation of a vector from a frame to another frame.
*/
class ProcessFramesTransformation : public ProcessFramesTransformationBase {
public:
/**
* @brief Constructor.
*/
ProcessFramesTransformation(Parameter ¶meter);
// Overload Process methods
/**
* @overload Process::init()
*/
TimeStamp init();
};
class ProcessGSEToGSMFrameTransformation : public ProcessFramesTransformationBase {
public:
/**
* @brief Constructor.
*/
ProcessGSEToGSMFrameTransformation(Parameter ¶meter);
// Overload Process methods
/**
* @overload Process::init()
*/
TimeStamp init();
};
class ProcessGSMToGSEFrameTransformation : public ProcessFramesTransformationBase {
public:
/**
* @brief Constructor.
*/
ProcessGSMToGSEFrameTransformation(Parameter ¶meter);
// Overload Process methods
/**
* @overload Process::init()
*/
TimeStamp init();
};
} /* namespace Parameters */
} /* namespace AMDA */
#endif /* PROCESSFRAMESTRANSFORMATION_HH_ */