F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Svc::PolyDbImpl Class Reference

PolyDb Component Class. More...

#include <Svc/PolyDb/PolyDbImpl.hpp>

Inheritance diagram for Svc::PolyDbImpl:
Svc::PolyDbComponentBase Fw::PassiveComponentBase Fw::ObjBase

Public Member Functions

 PolyDbImpl (const char *name)
 PolyDbImpl constructor. More...
 
void init (NATIVE_INT_TYPE instance)
 PolyDbImpl initialization. More...
 
virtual ~PolyDbImpl ()
 PolyDbImpl destructor. More...
 
- Public Member Functions inherited from Svc::PolyDbComponentBase
void init (NATIVE_INT_TYPE instance=0)
 Initialize PolyDbComponentBase object. More...
 
Svc::InputPolyPortget_getValue_InputPort (NATIVE_INT_TYPE portNum)
 
Svc::InputPolyPortget_setValue_InputPort (NATIVE_INT_TYPE portNum)
 
- Public Member Functions inherited from Fw::PassiveComponentBase
void setIdBase (const U32)
 Set the ID base. More...
 
U32 getIdBase () const
 

Additional Inherited Members

- Protected Types inherited from Svc::PolyDbComponentBase
enum  { NUM_GETVALUE_INPUT_PORTS = 1 , NUM_SETVALUE_INPUT_PORTS = 1 }
 Enumerations for numbers of typed input ports. More...
 
- Protected Member Functions inherited from Svc::PolyDbComponentBase
 PolyDbComponentBase (const char *compName="")
 Construct PolyDbComponentBase object. More...
 
virtual ~PolyDbComponentBase ()
 Destroy PolyDbComponentBase object. More...
 
NATIVE_INT_TYPE getNum_getValue_InputPorts () const
 
NATIVE_INT_TYPE getNum_setValue_InputPorts () const
 
void getValue_handlerBase (NATIVE_INT_TYPE portNum, U32 entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)
 Handler base-class function for input port getValue. More...
 
void setValue_handlerBase (NATIVE_INT_TYPE portNum, U32 entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)
 Handler base-class function for input port setValue. More...
 
virtual void lock ()
 Lock the guarded mutex. More...
 
virtual void unLock ()
 Unlock the guarded mutex. More...
 
- Protected Member Functions inherited from Fw::PassiveComponentBase
 PassiveComponentBase (const char *name)
 Named constructor. More...
 
virtual ~PassiveComponentBase ()
 Destructor. More...
 
void init (NATIVE_INT_TYPE instance)
 Initialization function. More...
 
NATIVE_INT_TYPE getInstance () const
 
- Protected Member Functions inherited from Fw::ObjBase
 ObjBase (const char *name)
 ObjBase constructor. More...
 
virtual ~ObjBase ()
 Destructor. More...
 
void init ()
 Object initializer. More...
 

Detailed Description

PolyDb Component Class.

This component allows the setting and retrieving of PolyType telemetry values. It be used as a central analog database that can decouple measurement sources from measurement users. The intent is that measurement sources would convert DNs (data numbers) to ENs (Engineering Numbers) to decouple the conversion as well.

Definition at line 31 of file PolyDbImpl.hpp.

Constructor & Destructor Documentation

◆ PolyDbImpl()

Svc::PolyDbImpl::PolyDbImpl ( const char *  name)

PolyDbImpl constructor.

The constructor initializes the database to "MeasurementStatus::STALE." All values retrieved will have this status until the first update is received.

Definition at line 13 of file PolyDbImpl.cpp.

◆ ~PolyDbImpl()

Svc::PolyDbImpl::~PolyDbImpl ( )
virtual

PolyDbImpl destructor.

The destructor is empty.

Definition at line 41 of file PolyDbImpl.cpp.

Member Function Documentation

◆ init()

void Svc::PolyDbImpl::init ( NATIVE_INT_TYPE  instance)

PolyDbImpl initialization.

The PolyDbImpl initialization function calls the base class initializer.

Definition at line 20 of file PolyDbImpl.cpp.


The documentation for this class was generated from the following files: