orxonox::SpawnPoint Class Reference

#include <src/orxonox/objects/worldentities/SpawnPoint.h>

Inheritance diagram for orxonox::SpawnPoint:

orxonox::StaticEntity orxonox::WorldEntity orxonox::BaseObject orxonox::Synchronisable orxonox::OrxonoxClass orxonox::OrxonoxClass orxonox::TeamSpawnPoint

List of all members.

Public Member Functions

IdentifiergetSpawnClass () const
TemplategetTemplate () const
void setSpawnClass (Identifier *identifier)
void setTemplate (Template *temp)
void spawn (ControllableEntity *entity)
Pawnspawn ()
 SpawnPoint (BaseObject *creator)
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 XML loading and saving.
virtual ~SpawnPoint ()

Private Member Functions

const std::stringgetSpawnClassName () const
const std::stringgetTemplateName () const
void setSpawnClassName (const std::string &name)
void setTemplateName (const std::string &name)

Private Attributes

SubclassIdentifier< Pawnspawnclass_
std::string spawnclassname_
Templatetemplate_
std::string templatename_


Constructor & Destructor Documentation

orxonox::SpawnPoint::SpawnPoint ( BaseObject creator  ) 

virtual orxonox::SpawnPoint::~SpawnPoint (  )  [inline, virtual]


Member Function Documentation

Identifier* orxonox::SpawnPoint::getSpawnClass (  )  const [inline]

const std::string& orxonox::SpawnPoint::getSpawnClassName (  )  const [inline, private]

Referenced by XMLPort().

Template* orxonox::SpawnPoint::getTemplate (  )  const [inline]

const std::string& orxonox::SpawnPoint::getTemplateName (  )  const [inline, private]

Referenced by XMLPort().

void orxonox::SpawnPoint::setSpawnClass ( Identifier identifier  )  [inline]

void orxonox::SpawnPoint::setSpawnClassName ( const std::string name  )  [private]

References ClassByString, spawnclass_, and spawnclassname_.

Referenced by XMLPort().

void orxonox::SpawnPoint::setTemplate ( Template temp  ) 

void orxonox::SpawnPoint::setTemplateName ( const std::string name  )  [private]

void orxonox::SpawnPoint::spawn ( ControllableEntity entity  ) 

Pawn * orxonox::SpawnPoint::spawn (  ) 

void orxonox::SpawnPoint::XMLPort ( Element &  xmlelement,
XMLPort::Mode  mode 
) [virtual]

XML loading and saving.

Parameters:
xmlelement The XML-element
loading Loading (true) or saving (false)
Returns:
The XML-element

Reimplemented from orxonox::WorldEntity.

Reimplemented in orxonox::TeamSpawnPoint.

References getSpawnClassName(), getTemplateName(), setSpawnClassName(), setTemplateName(), SUPER, and XMLPortParam.


Member Data Documentation

Referenced by setSpawnClassName(), and spawn().

Referenced by setSpawnClassName().

Referenced by setTemplate(), and setTemplateName().


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

Generated on Tue Jul 28 16:23:05 2009 for Orxonox by  doxygen 1.5.6