F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
PolyDb.hpp
Go to the documentation of this file.
1
12
#ifndef POLYDB_HPP_
13
#define POLYDB_HPP_
14
15
#include <
Svc/PolyDb/PolyDbComponentAc.hpp
>
16
#include <
Fw/Types/PolyType.hpp
>
17
18
namespace
Svc
{
19
29
30
class
PolyDb
:
public
PolyDbComponentBase
{
31
public
:
38
39
explicit
PolyDb
(
const
char
*
const
name);
40
45
46
virtual
~PolyDb
();
47
protected
:
48
private
:
49
61
62
void
getValue_handler(
63
NATIVE_INT_TYPE
portNum,
64
const
Svc::PolyDbCfg::PolyDbEntry
& entry,
65
Svc::MeasurementStatus
& status,
66
Fw::Time
& time,
67
Fw::PolyType
& val
68
)
override
;
69
80
81
void
setValue_handler(
82
NATIVE_INT_TYPE
portNum,
83
const
Svc::PolyDbCfg::PolyDbEntry
& entry,
84
Svc::MeasurementStatus
& status,
85
Fw::Time
& time,
86
Fw::PolyType
& val
87
)
override
;
88
95
96
struct
t_dbStruct {
97
MeasurementStatus
status;
98
Fw::PolyType
val;
99
Fw::Time
time;
100
} m_db[
Svc::PolyDbCfg::PolyDbEntry::NUM_CONSTANTS
];
101
102
};
103
}
104
105
#endif
/* POLYDB_HPP_ */
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition:
BasicTypes.h:55
PolyDbComponentAc.hpp
PolyType.hpp
Fw::PolyType
Definition:
PolyType.hpp:11
Fw::Time
Definition:
Time.hpp:9
Svc::MeasurementStatus
An enumeration for measurement status.
Definition:
MeasurementStatusEnumAc.hpp:19
Svc::PolyDbCfg::PolyDbEntry
Definition:
PolyDbEntryEnumAc.hpp:22
Svc::PolyDbCfg::PolyDbEntry::NUM_CONSTANTS
@ NUM_CONSTANTS
The number of enumerated constants.
Definition:
PolyDbEntryEnumAc.hpp:68
Svc::PolyDbComponentBase
Auto-generated base for PolyDb component.
Definition:
PolyDbComponentAc.hpp:25
Svc::PolyDb
PolyDb Component Class.
Definition:
PolyDb.hpp:30
Svc::PolyDb::~PolyDb
virtual ~PolyDb()
PolyDbImpl destructor.
Definition:
PolyDb.cpp:48
Svc::PolyDb::PolyDb
PolyDb(const char *const name)
PolyDbImpl constructor.
Definition:
PolyDb.cpp:13
Svc
Definition:
ActiveRateGroupCfg.hpp:18
Svc
PolyDb
PolyDb.hpp
Generated by
1.9.1