F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
Svc::InputSchedPort Class Reference

#include <Svc/Sched/SchedPortAc.hpp>

Inheritance diagram for Svc::InputSchedPort:
Fw::InputPortBase Fw::PortBase Fw::ObjBase

Public Types

enum  { SERIALIZED_SIZE }
 
typedef void(* CompFuncPtr) (Fw::PassiveComponentBase *callComp, FwIndexType portNum, U32 context)
 The port callback function type.
 

Public Member Functions

 InputSchedPort ()
 Constructor.
 
void init ()
 Initialization function.
 
void addCallComp (Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr)
 Register a component.
 
void invoke (U32 context)
 Invoke a port interface.
 
- Public Member Functions inherited from Fw::InputPortBase
void setPortNum (NATIVE_INT_TYPE portNum)
 
- Public Member Functions inherited from Fw::PortBase
bool isConnected () const
 

Additional Inherited Members

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

Detailed Description

Input Sched port Scheduler Port with order argument

Definition at line 24 of file SchedPortAc.hpp.

Member Typedef Documentation

◆ CompFuncPtr

typedef void(* Svc::InputSchedPort::CompFuncPtr) (Fw::PassiveComponentBase *callComp, FwIndexType portNum, U32 context)

The port callback function type.

Definition at line 47 of file SchedPortAc.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SERIALIZED_SIZE 

The size of the serial representations of the port arguments.

Definition at line 34 of file SchedPortAc.hpp.

Constructor & Destructor Documentation

◆ InputSchedPort()

Svc::InputSchedPort::InputSchedPort ( )

Constructor.

Definition at line 47 of file SchedPortAc.cpp.

Member Function Documentation

◆ addCallComp()

void Svc::InputSchedPort::addCallComp ( Fw::PassiveComponentBase callComp,
CompFuncPtr  funcPtr 
)

Register a component.

Parameters
callCompThe containing component
funcPtrThe port callback function

Definition at line 61 of file SchedPortAc.cpp.

◆ init()

void Svc::InputSchedPort::init ( )
virtual

Initialization function.

Reimplemented from Fw::InputPortBase.

Definition at line 55 of file SchedPortAc.cpp.

◆ invoke()

void Svc::InputSchedPort::invoke ( U32  context)

Invoke a port interface.

Parameters
contextThe call order

Definition at line 75 of file SchedPortAc.cpp.


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