Eaagles::MovingMap::TilePager Class Reference

Inherits Eaagles::Basic::LcObject.

Inheritance diagram for Eaagles::MovingMap::TilePager:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::MovingMap::TilePager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TilePager ()
virtual void setSize (int tableSize=9, bool aUseLookUpTable=false)
void updateTiles (const int tRow, const int tCol)
void flushTiles ()
void setMap (Map *newMap)
TileIndexTablegetTable ()
CadrgTocEntry * getToc ()
virtual void setToc (CadrgTocEntry *x)

Private Member Functions

void freeTiles ()
void reuseTiles ()
void loadNewTiles ()

Private Attributes

Basic::LcList * stack
TileIndexTable table
int maxTableSize
Map * map
bool useLookUpTable
int row
int col
int diffRow
int diffCol
CadrgTocEntry * toc

Constructor & Destructor Documentation

Eaagles::MovingMap::TilePager::TilePager (  ) 

Constructor. Initializes parameters such as maximum table size, row, column etc.


Member Function Documentation

void Eaagles::MovingMap::TilePager::setSize ( int  tableSize = 9,
bool  aUseLookUpTable = false 
) [virtual]

Set the size of the pager.

void Eaagles::MovingMap::TilePager::updateTiles ( const int  tRow,
const int  tCol 
)

Update the tiles.

void Eaagles::MovingMap::TilePager::flushTiles (  ) 

Releases tile indices that are no longer used.

void Eaagles::MovingMap::TilePager::setMap ( Map *  newMap  ) 

Sets the map.

TileIndexTable& Eaagles::MovingMap::TilePager::getTable (  )  [inline]

Returns the tile index table.

CadrgTocEntry* Eaagles::MovingMap::TilePager::getToc (  )  [inline]

Returns the toc entry.

void Eaagles::MovingMap::TilePager::setToc ( CadrgTocEntry *  x  )  [virtual]

Sets the CadrgTocEntry to x.

void Eaagles::MovingMap::TilePager::freeTiles (  )  [private]

Frees up the unused tiles.

void Eaagles::MovingMap::TilePager::reuseTiles (  )  [private]

Reuses tiles.

void Eaagles::MovingMap::TilePager::loadNewTiles (  )  [private]


Member Data Documentation

Basic::LcList* Eaagles::MovingMap::TilePager::stack [private]

TileIndexTable Eaagles::MovingMap::TilePager::table [private]

int Eaagles::MovingMap::TilePager::maxTableSize [private]

Map* Eaagles::MovingMap::TilePager::map [private]

bool Eaagles::MovingMap::TilePager::useLookUpTable [private]

int Eaagles::MovingMap::TilePager::row [private]

int Eaagles::MovingMap::TilePager::col [private]

int Eaagles::MovingMap::TilePager::diffRow [private]

int Eaagles::MovingMap::TilePager::diffCol [private]

CadrgTocEntry* Eaagles::MovingMap::TilePager::toc [private]


Generated on Tue Dec 19 16:27:32 2006 for Eaagles by  doxygen 1.5.0