13 namespace SendFileRequestPortStrings {
91 return sizeof(this->m_buf);
124 this->m_func = funcPtr;
136 #if FW_PORT_TRACING == 1
143 return this->m_func(this->
m_comp, this->
m_portNum, sourceFileName, destFileName, offset, length);
146 #if FW_PORT_SERIALIZATION == 1
166 Fw::OutputPortBase(),
183 this->m_port = callPort;
186 #if FW_PORT_SERIALIZATION == 1
187 this->m_serPort =
nullptr;
199 #if FW_PORT_TRACING == 1
204 return this->m_port->
invoke(sourceFileName, destFileName, offset, length);
PlatformUIntType NATIVE_UINT_TYPE
virtual const CHAR * toChar() const =0
Svc::SendFileResponse invoke(const SendFileRequestPortStrings::StringSize100 &sourceFileName, const SendFileRequestPortStrings::StringSize100 &destFileName, U32 offset, U32 length)
Invoke a port interface.
void init()
Initialization function.
void addCallPort(InputSendFileRequestPort *callPort)
Register an input port.
OutputSendFileRequestPort()
Constructor.
const char * toChar() const
Retrieves char buffer of string.
StringSize100()
Default constructor.
StringSize100 & operator=(const StringSize100 &other)
Copy assignment operator.
~StringSize100()
Destructor.
NATIVE_UINT_TYPE getCapacity() const
return size of buffer
Send file response struct.
char * string_copy(char *destination, const char *source, U32 num)
copy string with null-termination guaranteed
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.