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

#include <Svc/Ports/VersionPorts/VersionPortAc.hpp>

Inheritance diagram for Svc::OutputVersionPort:
Fw::OutputPortBase Fw::PortBase Fw::ObjBase

Public Member Functions

 OutputVersionPort ()
 Constructor. More...
 
void init ()
 Initialization function. More...
 
void addCallPort (InputVersionPort *callPort)
 Register an input port. More...
 
void invoke (const Svc::VersionCfg::VersionEnum &version_id, Fw::StringBase &version_string, Svc::VersionStatus &status)
 Invoke a port interface. More...
 
- Public Member Functions inherited from Fw::PortBase
bool isConnected ()
 

Additional Inherited Members

- Protected Member Functions inherited from Fw::OutputPortBase
 OutputPortBase ()
 
virtual ~OutputPortBase ()
 
- Protected Member Functions inherited from Fw::PortBase
 PortBase ()
 
virtual ~PortBase ()
 
- Protected Member Functions inherited from Fw::ObjBase
 ObjBase (const char *name)
 ObjBase constructor. More...
 
virtual ~ObjBase ()
 Destructor. More...
 
void init ()
 Object initializer. More...
 
- Protected Attributes inherited from Fw::PortBase
Fw::ObjBasem_connObj
 

Detailed Description

Output Version port Port for setting and getting Versions

Definition at line 106 of file VersionPortAc.hpp.

Constructor & Destructor Documentation

◆ OutputVersionPort()

Svc::OutputVersionPort::OutputVersionPort ( )

Constructor.

Definition at line 136 of file VersionPortAc.cpp.

Member Function Documentation

◆ addCallPort()

void Svc::OutputVersionPort::addCallPort ( InputVersionPort callPort)

Register an input port.

Parameters
callPortThe input port

Definition at line 150 of file VersionPortAc.cpp.

◆ init()

void Svc::OutputVersionPort::init ( )
virtual

Initialization function.

Reimplemented from Fw::OutputPortBase.

Definition at line 144 of file VersionPortAc.cpp.

◆ invoke()

void Svc::OutputVersionPort::invoke ( const Svc::VersionCfg::VersionEnum version_id,
Fw::StringBase version_string,
Svc::VersionStatus status 
)

Invoke a port interface.

Parameters
version_idThe entry to access
version_stringThe value to be passed
statusThe command response argument

Definition at line 163 of file VersionPortAc.cpp.


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