![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for Framer component. More...
#include <Svc/Framer/FramerComponentAc.hpp>
Protected Types | |
enum | { NUM_BUFFERIN_INPUT_PORTS = 1 , NUM_COMIN_INPUT_PORTS = 1 , NUM_COMSTATUSIN_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
enum | { NUM_BUFFERDEALLOCATE_OUTPUT_PORTS = 1 , NUM_COMSTATUSOUT_OUTPUT_PORTS = 1 , NUM_FRAMEDALLOCATE_OUTPUT_PORTS = 1 , NUM_FRAMEDOUT_OUTPUT_PORTS = 1 } |
Enumerations for numbers of typed output ports. More... | |
Protected Member Functions | |
FramerComponentBase (const char *compName="") | |
Construct FramerComponentBase object. More... | |
virtual | ~FramerComponentBase () |
Destroy FramerComponentBase object. More... | |
NATIVE_INT_TYPE | getNum_bufferIn_InputPorts () const |
NATIVE_INT_TYPE | getNum_comIn_InputPorts () const |
NATIVE_INT_TYPE | getNum_comStatusIn_InputPorts () const |
NATIVE_INT_TYPE | getNum_bufferDeallocate_OutputPorts () const |
NATIVE_INT_TYPE | getNum_comStatusOut_OutputPorts () const |
NATIVE_INT_TYPE | getNum_framedAllocate_OutputPorts () const |
NATIVE_INT_TYPE | getNum_framedOut_OutputPorts () const |
bool | isConnected_bufferDeallocate_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_comStatusOut_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_framedAllocate_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_framedOut_OutputPort (NATIVE_INT_TYPE portNum) |
virtual void | bufferIn_handler (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer)=0 |
Handler for input port bufferIn. More... | |
virtual void | comIn_handler (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context)=0 |
Handler for input port comIn. More... | |
virtual void | comStatusIn_handler (NATIVE_INT_TYPE portNum, Fw::Success &condition)=0 |
Handler for input port comStatusIn. More... | |
void | bufferIn_handlerBase (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
Handler base-class function for input port bufferIn. More... | |
void | comIn_handlerBase (NATIVE_INT_TYPE portNum, Fw::ComBuffer &data, U32 context) |
Handler base-class function for input port comIn. More... | |
void | comStatusIn_handlerBase (NATIVE_INT_TYPE portNum, Fw::Success &condition) |
Handler base-class function for input port comStatusIn. More... | |
void | bufferDeallocate_out (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
Invoke output port bufferDeallocate. More... | |
void | comStatusOut_out (NATIVE_INT_TYPE portNum, Fw::Success &condition) |
Invoke output port comStatusOut. More... | |
Fw::Buffer | framedAllocate_out (NATIVE_INT_TYPE portNum, U32 size) |
Invoke output port framedAllocate. More... | |
Drv::SendStatus | framedOut_out (NATIVE_INT_TYPE portNum, Fw::Buffer &sendBuffer) |
Invoke output port framedOut. More... | |
virtual void | lock () |
Lock the guarded mutex. More... | |
virtual void | unLock () |
Unlock the guarded mutex. More... | |
![]() | |
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 |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
Friends | |
class | FramerComponentBaseFriend |
Friend class for white-box testing. More... | |
Auto-generated base for Framer component.
A component for framing input for transmission to the ground
Definition at line 27 of file FramerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_BUFFERIN_INPUT_PORTS | |
NUM_COMIN_INPUT_PORTS | |
NUM_COMSTATUSIN_INPUT_PORTS |
Definition at line 45 of file FramerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Enumerator | |
---|---|
NUM_BUFFERDEALLOCATE_OUTPUT_PORTS | |
NUM_COMSTATUSOUT_OUTPUT_PORTS | |
NUM_FRAMEDALLOCATE_OUTPUT_PORTS | |
NUM_FRAMEDOUT_OUTPUT_PORTS |
Definition at line 52 of file FramerComponentAc.hpp.
|
protected |
Construct FramerComponentBase object.
compName | The component name |
Definition at line 369 of file FramerComponentAc.cpp.
|
protectedvirtual |
Destroy FramerComponentBase object.
Definition at line 376 of file FramerComponentAc.cpp.
|
protected |
Invoke output port bufferDeallocate.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 561 of file FramerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port bufferIn.
portNum | The port number |
fwBuffer | The buffer |
|
protected |
Handler base-class function for input port bufferIn.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 486 of file FramerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port comIn.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
|
protected |
Handler base-class function for input port comIn.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 511 of file FramerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port comStatusIn.
portNum | The port number |
condition | Condition success/failure |
|
protected |
Handler base-class function for input port comStatusIn.
portNum | The port number |
condition | Condition success/failure |
Definition at line 538 of file FramerComponentAc.cpp.
|
protected |
Invoke output port comStatusOut.
portNum | The port number |
condition | Condition success/failure |
Definition at line 576 of file FramerComponentAc.cpp.
|
protected |
Invoke output port framedAllocate.
portNum | The port number |
size | The requested size |
Definition at line 591 of file FramerComponentAc.cpp.
|
protected |
Invoke output port framedOut.
portNum | The port number |
sendBuffer | Data to send |
Definition at line 606 of file FramerComponentAc.cpp.
Fw::InputBufferSendPort * Svc::FramerComponentBase::get_bufferIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 236 of file FramerComponentAc.cpp.
Fw::InputComPort * Svc::FramerComponentBase::get_comIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 247 of file FramerComponentAc.cpp.
Fw::InputSuccessConditionPort * Svc::FramerComponentBase::get_comStatusIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 258 of file FramerComponentAc.cpp.
|
protected |
Get the number of bufferDeallocate output ports
Definition at line 408 of file FramerComponentAc.cpp.
|
protected |
Get the number of bufferIn input ports
Definition at line 386 of file FramerComponentAc.cpp.
|
protected |
Get the number of comIn input ports
Definition at line 392 of file FramerComponentAc.cpp.
|
protected |
Get the number of comStatusIn input ports
Definition at line 398 of file FramerComponentAc.cpp.
|
protected |
Get the number of comStatusOut output ports
Definition at line 414 of file FramerComponentAc.cpp.
|
protected |
Get the number of framedAllocate output ports
Definition at line 420 of file FramerComponentAc.cpp.
|
protected |
Get the number of framedOut output ports
Definition at line 426 of file FramerComponentAc.cpp.
void Svc::FramerComponentBase::init | ( | NATIVE_INT_TYPE | instance = 0 | ) |
Initialize FramerComponentBase object.
instance | The instance number |
Definition at line 21 of file FramerComponentAc.cpp.
|
protected |
Check whether port bufferDeallocate is connected
portNum | The port number |
Definition at line 436 of file FramerComponentAc.cpp.
|
protected |
Check whether port comStatusOut is connected
portNum | The port number |
Definition at line 447 of file FramerComponentAc.cpp.
|
protected |
Check whether port framedAllocate is connected
portNum | The port number |
Definition at line 458 of file FramerComponentAc.cpp.
|
protected |
Check whether port framedOut is connected
portNum | The port number |
Definition at line 469 of file FramerComponentAc.cpp.
|
protectedvirtual |
Lock the guarded mutex.
Definition at line 628 of file FramerComponentAc.cpp.
void Svc::FramerComponentBase::set_bufferDeallocate_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to bufferDeallocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 273 of file FramerComponentAc.cpp.
void Svc::FramerComponentBase::set_comStatusOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputSuccessConditionPort * | port | ||
) |
Connect port to comStatusOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 287 of file FramerComponentAc.cpp.
void Svc::FramerComponentBase::set_framedAllocate_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputBufferGetPort * | port | ||
) |
Connect port to framedAllocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 301 of file FramerComponentAc.cpp.
void Svc::FramerComponentBase::set_framedOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Drv::InputByteStreamSendPort * | port | ||
) |
Connect port to framedOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 315 of file FramerComponentAc.cpp.
|
protectedvirtual |
Unlock the guarded mutex.
Definition at line 634 of file FramerComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 36 of file FramerComponentAc.hpp.