se_core::Encoder Class Reference

Base class for encoder modules. More...

#include <Encoder.hpp>

Inheritance diagram for se_core::Encoder:

se_basic::SimpleAreaThingEncoder se_client::PlayerEncoder se_core::EncodeManager List of all members.

Public Member Functions

 Encoder (se_core::EncodeManager &encoder, unsigned char group, unsigned char code, int version)
 Encoder (unsigned char group, unsigned char code, int version)
virtual ~Encoder ()
int headerCode () const
unsigned int headerCode (char moduleGroup, char moduleCode, int moduleVersion) const
virtual void encode (OutputStream &out)=0
virtual bool isLast () const

Detailed Description

Base class for encoder modules.

Definition at line 30 of file Encoder.hpp.


Constructor & Destructor Documentation

se_core::Encoder::Encoder se_core::EncodeManager encoder,
unsigned char  group,
unsigned char  code,
int  version
 

Definition at line 29 of file Encoder.cpp.

References se_core::EncodeManager::add().

se_core::Encoder::Encoder unsigned char  group,
unsigned char  code,
int  version
 

Definition at line 36 of file Encoder.cpp.

se_core::Encoder::~Encoder  )  [virtual]
 

Definition at line 41 of file Encoder.cpp.


Member Function Documentation

virtual void se_core::Encoder::encode OutputStream out  )  [pure virtual]
 

Implemented in se_core::EncodeManager.

Referenced by se_core::EncodeManager::encode().

unsigned int se_core::Encoder::headerCode char  moduleGroup,
char  moduleCode,
int  moduleVersion
const
 

Definition at line 45 of file Encoder.cpp.

References log_msg(), and LogDetail.

int se_core::Encoder::headerCode  )  const
 

Definition at line 54 of file Encoder.cpp.

virtual bool se_core::Encoder::isLast  )  const [inline, virtual]
 

Reimplemented in se_client::PlayerEncoder.

Definition at line 39 of file Encoder.hpp.


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:24 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo