75 void FileDispatcher ::ENABLE_DISPATCH_cmdHandler(
FwOpcodeType opCode,
80 if (this->m_dispatchTable.
entries[i].
port == file_type) {
88 void FileDispatcher ::pingIn_handler(
FwIndexType portNum, U32 key) {
FwIdType FwOpcodeType
The type of a command opcode.
PlatformSizeType FwSizeType
void configure(const FileDispatcherTable &table)
configure the component
const char * toChar() const
Convert to a C-style char*.
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.
void log_ACTIVITY_HI_FileDispatchState(Svc::FileDispatcherCfg::FileDispatchPort file_type, Fw::Enabled enabled) const
Log event FileDispatchState.
Svc::FileDispatcherCfg::FileDispatchPort port
void fileDispatch_out(FwIndexType portNum, Fw::StringBase &file_name)
Invoke output port fileDispatch.
Enabled and disabled states.
Command successfully executed.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
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 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 log_ACTIVITY_HI_FileDispatched(const Fw::StringBase &file_name, Svc::FileDispatcherCfg::FileDispatchPort file_type) const
Log event FileDispatched.
PlatformAssertArgType FwAssertArgType
The type of arguments to assert functions.
~FileDispatcher()
Destroy FileDispatcher object.