5 #ifndef __DDS__BinaryAttachmentReceivedCmd__ 6 #define __DDS__BinaryAttachmentReceivedCmd__ 13 namespace protocol_api
SBinaryAttachmentReceivedCmd()
Definition: BinaryAttachmentReceivedCmd.cpp:12
std::string m_receivedFilePath
Path to the received file.
Definition: BinaryAttachmentReceivedCmd.h:23
Definition: BasicCmd.h:475
uint16_t m_srcCommand
Source command which initiated file transport.
Definition: BinaryAttachmentReceivedCmd.h:25
Definition: BinaryAttachmentReceivedCmd.h:15
uint32_t m_receivedFileSize
Number of recieved bytes.
Definition: BinaryAttachmentReceivedCmd.h:26
size_t size() const
Definition: BinaryAttachmentReceivedCmd.cpp:20
std::vector< unsigned char > BYTEVector_t
An STL vector of bytes.
Definition: def.h:124
std::string m_requestedFileName
Requested name of the file.
Definition: BinaryAttachmentReceivedCmd.h:24
Miscellaneous functions and helpers are located here.
Definition: AgentConnectionManager.h:13
std::ostream & operator<<(std::ostream &_stream, const SAgentsInfoCmd &_val)
Definition: AgentsInfoCmd.cpp:38
bool operator==(const SBinaryAttachmentReceivedCmd &_val) const
Definition: BinaryAttachmentReceivedCmd.cpp:26
bool operator!=(const SAgentsInfoCmd &_lhs, const SAgentsInfoCmd &_rhs)
Definition: AgentsInfoCmd.cpp:43
uint32_t m_downloadTime
Time spent to download file [microseconds].
Definition: BinaryAttachmentReceivedCmd.h:27
void _convertToData(dds::misc::BYTEVector_t *_data) const
Definition: BinaryAttachmentReceivedCmd.cpp:43
void _convertFromData(const dds::misc::BYTEVector_t &_data)
Definition: BinaryAttachmentReceivedCmd.cpp:33