50 static_cast<FwAssertArgType>(this->m_dispatchTable.numEntries));
81 void FileDispatcher ::ENABLE_DISPATCH_cmdHandler(
FwOpcodeType opCode,
86 static_cast<FwAssertArgType>(this->m_dispatchTable.numEntries));
88 if (this->m_dispatchTable.
entries[i].
port == file_type) {
96 void FileDispatcher ::pingIn_handler(
FwIndexType portNum, U32 key) {
FwIdType FwOpcodeType
The type of a command opcode.
bool isConnected_fileDispatch_OutputPort(FwIndexType portNum) const
PlatformSizeType FwSizeType
void configure(const FileDispatcherTable &table)
configure the component
FileDispatcherEntry entries[Svc::FileDispatcherCfg::FILE_DISPATCHER_MAX_TABLE_SIZE]
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
FileDispatcher(const char *const compName)
Construct FileDispatcher object.
Svc::FileDispatcherCfg::FileDispatchPort port
void log_WARNING_LO_FileDispatchPortNotConnected(const Fw::StringBase &file_name, const Svc::FileDispatcherCfg::FileDispatchPort &file_type)
Log event FileDispatchPortNotConnected.
void log_ACTIVITY_HI_FileDispatchState(const Svc::FileDispatcherCfg::FileDispatchPort &file_type, const Fw::Enabled &enabled) const
Log event FileDispatchState.
const char * toChar() const
Convert to a C-style char*.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
Enabled and disabled states.
Command successfully executed.
FwSignedSizeType substring_find_last(const CHAR *source_string, FwSizeType source_size, const CHAR *sub_string, FwSizeType sub_size)
find the last occurrence of a substring
void log_ACTIVITY_HI_FileDispatched(const Fw::StringBase &file_name, const Svc::FileDispatcherCfg::FileDispatchPort &file_type) const
Log event FileDispatched.
enum T e
The raw enum value.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
PlatformIndexType FwIndexType
Auto-generated base for FileDispatcher component.
bool isValid() const
Check raw enum value for validity.
RateGroupDivider component implementation.
virtual SizeType length() const
Get the length of the string.
void fileDispatch_out(FwIndexType portNum, Fw::StringBase &file_name) const
Invoke output port fileDispatch.
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
~FileDispatcher()
Destroy FileDispatcher object.