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

Public Member Functions | |
| RootEntity () | |
| Construct a RootEntity instance. | |
| virtual | ~RootEntity () |
| Default destructor. | |
| virtual bool | hasAttr (const std::string &name) const |
| Check whether the attribute "name" exists. | |
| virtual Atlas::Message::Element | getAttr (const std::string &name) const throw (NoSuchAttrException) |
| Retrieve the attribute "name". | |
| virtual void | setAttr (const std::string &name, const Atlas::Message::Element &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::Element | asObject () const |
| Convert this object to a Message::Element. | |
| virtual Atlas::Message::Element::MapType | asMap () const |
| Convert this object to a Message::Element::MapType. | |
| void | setLoc (const std::string &val) |
| Set the "loc" attribute. | |
| void | setPos (const Atlas::Message::Element::ListType &val) |
| Set the "pos" attribute. | |
| void | setVelocity (const Atlas::Message::Element::ListType &val) |
| Set the "velocity" attribute. | |
| void | setContains (const Atlas::Message::Element::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::Element::ListType & | getPos () const |
| Retrieve the "pos" attribute. | |
| Atlas::Message::Element::ListType & | getPos () |
| Retrieve the "pos" attribute as a non-const reference. | |
| const Atlas::Message::Element::ListType & | getVelocity () const |
| Retrieve the "velocity" attribute. | |
| Atlas::Message::Element::ListType & | getVelocity () |
| Retrieve the "velocity" attribute as a non-const reference. | |
| const Atlas::Message::Element::ListType & | getContains () const |
| Retrieve the "contains" attribute. | |
| Atlas::Message::Element::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 | Class () |
| Create a new class for RootEntity. | |
Protected Member Functions | |
| RootEntity (const char *, const char *) | |
| Constructor for sub-classes. | |
| 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::Element::ListType | attr_pos |
| Atlas::Message::Element::ListType | attr_velocity |
| Atlas::Message::Element::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.