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

#include <Fw/Log/LogPortAc.hpp>

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

Public Member Functions

 OutputLogPort ()
 Constructor. More...
 
void init ()
 Initialization function. More...
 
void addCallPort (InputLogPort *callPort)
 Register an input port. More...
 
void invoke (FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) 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 Log port Event log port

Definition at line 110 of file LogPortAc.hpp.

Constructor & Destructor Documentation

◆ OutputLogPort()

Fw::OutputLogPort::OutputLogPort ( )

Constructor.

Definition at line 143 of file LogPortAc.cpp.

Member Function Documentation

◆ addCallPort()

void Fw::OutputLogPort::addCallPort ( InputLogPort callPort)

Register an input port.

Parameters
callPortThe input port

Definition at line 157 of file LogPortAc.cpp.

◆ init()

void Fw::OutputLogPort::init ( )
virtual

Initialization function.

Reimplemented from Fw::PortBase.

Definition at line 151 of file LogPortAc.cpp.

◆ invoke()

void Fw::OutputLogPort::invoke ( FwEventIdType  id,
Fw::Time timeTag,
const Fw::LogSeverity severity,
Fw::LogBuffer args 
) const

Invoke a port interface.

Parameters
idLog ID
timeTagTime Tag
severityThe severity argument
argsBuffer containing serialized log entry

Definition at line 170 of file LogPortAc.cpp.


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