BitmapLayer Class Reference

#include <Ample.h>

Inheritance diagram for BitmapLayer:
Inheritance graph
[legend]
Collaboration diagram for BitmapLayer:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Observer
< BitmapLayerObserver
ObserverType
typedef std::vector
< BitmapLayerObserver * > 
ObserverList

Public Member Functions

void destroy (void)
void getTile (uint16 tileX, uint16 tileY, uint16 z, VNBTile &tile)
void setTile (uint16 tileX, uint16 tileY, uint16 z, const VNBTile &tile)
VLayerID getID (void) const
const std::string & getName (void) const
VNBLayerType getType (void) const
BitmapNodegetNode (void) const
unsigned int getDataVersion (void) const
unsigned int getStructureVersion (void) const
void addObserver (BitmapLayerObserver &observer)
void removeObserver (BitmapLayerObserver &observer)
void removeObserver (Observer< BitmapLayerObserver > &observer)
const ObserverListgetObservers (void) const

Friends

class BitmapNode

Detailed Description

Remarks:
Not finished.

Member Typedef Documentation

typedef std::vector<BitmapLayerObserver *> ObserverList [inherited]
typedef Observer<BitmapLayerObserver > ObserverType [inherited]

Member Function Documentation

void addObserver ( BitmapLayerObserver observer  )  [inline, inherited]

Adds the specified observer to this object.

Parameters:
observer The observer to add.
Remarks:
An observer can only be added once. Additional additions are ignored.
void destroy ( void   ) 
unsigned int getDataVersion ( void   )  const [inherited]
Returns:
The current version of the internal state.
Remarks:
This value is updated for any kind of change.
VLayerID getID ( void   )  const
const std::string& getName ( void   )  const
BitmapNode& getNode ( void   )  const
const ObserverList& getObservers ( void   )  const [inline, inherited]
Returns:
The list of observers attached to this object.
unsigned int getStructureVersion ( void   )  const [inherited]
Returns:
The current version of the internal structure.
Remarks:
This value is only updated when the internal structure changes.
void getTile ( uint16  tileX,
uint16  tileY,
uint16  z,
VNBTile &  tile 
)
VNBLayerType getType ( void   )  const
void removeObserver ( Observer< BitmapLayerObserver > &  observer  )  [inline, inherited]

Removes the specified observer from this object.

Parameters:
observer The observer to remove.
void removeObserver ( BitmapLayerObserver observer  )  [inline, inherited]

Removes the specified observer from this object.

Parameters:
observer The observer to remove.
void setTile ( uint16  tileX,
uint16  tileY,
uint16  z,
const VNBTile &  tile 
)

Friends And Related Function Documentation

friend class BitmapNode [friend]

Reimplemented from Versioned.


Generated on Thu Nov 19 20:19:29 2009 for Ample by  doxygen 1.6.1