MVBetweenPlacesObject Class Reference

Superclass for all BetweenPlacesObject's. More...

#include <MVBetweenPlacesObject.h>

Inheritance diagram for MVBetweenPlacesObject:

MVPlaceObject Object MVWall

List of all members.

Public Types

enum  Position {
  PosUndefined, PosN, PosE, PosS,
  PosW
}
 Enum data type for positions of the corresponding OnPlaceObject's. More...

Public Member Functions

 MVBetweenPlacesObject (const std::string &meshFilename, const std::string &textureFilename, const std::string &shaderFilename)
 Constructor with initial values.
virtual MVOnPlaceObjectgenerateOnPlaceObject (Position pos)=0
 Generates a corresponding OnPlaceObject.
virtual string toString () const
 Returns a textual representation.
virtual string className () const
 Returns the class name of the object.
virtual enum classId classId () const
 Returns the class id of the object.


Detailed Description

Superclass for all BetweenPlacesObject's.

All objects which can be put between two places (and not onto a place) inherit from this superclass. They are split into several OnPlaceObject's.


Member Enumeration Documentation

Enum data type for positions of the corresponding OnPlaceObject's.

Enumerator:
PosUndefined 
PosN 
PosE 
PosS 
PosW 


Constructor & Destructor Documentation

MVBetweenPlacesObject::MVBetweenPlacesObject ( const std::string &  meshFilename,
const std::string &  textureFilename,
const std::string &  shaderFilename 
)

Constructor with initial values.


Member Function Documentation

virtual MVOnPlaceObject* MVBetweenPlacesObject::generateOnPlaceObject ( Position  pos  )  [pure virtual]

Generates a corresponding OnPlaceObject.

Generates a corresponding OnPlaceObject.

Parameters:
pos Position at which the corresponding OnPlaceObject is used in a field.

Implemented in MVWall.

string MVBetweenPlacesObject::toString (  )  const [virtual]

Returns a textual representation.

Returns:
a string descriping the run-time object

Reimplemented from MVPlaceObject.

Reimplemented in MVWall.

string MVBetweenPlacesObject::className (  )  const [virtual]

Returns the class name of the object.

Returns:
a string with the name of the object's class

Reimplemented from MVPlaceObject.

Reimplemented in MVWall.

enum classId MVBetweenPlacesObject::classId (  )  const [virtual]

Returns the class id of the object.

Returns:
an id of the object's class

Reimplemented from MVPlaceObject.

Reimplemented in MVWall.


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

Generated on Mon Jul 7 13:30:34 2008 for Firefly by  doxygen 1.5.6