OSDL::Engine::WorldObject Class Reference

World objects are to be used to describe all objects a virtual world can contain. More...

#include <OSDLWorldObject.h>

List of all members.

Public Member Functions

 WorldObject ()
 Constructs a new blank world object.
virtual ~WorldObject () throw ()
 Virtual destructor.
virtual const std::string toString (Ceylan::VerbosityLevels level=Ceylan::high) const
 Returns an user-friendly description of the state of this object.

Detailed Description

World objects are to be used to describe all objects a virtual world can contain.

Whereas world objects are meant to be passive by default (they do not get a slice of CPU time during which they live), using some specific child classes allows to have active world objects.

Basic world objects will not therefore act by themselves, which does not imply they cannot achieve complex trigger-based behaviours. For example if a stone on the ground may not require periodic processings, as it remains static, it can be though taken into account as soon as it is grabbed and thrown.

World objects are models, in the sense of the Model-Controller-View framework.

See also:
Ceylan::Model

Definition at line 67 of file OSDLWorldObject.h.


Constructor & Destructor Documentation

WorldObject::WorldObject (  ) 

Constructs a new blank world object.

Definition at line 37 of file OSDLWorldObject.cc.

WorldObject::~WorldObject (  )  throw () [virtual]

Virtual destructor.

Definition at line 45 of file OSDLWorldObject.cc.


Member Function Documentation

const string WorldObject::toString ( Ceylan::VerbosityLevels  level = Ceylan::high  )  const [virtual]

Returns an user-friendly description of the state of this object.

Parameters:
level the requested verbosity level.
Note:
Text output format is determined from overall settings.
See also:
Ceylan::TextDisplayable

Definition at line 52 of file OSDLWorldObject.cc.


The documentation for this class was generated from the following files:
Generated on Mon Nov 29 14:05:46 2010 for OSDL by  doxygen 1.6.3