F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PolyDb.hpp
Go to the documentation of this file.
1 
12 #ifndef POLYDB_HPP_
13 #define POLYDB_HPP_
14 
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;
101 
102  };
103 }
104 
105 #endif /* POLYDB_HPP_ */
PlatformIntType NATIVE_INT_TYPE
Definition: BasicTypes.h:55
Definition: Time.hpp:9
An enumeration for measurement status.
@ NUM_CONSTANTS
The number of enumerated constants.
Auto-generated base for PolyDb component.
PolyDb Component Class.
Definition: PolyDb.hpp:30
virtual ~PolyDb()
PolyDbImpl destructor.
Definition: PolyDb.cpp:48
PolyDb(const char *const name)
PolyDbImpl constructor.
Definition: PolyDb.cpp:13