F´ Flight Software - C/C++ Documentation
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 <Fw/Types/PolyType.hpp>
17 
18 namespace Svc {
19 
29 
30 class PolyDb final : public PolyDbComponentBase {
31  public:
38 
39  explicit PolyDb(const char* const name);
40 
45 
46  virtual ~PolyDb();
47 
48  protected:
49  private:
61 
62  void getValue_handler(FwIndexType portNum,
63  const Svc::PolyDbCfg::PolyDbEntry& entry,
64  Svc::MeasurementStatus& status,
65  Fw::Time& time,
66  Fw::PolyType& val
67  ) override;
68 
79 
80  void setValue_handler(FwIndexType portNum,
81  const Svc::PolyDbCfg::PolyDbEntry& entry,
82  Svc::MeasurementStatus& status,
83  Fw::Time& time,
84  Fw::PolyType& val
85  ) override;
86 
93 
94  struct t_dbStruct {
95  MeasurementStatus status;
96  Fw::PolyType val;
97  Fw::Time time;
99 };
100 } // namespace Svc
101 
102 #endif /* POLYDB_HPP_ */
PolyDb Component Class.
Definition: PolyDb.hpp:30
The number of enumerated constants.
An enumeration for measurement status.
Auto-generated base for PolyDb component.
PlatformIndexType FwIndexType
RateGroupDivider component implementation.
PolyDb(const char *const name)
PolyDbImpl constructor.
Definition: PolyDb.cpp:13
virtual ~PolyDb()
PolyDbImpl destructor.
Definition: PolyDb.cpp:42