|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Methods:
- WorldC()
-
Default constructor.
| ind | Index of types of intererest. |
Creates an invalid handle.
- WorldC(StringC name)
-
Constructor.
| ind | Index of types of intererest. |
- ObjectC Object(const VLSymbC & x)
-
Find object.
| ind | Index of types of intererest. |
Will return an invalid object if not found.
- PortalC Portal(const VLSymbC & x)
-
Find portal.
| ind | Index of types of intererest. |
Will return an invalid portal if not found.
- RoomC Room(const StringC & roomNm)
-
Get room by name.
| ind | Index of types of intererest. |
(SLOW).
- GraphNodeHC<RoomC,PortalC> RoomNode(const RoomC & at)
-
Get room node.
| ind | Index of types of intererest. |
- PlayerC AddPlayer(StringC name,const RoomC & where)
-
Add a new player to the world.
| ind | Index of types of intererest. |
returns a handle to the player.
- const VLSymbC & Goal() const
-
Get goal for world.
| ind | Index of types of intererest. |
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<WorldBodyC> & operator=(const RCHandleC<WorldBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<WorldBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<WorldBodyC> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- void Invalidate()
-
Turn this into an invalid handle.
- WorldBodyC & Body()
-
Direct access to body.
- const WorldBodyC & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|