#include <C4PacketBase.h>
Public Member Functions | |
C4PktBuf () | |
C4PktBuf (const C4PktBuf &rCopy) | |
C4PktBuf (const StdBuf &rCpyData) | |
C4PktBuf & | operator= (const C4PktBuf &rCopy) |
C4PktBuf & | operator= (const StdBuf &rCopy) |
size_t | getSize () const |
const void * | getData () const |
void | CompileFunc (StdCompiler *pComp) override |
C4NetIOPacket | pack (const C4NetIO::addr_t &addr=C4NetIO::addr_t()) const |
C4NetIOPacket | pack (uint8_t cStatus, const C4NetIO::addr_t &addr=C4NetIO::addr_t()) const |
void | unpack (const C4NetIOPacket &Pkt, char *pStatus=nullptr) |
Protected Attributes | |
StdCopyBuf | Data |
Definition at line 223 of file C4PacketBase.h.
|
default |
|
inline |
Definition at line 229 of file C4PacketBase.h.
|
inline |
Definition at line 230 of file C4PacketBase.h.
|
overridevirtual |
Implements C4PacketBase.
Definition at line 182 of file C4Packet2.cpp.
References Data, mkNamingAdapt(), and StdCompiler::Value().
Referenced by C4PktDebugRec::CompileFunc().
|
inline |
Definition at line 235 of file C4PacketBase.h.
References Data, and StdBuf::getData().
Referenced by C4Playback::Check().
|
inline |
Definition at line 234 of file C4PacketBase.h.
References Data, and StdBuf::getSize().
Referenced by C4Playback::Check().
Definition at line 176 of file C4Packet2.cpp.
References StdBuf::Copy(), and Data.
Definition at line 171 of file C4Packet2.cpp.
References StdBuf::Copy(), and Data.
|
inherited |
Definition at line 150 of file C4Packet2.cpp.
Referenced by MkC4NetIOPacket().
|
inherited |
Definition at line 155 of file C4Packet2.cpp.
References mkDecompileAdapt(), and mkInsertAdapt().
|
inherited |
Definition at line 160 of file C4Packet2.cpp.
References C4NetIOPacket::getPBuf(), C4NetIOPacket::getRef(), and C4NetIOPacket::getStatus().
Referenced by C4IDPacket::C4IDPacket(), and C4Network2IO::HandlePacket().
|
protected |
Definition at line 226 of file C4PacketBase.h.
Referenced by CompileFunc(), getData(), getSize(), and operator=().