RTC Toolkit
1.0.0
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
~
Variables
a
c
d
e
f
h
i
l
m
n
o
p
r
s
t
v
w
Typedefs
a
c
d
f
l
m
o
p
r
s
t
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
l
m
o
p
r
s
t
w
Variables
Typedefs
Enumerations
Enumerator
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
reusableComponents
telRec
src
include
rtctk
telemetryRecorder
recorderIf.hpp
Go to the documentation of this file.
1
12
#ifndef RTCTK_REUSABLECOMPONENT_TELEMETRYRECORDER_RECORDERIF_HPP
13
#define RTCTK_REUSABLECOMPONENT_TELEMETRYRECORDER_RECORDERIF_HPP
14
15
#include <cfitsio/fitsio.h>
16
#include <string>
17
#include <memory>
18
#include <functional>
19
#include <mal/utility/Uri.hpp>
20
21
namespace
rtctk::telemetryRecorder
{
22
23
template
<
typename
T>
24
class
RecorderIf
25
{
26
public
:
28
typedef
T
TelemetryType
;
33
virtual
void
Open
(
const
std::string& file) = 0;
37
virtual
void
Close
() = 0;
38
44
virtual
void
WriteData
(
const
TelemetryType
& data) = 0;
50
virtual
void
SetTelemetrySubSet
(std::string mask) = 0;
51
};
52
53
}
54
55
56
#endif // RTCTK_REUSABLECOMPONENT_TELEMETRYRECORDER_RECORDERIF_HPP
rtctk::telemetryRecorder::RecorderIf::Open
virtual void Open(const std::string &file)=0
Open a file with the recorder.
rtctk::telemetryRecorder::RecorderIf::WriteData
virtual void WriteData(const TelemetryType &data)=0
Write the given Telemetry Data This function is called, when data is received over the shared memory ...
rtctk::telemetryRecorder::RecorderIf::TelemetryType
T TelemetryType
The type of the Telemetry Topic to be processed by this recorder.
Definition:
recorderIf.hpp:28
rtctk::telemetryRecorder::RecorderIf::Close
virtual void Close()=0
Close the file.
rtctk::telemetryRecorder::RecorderIf
Definition:
recorderIf.hpp:25
rtctk::telemetryRecorder
Definition:
businessLogic.hpp:20
rtctk::telemetryRecorder::RecorderIf::SetTelemetrySubSet
virtual void SetTelemetrySubSet(std::string mask)=0
Select telemetry subset This function is used to select the telemetry that should be written.
Generated by
1.8.20