Pol  Revision:cb584c9
Pol::Plib::MapServer Class Referenceabstract

#include <mapserver.h>

+ Inheritance diagram for Pol::Plib::MapServer:

Public Member Functions

virtual ~MapServer ()
 
virtual MAPCELL GetMapCell (unsigned short x, unsigned short y) const =0
 
void GetMapShapes (MapShapeList &list, unsigned short x, unsigned short y, unsigned int anyflags) const
 
virtual size_t sizeEstimate () const
 

Static Public Member Functions

static MapServerCreate (const RealmDescriptor &descriptor)
 

Protected Member Functions

 MapServer (const RealmDescriptor &descriptor)
 

Protected Attributes

const RealmDescriptor _descriptor
 

Private Member Functions

 MapServer (const MapServer &)
 
void LoadFirstLevelIndex ()
 
void LoadSecondLevelIndex ()
 
void LoadSolids ()
 
MapServeroperator= (const MapServer &)
 

Private Attributes

std::vector< SOLIDX2_ELEM * > _index1
 
std::vector< SOLIDX2_ELEM_index2
 
std::vector< SOLIDS_ELEM_shapedata
 

Detailed Description

Definition at line 22 of file mapserver.h.

Constructor & Destructor Documentation

Pol::Plib::MapServer::~MapServer ( )
virtualdefault

Referenced by MapServer().

Pol::Plib::MapServer::MapServer ( const RealmDescriptor descriptor)
explicitprotected
Pol::Plib::MapServer::MapServer ( const MapServer )
private

Member Function Documentation

MapServer * Pol::Plib::MapServer::Create ( const RealmDescriptor descriptor)
static
virtual MAPCELL Pol::Plib::MapServer::GetMapCell ( unsigned short  x,
unsigned short  y 
) const
pure virtual
void Pol::Plib::MapServer::LoadSolids ( )
private
MapServer& Pol::Plib::MapServer::operator= ( const MapServer )
private
size_t Pol::Plib::MapServer::sizeEstimate ( ) const
virtual

Member Data Documentation

std::vector<SOLIDX2_ELEM*> Pol::Plib::MapServer::_index1
private

Definition at line 41 of file mapserver.h.

Referenced by GetMapShapes(), LoadFirstLevelIndex(), and sizeEstimate().

std::vector<SOLIDX2_ELEM> Pol::Plib::MapServer::_index2
private

Definition at line 42 of file mapserver.h.

Referenced by LoadFirstLevelIndex(), LoadSecondLevelIndex(), and sizeEstimate().

std::vector<SOLIDS_ELEM> Pol::Plib::MapServer::_shapedata
private

Definition at line 43 of file mapserver.h.

Referenced by GetMapShapes(), LoadSecondLevelIndex(), LoadSolids(), and sizeEstimate().


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