#include <RootEntity.h>
Inheritance diagram for Atlas::Objects::Entity::RootEntity:

Public Member Functions | |
| RootEntity () | |
| Construct a RootEntity class definition. | |
| virtual | ~RootEntity () |
| Default destructor. | |
| virtual bool | HasAttr (const std::string &name) const |
| Check whether the attribute "name" exists. | |
| virtual Atlas::Message::Object | GetAttr (const std::string &name) const throw (NoSuchAttrException) |
| Retrieve the attribute "name". | |
| virtual void | SetAttr (const std::string &name, const Atlas::Message::Object &attr) |
| Set the attribute "name" to the value given by"attr". | |
| virtual void | RemoveAttr (const std::string &name) |
| Remove the attribute "name". This will not work for static attributes. | |
| virtual void | SendContents (Atlas::Bridge *b) const |
| Send the contents of this object to a Bridge. | |
| virtual Atlas::Message::Object | AsObject () const |
| Convert this object to a Message::Object. | |
| virtual Atlas::Message::Object::MapType | AsMap () const |
| Convert this object to a Message::Object::MapType. | |
| void | SetLoc (const std::string &val) |
| Set the "loc" attribute. | |
| void | SetPos (const Atlas::Message::Object::ListType &val) |
| Set the "pos" attribute. | |
| void | SetVelocity (const Atlas::Message::Object::ListType &val) |
| Set the "velocity" attribute. | |
| void | SetContains (const Atlas::Message::Object::ListType &val) |
| Set the "contains" attribute. | |
| void | SetStampContains (double val) |
| Set the "stamp_contains" attribute. | |
| const std::string & | GetLoc () const |
| Retrieve the "loc" attribute. | |
| std::string & | GetLoc () |
| Retrieve the "loc" attribute as a non-const reference. | |
| const Atlas::Message::Object::ListType & | GetPos () const |
| Retrieve the "pos" attribute. | |
| Atlas::Message::Object::ListType & | GetPos () |
| Retrieve the "pos" attribute as a non-const reference. | |
| const Atlas::Message::Object::ListType & | GetVelocity () const |
| Retrieve the "velocity" attribute. | |
| Atlas::Message::Object::ListType & | GetVelocity () |
| Retrieve the "velocity" attribute as a non-const reference. | |
| const Atlas::Message::Object::ListType & | GetContains () const |
| Retrieve the "contains" attribute. | |
| Atlas::Message::Object::ListType & | GetContains () |
| Retrieve the "contains" attribute as a non-const reference. | |
| double | GetStampContains () const |
| Retrieve the "stamp_contains" attribute. | |
| double & | GetStampContains () |
| Retrieve the "stamp_contains" attribute as a non-const reference. | |
Static Public Member Functions | |
| RootEntity | Instantiate () |
| Create a new instance of RootEntity. | |
Protected Member Functions | |
| RootEntity (const std::string &, const std::string &) | |
| void | SendLoc (Atlas::Bridge *) const |
| void | SendPos (Atlas::Bridge *) const |
| void | SendVelocity (Atlas::Bridge *) const |
| void | SendContains (Atlas::Bridge *) const |
| void | SendStampContains (Atlas::Bridge *) const |
Protected Attributes | |
| std::string | attr_loc |
| Atlas::Message::Object::ListType | attr_pos |
| Atlas::Message::Object::ListType | attr_velocity |
| Atlas::Message::Object::ListType | attr_contains |
| double | attr_stamp_contains |
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
|
|
Retrieve the attribute "name". Throws NoSuchAttrException if it does not exist. Reimplemented from Atlas::Objects::Root. Reimplemented in Atlas::Objects::Entity::Account, and Atlas::Objects::Entity::Player. |
Copyright 2000 the respective authors.
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.