F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
PolyDbImpl.hpp
Go to the documentation of this file.
1
12
#ifndef POLYDBIMPL_HPP_
13
#define POLYDBIMPL_HPP_
14
15
#include <Svc/PolyDb/PolyDbComponentAc.hpp>
16
#include <
Fw/Types/PolyType.hpp
>
17
#include <
PolyDbImplCfg.hpp
>
18
19
namespace
Svc
{
20
30
31
class
PolyDbImpl
:
public
PolyDbComponentBase {
32
public
:
39
40
PolyDbImpl
(
const
char
* name);
41
47
48
void
init
(
NATIVE_INT_TYPE
instance);
49
54
55
virtual
~PolyDbImpl
();
56
protected
:
57
private
:
58
69
70
void
getValue_handler(
NATIVE_INT_TYPE
portNum, U32 entry, MeasurementStatus &status,
Fw::Time
&time,
Fw::PolyType
&val);
71
81
82
void
setValue_handler(
NATIVE_INT_TYPE
portNum, U32 entry, MeasurementStatus &status,
Fw::Time
&time,
Fw::PolyType
&val);
83
90
91
struct
t_dbStruct {
92
MeasurementStatus status;
93
Fw::PolyType
val;
94
Fw::Time
time;
95
} m_db[POLYDB_NUM_DB_ENTRIES];
96
97
};
98
}
99
100
#endif
/* POLYDBIMPL_HPP_ */
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition
BasicTypes.h:51
PolyDbImplCfg.hpp
PolyType.hpp
Fw::PolyType
Definition
PolyType.hpp:11
Fw::Time
Definition
Time.hpp:9
Svc::PolyDbImpl
PolyDb Component Class.
Definition
PolyDbImpl.hpp:31
Svc::PolyDbImpl::~PolyDbImpl
virtual ~PolyDbImpl()
PolyDbImpl destructor.
Definition
PolyDbImpl.cpp:41
Svc::PolyDbImpl::init
void init(NATIVE_INT_TYPE instance)
PolyDbImpl initialization.
Definition
PolyDbImpl.cpp:20
Svc
Definition
ActiveRateGroupCfg.hpp:18
Svc
PolyDb
PolyDbImpl.hpp
Generated by
1.9.7