Pol  Revision:cb584c9
Pol::Network::PacketWriterDefs::PacketTemplate< _id, _size > Class Template Reference

#include <packets.h>

+ Inheritance diagram for Pol::Network::PacketWriterDefs::PacketTemplate< _id, _size >:

Public Member Functions

 PacketTemplate ()
virtual void ReSetBuffer () POL_OVERRIDE
- Public Member Functions inherited from Pol::Network::PacketWriterDefs::PacketWriter< _id, _size >
virtual size_t estimateSize () const POL_OVERRIDE
virtual char * getBuffer () POL_OVERRIDE
virtual u8 getID () const POL_OVERRIDE
virtual u16 getSize () const POL_OVERRIDE
std::enable_if< std::is_same< T, N >::value, void >::type Write (N x)
std::enable_if<!std::is_same< T, N >::value, void >::type Write (N x)
void Write (const char *x, u16 len, bool nullterm=true)
void Write (u8 x[], u16 len)
void Write (const u16 *x, u16 len, bool nullterm=true)
std::enable_if< std::is_same< T, N >::value, void >::type WriteFlipped (N x)
std::enable_if<!std::is_same< T, N >::value, void >::type WriteFlipped (N x)
void WriteFlipped (const u16 *x, u16 len, bool nullterm=true)
- Public Member Functions inherited from Pol::Network::PacketInterface
 PacketInterface ()
virtual ~PacketInterface ()
virtual u16 getSubID () const

Additional Inherited Members

- Public Attributes inherited from Pol::Network::PacketWriterDefs::PacketWriter< _id, _size >
char buffer [SIZE]
- Public Attributes inherited from Pol::Network::PacketInterface
u16 offset
- Static Public Attributes inherited from Pol::Network::PacketWriterDefs::PacketWriter< _id, _size >
static const u8 ID
static const u16 SIZE
static const u16 SUB

Detailed Description

template<u8 _id, u16 _size>
class Pol::Network::PacketWriterDefs::PacketTemplate< _id, _size >

Definition at line 296 of file packets.h.

Constructor & Destructor Documentation

template<u8 _id, u16 _size>
Pol::Network::PacketWriterDefs::PacketTemplate< _id, _size >::PacketTemplate ( )

Definition at line 299 of file packets.h.

Member Function Documentation

template<u8 _id, u16 _size>
virtual void Pol::Network::PacketWriterDefs::PacketTemplate< _id, _size >::ReSetBuffer ( )

Reimplemented from Pol::Network::PacketInterface.

Definition at line 300 of file packets.h.

The documentation for this class was generated from the following file: