IMG_TileMemBuf Class Reference

#include <IMG_TileMemBuf.h>

Inheritance diagram for IMG_TileMemBuf:

IMG_TileBuffer

List of all members.

Public Member Functions

 IMG_TileMemBuf ()
 IMG_TileMemBuf (int key_num, int size)
 ~IMG_TileMemBuf ()
virtual int getTileWidth () const
virtual int getTileHeight () const
virtual void setQuitFlag (int val=1)
virtual int getQuitFlag () const
virtual void setMouseXY (int x, int y)
virtual void getMouseXY (int &x, int &y) const
virtual int canWriteTile () const
virtual int canReadTile () const
void resetMem ()
int createMem (int tileWidth, int tileHeight, unsigned maxmemory=IMG_MAXRAM)
virtual void writeTile (int xl, int xr, int yb, int yt, const void *data)
virtual void readTile (IMG_Raster &rp, int *coords=0)
virtual void getKeyString (char *str)
int getKey () const
int getSize () const
virtual int getInt (int offset) const

Protected Member Functions

virtual void bump (int offset)
virtual void setTileSize (int w, int h)
virtual void setInt (int offset, int value)


Detailed Description

Definition at line 65 of file IMG_TileMemBuf.h.


Constructor & Destructor Documentation

IMG_TileMemBuf::IMG_TileMemBuf (  ) 

IMG_TileMemBuf::IMG_TileMemBuf ( int  key_num,
int  size 
)

IMG_TileMemBuf::~IMG_TileMemBuf (  ) 


Member Function Documentation

virtual void IMG_TileMemBuf::bump ( int  offset  )  [inline, protected, virtual]

Definition at line 114 of file IMG_TileMemBuf.h.

virtual int IMG_TileMemBuf::canReadTile (  )  const [inline, virtual]

Implements IMG_TileBuffer.

Definition at line 94 of file IMG_TileMemBuf.h.

virtual int IMG_TileMemBuf::canWriteTile (  )  const [inline, virtual]

Implements IMG_TileBuffer.

Definition at line 90 of file IMG_TileMemBuf.h.

int IMG_TileMemBuf::createMem ( int  tileWidth,
int  tileHeight,
unsigned  maxmemory = IMG_MAXRAM 
)

virtual int IMG_TileMemBuf::getInt ( int  offset  )  const [virtual]

int IMG_TileMemBuf::getKey (  )  const [inline]

Definition at line 108 of file IMG_TileMemBuf.h.

virtual void IMG_TileMemBuf::getKeyString ( char *  str  )  [virtual]

Implements IMG_TileBuffer.

virtual void IMG_TileMemBuf::getMouseXY ( int &  x,
int &  y 
) const [inline, virtual]

Implements IMG_TileBuffer.

Definition at line 84 of file IMG_TileMemBuf.h.

virtual int IMG_TileMemBuf::getQuitFlag (  )  const [inline, virtual]

Implements IMG_TileBuffer.

Definition at line 77 of file IMG_TileMemBuf.h.

int IMG_TileMemBuf::getSize ( void   )  const [inline]

Definition at line 109 of file IMG_TileMemBuf.h.

virtual int IMG_TileMemBuf::getTileHeight (  )  const [inline, virtual]

Implements IMG_TileBuffer.

Definition at line 74 of file IMG_TileMemBuf.h.

virtual int IMG_TileMemBuf::getTileWidth (  )  const [inline, virtual]

Implements IMG_TileBuffer.

Definition at line 73 of file IMG_TileMemBuf.h.

virtual void IMG_TileMemBuf::readTile ( IMG_Raster rp,
int *  coords = 0 
) [virtual]

Implements IMG_TileBuffer.

void IMG_TileMemBuf::resetMem (  ) 

virtual void IMG_TileMemBuf::setInt ( int  offset,
int  value 
) [protected, virtual]

virtual void IMG_TileMemBuf::setMouseXY ( int  x,
int  y 
) [inline, virtual]

Implements IMG_TileBuffer.

Definition at line 79 of file IMG_TileMemBuf.h.

virtual void IMG_TileMemBuf::setQuitFlag ( int  val = 1  )  [inline, virtual]

Implements IMG_TileBuffer.

Definition at line 76 of file IMG_TileMemBuf.h.

virtual void IMG_TileMemBuf::setTileSize ( int  w,
int  h 
) [inline, protected, virtual]

Implements IMG_TileBuffer.

Definition at line 118 of file IMG_TileMemBuf.h.

virtual void IMG_TileMemBuf::writeTile ( int  xl,
int  xr,
int  yb,
int  yt,
const void *  data 
) [virtual]

Implements IMG_TileBuffer.


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

Generated on Fri May 25 00:10:30 2012 for HDK by  doxygen 1.5.9