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

#include <Svc/LinuxTimer/LinuxTimer.hpp>

Inheritance diagram for Svc::LinuxTimer:
Svc::LinuxTimerComponentBase Fw::PassiveComponentBase Fw::ObjBase

Public Member Functions

 LinuxTimer (const char *const compName)
 
 ~LinuxTimer ()
 
void startTimer (FwSizeType interval)
 Start timer. More...
 
void quit ()
 Quit timer. More...
 
- Public Member Functions inherited from Svc::LinuxTimerComponentBase
void init (FwEnumStoreType instance=0)
 Initialize LinuxTimerComponentBase object. More...
 
void set_CycleOut_OutputPort (FwIndexType portNum, Svc::InputCyclePort *port)
 Connect port to CycleOut[portNum]. More...
 
- 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::LinuxTimerComponentBase
enum  { NUM_CYCLEOUT_OUTPUT_PORTS = 1 }
 Enumerations for numbers of typed output ports. More...
 
- Protected Member Functions inherited from Svc::LinuxTimerComponentBase
 LinuxTimerComponentBase (const char *compName="")
 Construct LinuxTimerComponentBase object. More...
 
virtual ~LinuxTimerComponentBase ()
 Destroy LinuxTimerComponentBase object. More...
 
FwIndexType getNum_CycleOut_OutputPorts () const
 
bool isConnected_CycleOut_OutputPort (FwIndexType portNum)
 
void CycleOut_out (FwIndexType portNum, Os::RawTime &cycleStart)
 Invoke output port CycleOut. More...
 
- Protected Member Functions inherited from Fw::PassiveComponentBase
 PassiveComponentBase (const char *name)
 Named constructor. More...
 
virtual ~PassiveComponentBase ()
 Destructor. More...
 
void init (FwEnumStoreType instance)
 Initialization function. More...
 
FwEnumStoreType 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

Definition at line 22 of file LinuxTimer.hpp.

Constructor & Destructor Documentation

◆ LinuxTimer()

Svc::LinuxTimer::LinuxTimer ( const char *const  compName)

Construct object LinuxTimer

Parameters
compNameThe component name

Definition at line 24 of file LinuxTimerCommon.cpp.

◆ ~LinuxTimer()

Svc::LinuxTimer::~LinuxTimer ( )

Destroy object LinuxTimer

Definition at line 33 of file LinuxTimerCommon.cpp.

Member Function Documentation

◆ quit()

void Svc::LinuxTimer::quit ( )

Quit timer.

Definition at line 38 of file LinuxTimerCommon.cpp.

◆ startTimer()

void Svc::LinuxTimer::startTimer ( FwSizeType  interval)

Start timer.

interval in milliseconds

Definition at line 23 of file LinuxTimerFd.cpp.


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