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

#include <Fw/Ports/Ready/ReadyPortAc.hpp>

Inheritance diagram for Fw::OutputReadyPort:
Fw::OutputPortBase Fw::PortBase Fw::ObjBase

Public Member Functions

 OutputReadyPort ()
 Constructor. More...
 
void init ()
 Initialization function. More...
 
void addCallPort (InputReadyPort *callPort)
 Register an input port. More...
 
void invoke () const
 Invoke a port interface. More...
 
- Public Member Functions inherited from Fw::PortBase
bool isConnected () const
 

Additional Inherited Members

- Protected Member Functions inherited from Fw::OutputPortBase
 OutputPortBase ()
 
virtual ~OutputPortBase ()
 
void init () override
 
- 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 Ready port As an input: Request that a component start operating or indicate that the prerequisites for the component are satisfied. As an output: Indicate that a component is now operating normally and is ready to service requests.

Each Ready port shall be invoked once.

  • Invoking a Ready port more than once is a coding defect worthy of an assertion.
  • Failing to invoke a Ready port is a coding defect that may result in a component remaining inoperative or not becoming fully operative.
  • It may be a coding defect worthy of an assertion, depending on the specification for each component, to attempt to operate a component that is not ready: that is, a component that has not received all Ready inputs or has not yet invoked all Ready outputs.

Definition at line 120 of file ReadyPortAc.hpp.

Constructor & Destructor Documentation

◆ OutputReadyPort()

Fw::OutputReadyPort::OutputReadyPort ( )

Constructor.

Definition at line 110 of file ReadyPortAc.cpp.

Member Function Documentation

◆ addCallPort()

void Fw::OutputReadyPort::addCallPort ( InputReadyPort callPort)

Register an input port.

Parameters
callPortThe input port

Definition at line 124 of file ReadyPortAc.cpp.

◆ init()

void Fw::OutputReadyPort::init ( )
virtual

Initialization function.

Reimplemented from Fw::PortBase.

Definition at line 118 of file ReadyPortAc.cpp.

◆ invoke()

void Fw::OutputReadyPort::invoke ( ) const

Invoke a port interface.

Definition at line 137 of file ReadyPortAc.cpp.


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