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

#include <Svc/PosixTime/PosixTime.hpp>

Inheritance diagram for Svc::PosixTime:
Svc::PosixTimeComponentBase Fw::PassiveComponentBase Fw::ObjBase

Public Member Functions

 PosixTime (const char *compName)
 
virtual ~PosixTime ()
 
- Public Member Functions inherited from Svc::PosixTimeComponentBase
void init (FwEnumStoreType instance=0)
 Initialize PosixTimeComponentBase object. More...
 
Fw::InputTimePortget_timeGetPort_InputPort (FwIndexType portNum)
 
- Public Member Functions inherited from Fw::PassiveComponentBase
void setIdBase (const U32)
 Set the ID base. More...
 
U32 getIdBase () const
 

Protected Member Functions

void timeGetPort_handler (NATIVE_INT_TYPE portNum, Fw::Time &time)
 Handler for input port timeGetPort. More...
 
- Protected Member Functions inherited from Svc::PosixTimeComponentBase
 PosixTimeComponentBase (const char *compName="")
 Construct PosixTimeComponentBase object. More...
 
virtual ~PosixTimeComponentBase ()
 Destroy PosixTimeComponentBase object. More...
 
FwIndexType getNum_timeGetPort_InputPorts () const
 
void timeGetPort_handlerBase (FwIndexType portNum, Fw::Time &time)
 Handler base-class function for input port timeGetPort. 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...
 

Additional Inherited Members

- Protected Types inherited from Svc::PosixTimeComponentBase
enum  { NUM_TIMEGETPORT_INPUT_PORTS = 1 }
 Enumerations for numbers of typed input ports. More...
 

Detailed Description

Definition at line 15 of file PosixTime.hpp.

Constructor & Destructor Documentation

◆ PosixTime()

Svc::PosixTime::PosixTime ( const char *  compName)
explicit

Definition at line 14 of file PosixTime.cpp.

◆ ~PosixTime()

Svc::PosixTime::~PosixTime ( )
virtual

Definition at line 18 of file PosixTime.cpp.

Member Function Documentation

◆ timeGetPort_handler()

void Svc::PosixTime::timeGetPort_handler ( NATIVE_INT_TYPE  portNum,
Fw::Time time 
)
protectedvirtual

Handler for input port timeGetPort.

Parameters
portNumThe port number
timeReference to Time object

Implements Svc::PosixTimeComponentBase.

Definition at line 21 of file PosixTime.cpp.


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