![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for GenericHub component. More...
#include <Svc/GenericHub/GenericHubComponentAc.hpp>
Protected Types | |
enum | { NUM_LOGRECV_INPUT_PORTS = 1, NUM_TLMRECV_INPUT_PORTS = 1, NUM_BUFFERSIN_INPUT_PORTS = 10, NUM_DATAIN_INPUT_PORTS = 1 } |
Enumerations for numbers of typed input ports. More... | |
enum | { NUM_PORTIN_INPUT_PORTS = 10 } |
Enumerations for numbers of serial input ports. More... | |
enum | { NUM_LOGSEND_OUTPUT_PORTS = 1, NUM_TLMSEND_OUTPUT_PORTS = 1, NUM_BUFFERDEALLOCATE_OUTPUT_PORTS = 1, NUM_BUFFERSOUT_OUTPUT_PORTS = 10, NUM_DATAINDEALLOCATE_OUTPUT_PORTS = 1, NUM_DATAOUT_OUTPUT_PORTS = 1, NUM_DATAOUTALLOCATE_OUTPUT_PORTS = 1 } |
Enumerations for numbers of typed output ports. More... | |
enum | { NUM_PORTOUT_OUTPUT_PORTS = 10 } |
Enumerations for numbers of serial output ports. More... | |
Friends | |
class | GenericHubComponentBaseFriend |
Friend class for white-box testing. More... | |
Auto-generated base for GenericHub component.
A generic hub component
Definition at line 30 of file GenericHubComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_LOGRECV_INPUT_PORTS | |
NUM_TLMRECV_INPUT_PORTS | |
NUM_BUFFERSIN_INPUT_PORTS | |
NUM_DATAIN_INPUT_PORTS |
Definition at line 48 of file GenericHubComponentAc.hpp.
|
protected |
Enumerations for numbers of serial input ports.
Enumerator | |
---|---|
NUM_PORTIN_INPUT_PORTS |
Definition at line 56 of file GenericHubComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Definition at line 61 of file GenericHubComponentAc.hpp.
|
protected |
Enumerations for numbers of serial output ports.
Enumerator | |
---|---|
NUM_PORTOUT_OUTPUT_PORTS |
Definition at line 72 of file GenericHubComponentAc.hpp.
|
protected |
Construct GenericHubComponentBase object.
compName | The component name |
Definition at line 583 of file GenericHubComponentAc.cpp.
|
protectedvirtual |
Destroy GenericHubComponentBase object.
Definition at line 590 of file GenericHubComponentAc.cpp.
|
protected |
Invoke output port bufferDeallocate.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 947 of file GenericHubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port buffersIn.
portNum | The port number |
fwBuffer | The buffer |
|
protected |
Handler base-class function for input port buffersIn.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 840 of file GenericHubComponentAc.cpp.
|
protected |
Invoke output port buffersOut.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 962 of file GenericHubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port dataIn.
portNum | The port number |
fwBuffer | The buffer |
|
protected |
Handler base-class function for input port dataIn.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 859 of file GenericHubComponentAc.cpp.
|
protected |
Invoke output port dataInDeallocate.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 977 of file GenericHubComponentAc.cpp.
|
protected |
Invoke output port dataOut.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 992 of file GenericHubComponentAc.cpp.
|
protected |
Invoke output port dataOutAllocate.
portNum | The port number |
size | The requested size |
Definition at line 1007 of file GenericHubComponentAc.cpp.
Fw::InputBufferSendPort * Svc::GenericHubComponentBase::get_buffersIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 326 of file GenericHubComponentAc.cpp.
Fw::InputBufferSendPort * Svc::GenericHubComponentBase::get_dataIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 337 of file GenericHubComponentAc.cpp.
Fw::InputLogPort * Svc::GenericHubComponentBase::get_LogRecv_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 304 of file GenericHubComponentAc.cpp.
Fw::InputSerializePort * Svc::GenericHubComponentBase::get_portIn_InputPort | ( | FwIndexType | portNum | ) |
Get serial input port at index
portNum | The port number |
Definition at line 352 of file GenericHubComponentAc.cpp.
Fw::InputTlmPort * Svc::GenericHubComponentBase::get_TlmRecv_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 315 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of bufferDeallocate output ports
Definition at line 650 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of buffersIn input ports
Definition at line 612 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of buffersOut output ports
Definition at line 656 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of dataIn input ports
Definition at line 618 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of dataInDeallocate output ports
Definition at line 662 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of dataOut output ports
Definition at line 668 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of dataOutAllocate output ports
Definition at line 674 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of LogRecv input ports
Definition at line 600 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of LogSend output ports
Definition at line 638 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of portIn input ports
Definition at line 628 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of portOut output ports
Definition at line 684 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of TlmRecv input ports
Definition at line 606 of file GenericHubComponentAc.cpp.
|
protected |
Get the number of TlmSend output ports
Definition at line 644 of file GenericHubComponentAc.cpp.
void Svc::GenericHubComponentBase::init | ( | FwEnumStoreType | instance = 0 | ) |
Initialize GenericHubComponentBase object.
instance | The instance number |
Definition at line 21 of file GenericHubComponentAc.cpp.
|
protected |
Check whether port bufferDeallocate is connected
portNum | The port number |
Definition at line 716 of file GenericHubComponentAc.cpp.
|
protected |
Check whether port buffersOut is connected
portNum | The port number |
Definition at line 727 of file GenericHubComponentAc.cpp.
|
protected |
Check whether port dataInDeallocate is connected
portNum | The port number |
Definition at line 738 of file GenericHubComponentAc.cpp.
|
protected |
Check whether port dataOut is connected
portNum | The port number |
Definition at line 749 of file GenericHubComponentAc.cpp.
|
protected |
Check whether port dataOutAllocate is connected
portNum | The port number |
Definition at line 760 of file GenericHubComponentAc.cpp.
|
protected |
Check whether port LogSend is connected
portNum | The port number |
Definition at line 694 of file GenericHubComponentAc.cpp.
|
protected |
Check whether port portOut is connected
portNum | The port number |
Definition at line 775 of file GenericHubComponentAc.cpp.
|
protected |
Check whether port TlmSend is connected
portNum | The port number |
Definition at line 705 of file GenericHubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port LogRecv.
portNum | The port number |
id | Log ID |
timeTag | Time Tag |
severity | The severity argument |
args | Buffer containing serialized log entry |
|
protected |
Handler base-class function for input port LogRecv.
portNum | The port number |
id | Log ID |
timeTag | Time Tag |
severity | The severity argument |
args | Buffer containing serialized log entry |
Definition at line 792 of file GenericHubComponentAc.cpp.
|
protected |
Invoke output port LogSend.
portNum | The port number |
id | Log ID |
timeTag | Time Tag |
severity | The severity argument |
args | Buffer containing serialized log entry |
Definition at line 907 of file GenericHubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port portIn.
portNum | The port number |
buffer | The serialization buffer |
|
protected |
Handler base-class function for input port portIn.
portNum | The port number |
buffer | The serialization buffer |
Definition at line 884 of file GenericHubComponentAc.cpp.
|
protected |
Invoke output port portOut.
portNum | The port number |
buffer | The serialization buffer |
Definition at line 1026 of file GenericHubComponentAc.cpp.
void Svc::GenericHubComponentBase::set_bufferDeallocate_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to bufferDeallocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 395 of file GenericHubComponentAc.cpp.
void Svc::GenericHubComponentBase::set_buffersOut_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to buffersOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 409 of file GenericHubComponentAc.cpp.
void Svc::GenericHubComponentBase::set_dataInDeallocate_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to dataInDeallocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 423 of file GenericHubComponentAc.cpp.
void Svc::GenericHubComponentBase::set_dataOut_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to dataOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 437 of file GenericHubComponentAc.cpp.
void Svc::GenericHubComponentBase::set_dataOutAllocate_OutputPort | ( | FwIndexType | portNum, |
Fw::InputBufferGetPort * | port | ||
) |
Connect port to dataOutAllocate[portNum].
portNum | The port number |
port | The input port |
Definition at line 451 of file GenericHubComponentAc.cpp.
void Svc::GenericHubComponentBase::set_LogSend_OutputPort | ( | FwIndexType | portNum, |
Fw::InputLogPort * | port | ||
) |
Connect port to LogSend[portNum].
portNum | The port number |
port | The input port |
Definition at line 367 of file GenericHubComponentAc.cpp.
void Svc::GenericHubComponentBase::set_TlmSend_OutputPort | ( | FwIndexType | portNum, |
Fw::InputTlmPort * | port | ||
) |
Connect port to TlmSend[portNum].
portNum | The port number |
port | The input port |
Definition at line 381 of file GenericHubComponentAc.cpp.
|
protectedpure virtual |
Handler for input port TlmRecv.
portNum | The port number |
id | Telemetry Channel ID |
timeTag | Time Tag |
val | Buffer containing serialized telemetry value |
|
protected |
Handler base-class function for input port TlmRecv.
portNum | The port number |
id | Telemetry Channel ID |
timeTag | Time Tag |
val | Buffer containing serialized telemetry value |
Definition at line 817 of file GenericHubComponentAc.cpp.
|
protected |
Invoke output port TlmSend.
portNum | The port number |
id | Telemetry Channel ID |
timeTag | Time Tag |
val | Buffer containing serialized telemetry value |
Definition at line 928 of file GenericHubComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 39 of file GenericHubComponentAc.hpp.