Atlas
0.7.0
Networking protocol for the Worldforge system.
|
Character sees something. More...
#include <Operation.h>
Public Member Functions | |
SightData * | copy () const override |
Copy this object. More... | |
bool | instanceOf (int classNo) const override |
Is this instance of some class? More... | |
int | copyAttr (const std::string &name, Atlas::Message::Element &attr) const override |
void | setAttr (std::string name, Atlas::Message::Element attr, const Atlas::Objects::Factories *factories=nullptr) override |
Set the attribute "name" to the value given by"attr". More... | |
void | removeAttr (const std::string &name) override |
Remove the attribute "name". This will not work for static attributes. More... | |
void | sendContents (Atlas::Bridge &b) const override |
Send the contents of this object to a Bridge. More... | |
void | addToMessage (Atlas::Message::MapType &) const override |
Write this object to an existing Element. More... | |
void | setSerialno (std::int64_t val) |
Set the "serialno" attribute. More... | |
void | setRefno (std::int64_t val) |
Set the "refno" attribute. More... | |
void | setFrom (std::string val) |
Set the "from" attribute. More... | |
void | setTo (std::string val) |
Set the "to" attribute. More... | |
void | setSeconds (double val) |
Set the "seconds" attribute. More... | |
void | setFutureSeconds (double val) |
Set the "future_seconds" attribute. More... | |
void | setArgs (std::vector< Root > val) |
Set the "args" attribute. More... | |
void | setArgsAsList (const Atlas::Message::ListType &val, const Atlas::Objects::Factories *factories) |
Set the "args" attribute AsList. More... | |
void | setArgsAsList (Atlas::Message::ListType &&val, const Atlas::Objects::Factories *factories) |
Set the "args" attribute AsList through move. More... | |
template<class ObjectData > | |
void | setArgs1 (SmartPtr< ObjectData > val) |
Set the first member of "args". More... | |
std::int64_t | getSerialno () const |
Retrieve the "serialno" attribute. More... | |
std::int64_t & | modifySerialno () |
Retrieve the "serialno" attribute as a non-const reference. More... | |
std::int64_t | getRefno () const |
Retrieve the "refno" attribute. More... | |
std::int64_t & | modifyRefno () |
Retrieve the "refno" attribute as a non-const reference. More... | |
const std::string & | getFrom () const |
Retrieve the "from" attribute. More... | |
std::string & | modifyFrom () |
Retrieve the "from" attribute as a non-const reference. More... | |
const std::string & | getTo () const |
Retrieve the "to" attribute. More... | |
std::string & | modifyTo () |
Retrieve the "to" attribute as a non-const reference. More... | |
double | getSeconds () const |
Retrieve the "seconds" attribute. More... | |
double & | modifySeconds () |
Retrieve the "seconds" attribute as a non-const reference. More... | |
double | getFutureSeconds () const |
Retrieve the "future_seconds" attribute. More... | |
double & | modifyFutureSeconds () |
Retrieve the "future_seconds" attribute as a non-const reference. More... | |
const std::vector< Root > & | getArgs () const |
Retrieve the "args" attribute. More... | |
std::vector< Root > & | modifyArgs () |
Retrieve the "args" attribute as a non-const reference. More... | |
Atlas::Message::ListType | getArgsAsList () const |
Retrieve the "args" attribute AsList. More... | |
bool | isDefaultSerialno () const |
Is "serialno" value default? More... | |
bool | isDefaultRefno () const |
Is "refno" value default? More... | |
bool | isDefaultFrom () const |
Is "from" value default? More... | |
bool | isDefaultTo () const |
Is "to" value default? More... | |
bool | isDefaultSeconds () const |
Is "seconds" value default? More... | |
bool | isDefaultFutureSeconds () const |
Is "future_seconds" value default? More... | |
bool | isDefaultArgs () const |
Is "args" value default? More... | |
void | setId (std::string val) |
Set the "id" attribute. More... | |
void | setParent (std::string val) |
Set the "parent" attribute. More... | |
void | setStamp (double val) |
Set the "stamp" attribute. More... | |
void | setObjtype (std::string val) |
Set the "objtype" attribute. More... | |
void | setName (std::string val) |
Set the "name" attribute. More... | |
const std::string & | getId () const |
Retrieve the "id" attribute. More... | |
std::string & | modifyId () |
Retrieve the "id" attribute as a non-const reference. More... | |
const std::string & | getParent () const |
Retrieve the "parent" attribute. More... | |
std::string & | modifyParent () |
Retrieve the "parent" attribute as a non-const reference. More... | |
double | getStamp () const |
Retrieve the "stamp" attribute. More... | |
double & | modifyStamp () |
Retrieve the "stamp" attribute as a non-const reference. More... | |
const std::string & | getObjtype () const |
Retrieve the "objtype" attribute. More... | |
std::string & | modifyObjtype () |
Retrieve the "objtype" attribute as a non-const reference. More... | |
const std::string & | getName () const |
Retrieve the "name" attribute. More... | |
std::string & | modifyName () |
Retrieve the "name" attribute as a non-const reference. More... | |
bool | isDefaultId () const |
Is "id" value default? More... | |
bool | isDefaultParent () const |
Is "parent" value default? More... | |
bool | isDefaultStamp () const |
Is "stamp" value default? More... | |
bool | isDefaultObjtype () const |
Is "objtype" value default? More... | |
bool | isDefaultName () const |
Is "name" value default? More... | |
int | getClassNo () const |
Get class number: More... | |
uint32_t | getAttrFlags () const |
bool | hasAttr (const std::string &name) const |
Check whether the attribute "name" exists. More... | |
bool | hasAttrFlag (uint32_t flag) const |
Check whether the attribute "name" exists. More... | |
Atlas::Message::Element | getAttr (const std::string &name) const |
virtual void | removeAttrFlag (uint32_t flag) |
Remove the attribute "name". More... | |
Atlas::Message::MapType | asMessage () const |
Static Public Attributes | |
static constexpr const char * | super_parent = "perception" |
static constexpr const char * | default_parent = "sight" |
static constexpr const char * | default_objtype = "op" |
static Allocator< SightData > | allocator |
Protected Member Functions | |
SightData (SightData *defaults=nullptr) | |
Construct a SightData class definition. More... | |
~SightData () override=default | |
Default destructor. More... | |
void | reset () override |
Resets the object as it's returned to the pool. More... | |
void | free () override |
Free an instance of this class, returning it to the memory pool. More... | |
int | getAttrClass (const std::string &name) const override |
Find the class which contains the attribute "name". More... | |
bool | getAttrFlag (const std::string &name, uint32_t &flag) const override |
Find the flag for the attribute "name". More... | |
void | sendSerialno (Atlas::Bridge &) const |
Send the "serialno" attribute to an Atlas::Bridge. More... | |
void | sendRefno (Atlas::Bridge &) const |
Send the "refno" attribute to an Atlas::Bridge. More... | |
void | sendFrom (Atlas::Bridge &) const |
Send the "from" attribute to an Atlas::Bridge. More... | |
void | sendTo (Atlas::Bridge &) const |
Send the "to" attribute to an Atlas::Bridge. More... | |
void | sendSeconds (Atlas::Bridge &) const |
Send the "seconds" attribute to an Atlas::Bridge. More... | |
void | sendFutureSeconds (Atlas::Bridge &) const |
Send the "future_seconds" attribute to an Atlas::Bridge. More... | |
void | sendArgs (Atlas::Bridge &) const |
Send the "args" attribute to an Atlas::Bridge. More... | |
void | sendId (Atlas::Bridge &) const |
Send the "id" attribute to an Atlas::Bridge. More... | |
void | sendParent (Atlas::Bridge &) const |
Send the "parent" attribute to an Atlas::Bridge. More... | |
void | sendStamp (Atlas::Bridge &) const |
Send the "stamp" attribute to an Atlas::Bridge. More... | |
void | sendObjtype (Atlas::Bridge &) const |
Send the "objtype" attribute to an Atlas::Bridge. More... | |
void | sendName (Atlas::Bridge &) const |
Send the "name" attribute to an Atlas::Bridge. More... | |
void | incRef () |
void | decRef () |
Static Protected Member Functions | |
template<typename T > | |
static T * | copyInstance (const T &instance) |
Protected Attributes | |
std::int64_t | attr_serialno |
Serial number. More... | |
std::int64_t | attr_refno |
Reference to serial number. More... | |
std::string | attr_from |
Source of message/operation. More... | |
std::string | attr_to |
Target of message/operation. More... | |
double | attr_seconds |
Time in seconds. More... | |
double | attr_future_seconds |
Time in seconds to add current time. More... | |
std::vector< Root > | attr_args |
List of arguments this operation has. More... | |
std::string | attr_id |
Id of object. More... | |
std::string | attr_parent |
The object this inherits attributes from. More... | |
double | attr_stamp |
Last time this object was modified. More... | |
std::string | attr_objtype |
What kind of object this is. More... | |
std::string | attr_name |
Name of object. More... | |
int | m_class_no |
int | m_refCount |
BaseObjectData * | m_defaults |
BaseObjectData * | m_next |
std::map< std::string, Atlas::Message::Element > | m_attributes |
uint32_t | m_attrFlags |
Friends | |
template<typename > | |
class | ::Atlas::Objects::Allocator |
Character sees something.
Base operator for all kind of perceptions
Definition at line 1536 of file Operation.h.
|
inlineexplicitprotected |
Construct a SightData class definition.
Definition at line 1540 of file Operation.h.
|
overrideprotecteddefault |
Default destructor.
|
overridevirtualinherited |
Write this object to an existing Element.
Reimplemented from Atlas::Objects::RootData.
Definition at line 151 of file RootOperation.cpp.
References Atlas::Objects::RootData::addToMessage(), Atlas::Objects::Operation::RootOperationData::attr_from, Atlas::Objects::Operation::RootOperationData::attr_future_seconds, Atlas::Objects::Operation::RootOperationData::attr_refno, Atlas::Objects::Operation::RootOperationData::attr_seconds, Atlas::Objects::Operation::RootOperationData::attr_serialno, Atlas::Objects::Operation::RootOperationData::attr_to, and Atlas::Objects::Operation::RootOperationData::getArgsAsList().
|
inherited |
Convert this object to a Object. This is now legacy, and implemented using addToMessage.
Definition at line 92 of file BaseObject.cpp.
References Atlas::Objects::BaseObjectData::addToMessage().
|
overridevirtual |
Copy this object.
Reimplemented from Atlas::Objects::Operation::PerceptionData.
Reimplemented in Atlas::Objects::Operation::DisappearanceData, and Atlas::Objects::Operation::AppearanceData.
Definition at line 31 of file RootOperationChildren5.cpp.
|
overridevirtualinherited |
Retrieve the attribute "name". Return non-zero if it does not exist.
Reimplemented from Atlas::Objects::RootData.
Definition at line 41 of file RootOperation.cpp.
References Atlas::Objects::RootData::copyAttr(), Atlas::Objects::Operation::RootOperationData::getArgsAsList(), Atlas::Objects::Operation::RootOperationData::getFrom(), Atlas::Objects::Operation::RootOperationData::getFutureSeconds(), Atlas::Objects::Operation::RootOperationData::getRefno(), Atlas::Objects::Operation::RootOperationData::getSeconds(), Atlas::Objects::Operation::RootOperationData::getSerialno(), and Atlas::Objects::Operation::RootOperationData::getTo().
|
overrideprotectedvirtual |
Free an instance of this class, returning it to the memory pool.
This function in combination with alloc() handle the memory pool.
Reimplemented from Atlas::Objects::Operation::PerceptionData.
Reimplemented in Atlas::Objects::Operation::DisappearanceData, and Atlas::Objects::Operation::AppearanceData.
Definition at line 19 of file RootOperationChildren5.cpp.
|
inlineinherited |
Retrieve the "args" attribute.
Definition at line 387 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_args, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::Operation::RootOperationData::getArgsAsList().
|
inlineinherited |
Retrieve the "args" attribute AsList.
Definition at line 402 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::getArgs().
Referenced by Atlas::Objects::Operation::RootOperationData::addToMessage(), and Atlas::Objects::Operation::RootOperationData::copyAttr().
|
inherited |
Retrieve the attribute "name". Throws NoSuchAttrException if it does not exist.
Definition at line 52 of file BaseObject.cpp.
References Atlas::Objects::BaseObjectData::copyAttr().
|
overrideprotectedvirtualinherited |
Find the class which contains the attribute "name".
Reimplemented from Atlas::Objects::RootData.
Definition at line 23 of file RootOperation.cpp.
References Atlas::Objects::RootData::getAttrClass().
|
overrideprotectedvirtualinherited |
Find the flag for the attribute "name".
Reimplemented from Atlas::Objects::RootData.
Definition at line 31 of file RootOperation.cpp.
References Atlas::Objects::RootData::getAttrFlag().
|
inlineinherited |
Get class number:
Definition at line 260 of file BaseObject.h.
|
inlineinherited |
Retrieve the "from" attribute.
Definition at line 327 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_from, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::Operation::RootOperationData::copyAttr().
|
inlineinherited |
Retrieve the "future_seconds" attribute.
Definition at line 372 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_future_seconds, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::Operation::RootOperationData::copyAttr().
|
inlineinherited |
Retrieve the "id" attribute.
Definition at line 213 of file Root.h.
References Atlas::Objects::RootData::attr_id, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::RootData::copyAttr().
|
inlineinherited |
Retrieve the "name" attribute.
Definition at line 273 of file Root.h.
References Atlas::Objects::RootData::attr_name, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::RootData::copyAttr().
|
inlineinherited |
Retrieve the "objtype" attribute.
Definition at line 258 of file Root.h.
References Atlas::Objects::RootData::attr_objtype, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::RootData::addToMessage(), Atlas::Objects::RootData::copyAttr(), and Atlas::Objects::RootData::sendObjtype().
|
inlineinherited |
Retrieve the "parent" attribute.
Definition at line 228 of file Root.h.
References Atlas::Objects::RootData::attr_parent, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::RootData::addToMessage(), Atlas::Objects::RootData::copyAttr(), and Atlas::Objects::RootData::sendParent().
|
inlineinherited |
Retrieve the "refno" attribute.
Definition at line 312 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_refno, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::Operation::RootOperationData::copyAttr().
|
inlineinherited |
Retrieve the "seconds" attribute.
Definition at line 357 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_seconds, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::Operation::RootOperationData::copyAttr().
|
inlineinherited |
Retrieve the "serialno" attribute.
Definition at line 297 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_serialno, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::Operation::RootOperationData::copyAttr().
|
inlineinherited |
Retrieve the "stamp" attribute.
Definition at line 243 of file Root.h.
References Atlas::Objects::RootData::attr_stamp, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::RootData::copyAttr().
|
inlineinherited |
Retrieve the "to" attribute.
Definition at line 342 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_to, and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::Operation::RootOperationData::copyAttr().
|
inherited |
Check whether the attribute "name" exists.
Definition at line 35 of file BaseObject.cpp.
References Atlas::Objects::BaseObjectData::getAttrFlag().
|
inherited |
Check whether the attribute "name" exists.
Definition at line 47 of file BaseObject.cpp.
|
overridevirtual |
Is this instance of some class?
Reimplemented from Atlas::Objects::Operation::PerceptionData.
Reimplemented in Atlas::Objects::Operation::DisappearanceData, and Atlas::Objects::Operation::AppearanceData.
Definition at line 36 of file RootOperationChildren5.cpp.
References Atlas::Objects::Operation::PerceptionData::instanceOf().
Referenced by Atlas::Objects::Operation::AppearanceData::instanceOf(), and Atlas::Objects::Operation::DisappearanceData::instanceOf().
|
inlineinherited |
Is "args" value default?
Definition at line 443 of file RootOperation.h.
|
inlineinherited |
Is "from" value default?
Definition at line 423 of file RootOperation.h.
|
inlineinherited |
Is "future_seconds" value default?
Definition at line 438 of file RootOperation.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Is "refno" value default?
Definition at line 418 of file RootOperation.h.
|
inlineinherited |
Is "seconds" value default?
Definition at line 433 of file RootOperation.h.
|
inlineinherited |
Is "serialno" value default?
Definition at line 413 of file RootOperation.h.
|
inlineinherited |
|
inlineinherited |
Is "to" value default?
Definition at line 428 of file RootOperation.h.
|
inlineinherited |
Retrieve the "args" attribute as a non-const reference.
Definition at line 395 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_args, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::Operation::RootOperationData::setArgs().
|
inlineinherited |
Retrieve the "from" attribute as a non-const reference.
Definition at line 335 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_from, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::Operation::RootOperationData::setFrom().
|
inlineinherited |
Retrieve the "future_seconds" attribute as a non-const reference.
Definition at line 380 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_future_seconds, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::Operation::RootOperationData::setFutureSeconds().
|
inlineinherited |
Retrieve the "id" attribute as a non-const reference.
Definition at line 221 of file Root.h.
References Atlas::Objects::RootData::attr_id, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::RootData::setId().
|
inlineinherited |
Retrieve the "name" attribute as a non-const reference.
Definition at line 281 of file Root.h.
References Atlas::Objects::RootData::attr_name, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::RootData::setName().
|
inlineinherited |
Retrieve the "objtype" attribute as a non-const reference.
Definition at line 266 of file Root.h.
References Atlas::Objects::RootData::attr_objtype, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::RootData::setObjtype().
|
inlineinherited |
Retrieve the "parent" attribute as a non-const reference.
Definition at line 236 of file Root.h.
References Atlas::Objects::RootData::attr_parent, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::RootData::setParent().
|
inlineinherited |
Retrieve the "refno" attribute as a non-const reference.
Definition at line 320 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_refno, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::Operation::RootOperationData::setRefno().
|
inlineinherited |
Retrieve the "seconds" attribute as a non-const reference.
Definition at line 365 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_seconds, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::Operation::RootOperationData::setSeconds().
|
inlineinherited |
Retrieve the "serialno" attribute as a non-const reference.
Definition at line 305 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_serialno, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::Operation::RootOperationData::setSerialno().
|
inlineinherited |
Retrieve the "stamp" attribute as a non-const reference.
Definition at line 251 of file Root.h.
References Atlas::Objects::RootData::attr_stamp, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::RootData::setStamp().
|
inlineinherited |
Retrieve the "to" attribute as a non-const reference.
Definition at line 350 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_to, Atlas::Objects::BaseObjectData::m_defaults, and Atlas::Objects::Operation::RootOperationData::setTo().
|
overridevirtualinherited |
Remove the attribute "name". This will not work for static attributes.
Reimplemented from Atlas::Objects::RootData.
Definition at line 65 of file RootOperation.cpp.
References Atlas::Objects::RootData::removeAttr().
|
virtualinherited |
Remove the attribute "name".
Definition at line 87 of file BaseObject.cpp.
Referenced by Atlas::Objects::BaseObjectData::removeAttr().
|
overrideprotectedvirtual |
Resets the object as it's returned to the pool.
Reimplemented from Atlas::Objects::Operation::PerceptionData.
Reimplemented in Atlas::Objects::Operation::DisappearanceData, and Atlas::Objects::Operation::AppearanceData.
Definition at line 26 of file RootOperationChildren5.cpp.
References Atlas::Objects::Operation::PerceptionData::reset().
Referenced by Atlas::Objects::Operation::AppearanceData::reset(), and Atlas::Objects::Operation::DisappearanceData::reset().
|
inlineprotectedinherited |
Send the "args" attribute to an Atlas::Bridge.
Definition at line 126 of file RootOperation.cpp.
References Atlas::Objects::Operation::RootOperationData::attr_args.
Referenced by Atlas::Objects::Operation::RootOperationData::sendContents().
|
overridevirtualinherited |
Send the contents of this object to a Bridge.
Reimplemented from Atlas::Objects::RootData.
Definition at line 139 of file RootOperation.cpp.
References Atlas::Objects::Operation::RootOperationData::sendArgs(), Atlas::Objects::RootData::sendContents(), Atlas::Objects::Operation::RootOperationData::sendFrom(), Atlas::Objects::Operation::RootOperationData::sendFutureSeconds(), Atlas::Objects::Operation::RootOperationData::sendRefno(), Atlas::Objects::Operation::RootOperationData::sendSeconds(), Atlas::Objects::Operation::RootOperationData::sendSerialno(), and Atlas::Objects::Operation::RootOperationData::sendTo().
|
inlineprotectedinherited |
Send the "from" attribute to an Atlas::Bridge.
Definition at line 98 of file RootOperation.cpp.
References Atlas::Objects::Operation::RootOperationData::attr_from.
Referenced by Atlas::Objects::Operation::RootOperationData::sendContents().
|
inlineprotectedinherited |
Send the "future_seconds" attribute to an Atlas::Bridge.
Definition at line 119 of file RootOperation.cpp.
References Atlas::Objects::Operation::RootOperationData::attr_future_seconds.
Referenced by Atlas::Objects::Operation::RootOperationData::sendContents().
|
inlineprotectedinherited |
Send the "id" attribute to an Atlas::Bridge.
Definition at line 74 of file Root.cpp.
References Atlas::Objects::RootData::attr_id.
Referenced by Atlas::Objects::RootData::sendContents().
|
inlineprotectedinherited |
Send the "name" attribute to an Atlas::Bridge.
Definition at line 102 of file Root.cpp.
References Atlas::Objects::RootData::attr_name.
Referenced by Atlas::Objects::RootData::sendContents().
|
inlineprotectedinherited |
Send the "objtype" attribute to an Atlas::Bridge.
Definition at line 95 of file Root.cpp.
References Atlas::Objects::RootData::attr_objtype, Atlas::Objects::RootData::getObjtype(), and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::RootData::sendContents().
|
inlineprotectedinherited |
Send the "parent" attribute to an Atlas::Bridge.
Definition at line 81 of file Root.cpp.
References Atlas::Objects::RootData::attr_parent, Atlas::Objects::RootData::getParent(), and Atlas::Objects::BaseObjectData::m_defaults.
Referenced by Atlas::Objects::RootData::sendContents().
|
inlineprotectedinherited |
Send the "refno" attribute to an Atlas::Bridge.
Definition at line 91 of file RootOperation.cpp.
References Atlas::Objects::Operation::RootOperationData::attr_refno.
Referenced by Atlas::Objects::Operation::RootOperationData::sendContents().
|
inlineprotectedinherited |
Send the "seconds" attribute to an Atlas::Bridge.
Definition at line 112 of file RootOperation.cpp.
References Atlas::Objects::Operation::RootOperationData::attr_seconds.
Referenced by Atlas::Objects::Operation::RootOperationData::sendContents().
|
inlineprotectedinherited |
Send the "serialno" attribute to an Atlas::Bridge.
Definition at line 84 of file RootOperation.cpp.
References Atlas::Objects::Operation::RootOperationData::attr_serialno.
Referenced by Atlas::Objects::Operation::RootOperationData::sendContents().
|
inlineprotectedinherited |
Send the "stamp" attribute to an Atlas::Bridge.
Definition at line 88 of file Root.cpp.
References Atlas::Objects::RootData::attr_stamp.
Referenced by Atlas::Objects::RootData::sendContents().
|
inlineprotectedinherited |
Send the "to" attribute to an Atlas::Bridge.
Definition at line 105 of file RootOperation.cpp.
References Atlas::Objects::Operation::RootOperationData::attr_to.
Referenced by Atlas::Objects::Operation::RootOperationData::sendContents().
|
inlineinherited |
Set the "args" attribute.
Definition at line 265 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_args.
Referenced by Atlas::Objects::Operation::RootOperationData::modifyArgs().
|
inlineinherited |
Set the first member of "args".
Definition at line 290 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_args.
|
inlineinherited |
Set the "args" attribute AsList through move.
Definition at line 280 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_args, and Atlas::Objects::Factories::parseListOfObjects().
|
inlineinherited |
Set the "args" attribute AsList.
Definition at line 271 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_args, and Atlas::Objects::Factories::parseListOfObjects().
Referenced by Atlas::Objects::Operation::RootOperationData::setAttr().
|
overridevirtualinherited |
Set the attribute "name" to the value given by"attr".
Reimplemented from Atlas::Objects::RootData.
Definition at line 53 of file RootOperation.cpp.
References Atlas::Message::Element::asFloat(), Atlas::Message::Element::asInt(), Atlas::Message::Element::moveList(), Atlas::Message::Element::moveString(), Atlas::Objects::Operation::RootOperationData::setArgsAsList(), Atlas::Objects::RootData::setAttr(), Atlas::Objects::Operation::RootOperationData::setFrom(), Atlas::Objects::Operation::RootOperationData::setFutureSeconds(), Atlas::Objects::Operation::RootOperationData::setRefno(), Atlas::Objects::Operation::RootOperationData::setSeconds(), Atlas::Objects::Operation::RootOperationData::setSerialno(), and Atlas::Objects::Operation::RootOperationData::setTo().
|
inlineinherited |
Set the "from" attribute.
Definition at line 233 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_from.
Referenced by Atlas::Objects::Operation::RootOperationData::modifyFrom(), and Atlas::Objects::Operation::RootOperationData::setAttr().
|
inlineinherited |
Set the "future_seconds" attribute.
Definition at line 257 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_future_seconds.
Referenced by Atlas::Objects::Operation::RootOperationData::modifyFutureSeconds(), and Atlas::Objects::Operation::RootOperationData::setAttr().
|
inlineinherited |
Set the "id" attribute.
Definition at line 175 of file Root.h.
References Atlas::Objects::RootData::attr_id.
Referenced by Atlas::Objects::RootData::modifyId(), and Atlas::Objects::RootData::setAttr().
|
inlineinherited |
Set the "name" attribute.
Definition at line 207 of file Root.h.
References Atlas::Objects::RootData::attr_name.
Referenced by Atlas::Objects::RootData::modifyName(), and Atlas::Objects::RootData::setAttr().
|
inlineinherited |
Set the "objtype" attribute.
Definition at line 199 of file Root.h.
References Atlas::Objects::RootData::attr_objtype.
Referenced by Atlas::Objects::RootData::modifyObjtype(), and Atlas::Objects::RootData::setAttr().
|
inlineinherited |
Set the "parent" attribute.
Definition at line 183 of file Root.h.
References Atlas::Objects::RootData::attr_parent.
Referenced by Atlas::Objects::RootData::modifyParent(), Atlas::Objects::RootData::setAttr(), Atlas::Objects::Entity::AnonymousData::setType(), and Atlas::Objects::Operation::GenericData::setType().
|
inlineinherited |
Set the "refno" attribute.
Definition at line 225 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_refno.
Referenced by Atlas::Objects::Operation::RootOperationData::modifyRefno(), and Atlas::Objects::Operation::RootOperationData::setAttr().
|
inlineinherited |
Set the "seconds" attribute.
Definition at line 249 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_seconds.
Referenced by Atlas::Objects::Operation::RootOperationData::modifySeconds(), and Atlas::Objects::Operation::RootOperationData::setAttr().
|
inlineinherited |
Set the "serialno" attribute.
Definition at line 217 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_serialno.
Referenced by Atlas::Objects::Operation::RootOperationData::modifySerialno(), and Atlas::Objects::Operation::RootOperationData::setAttr().
|
inlineinherited |
Set the "stamp" attribute.
Definition at line 191 of file Root.h.
References Atlas::Objects::RootData::attr_stamp.
Referenced by Atlas::Objects::RootData::modifyStamp(), and Atlas::Objects::RootData::setAttr().
|
inlineinherited |
Set the "to" attribute.
Definition at line 241 of file RootOperation.h.
References Atlas::Objects::Operation::RootOperationData::attr_to.
Referenced by Atlas::Objects::Operation::RootOperationData::modifyTo(), and Atlas::Objects::Operation::RootOperationData::setAttr().
|
protectedinherited |
List of arguments this operation has.
Definition at line 167 of file RootOperation.h.
Referenced by Atlas::Objects::Operation::RootOperationData::getArgs(), Atlas::Objects::Operation::RootOperationData::modifyArgs(), Atlas::Objects::Operation::RootOperationData::reset(), Atlas::Objects::Operation::RootOperationData::sendArgs(), Atlas::Objects::Operation::RootOperationData::setArgs(), Atlas::Objects::Operation::RootOperationData::setArgs1(), and Atlas::Objects::Operation::RootOperationData::setArgsAsList().
|
protectedinherited |
Source of message/operation.
Definition at line 159 of file RootOperation.h.
Referenced by Atlas::Objects::Operation::RootOperationData::addToMessage(), Atlas::Objects::Operation::RootOperationData::getFrom(), Atlas::Objects::Operation::RootOperationData::modifyFrom(), Atlas::Objects::Operation::RootOperationData::sendFrom(), and Atlas::Objects::Operation::RootOperationData::setFrom().
|
protectedinherited |
Time in seconds to add current time.
Definition at line 165 of file RootOperation.h.
Referenced by Atlas::Objects::Operation::RootOperationData::addToMessage(), Atlas::Objects::Operation::RootOperationData::getFutureSeconds(), Atlas::Objects::Operation::RootOperationData::modifyFutureSeconds(), Atlas::Objects::Operation::RootOperationData::sendFutureSeconds(), and Atlas::Objects::Operation::RootOperationData::setFutureSeconds().
|
protectedinherited |
Id of object.
Definition at line 123 of file Root.h.
Referenced by Atlas::Objects::RootData::addToMessage(), Atlas::Objects::RootData::getId(), Atlas::Objects::RootData::modifyId(), Atlas::Objects::RootData::sendId(), and Atlas::Objects::RootData::setId().
|
protectedinherited |
Name of object.
Definition at line 131 of file Root.h.
Referenced by Atlas::Objects::RootData::addToMessage(), Atlas::Objects::RootData::getName(), Atlas::Objects::RootData::modifyName(), Atlas::Objects::RootData::sendName(), and Atlas::Objects::RootData::setName().
|
protectedinherited |
What kind of object this is.
Definition at line 129 of file Root.h.
Referenced by Atlas::Objects::RootData::getObjtype(), Atlas::Objects::RootData::modifyObjtype(), Atlas::Objects::RootData::sendObjtype(), and Atlas::Objects::RootData::setObjtype().
|
protectedinherited |
The object this inherits attributes from.
Definition at line 125 of file Root.h.
Referenced by Atlas::Objects::RootData::getParent(), Atlas::Objects::RootData::modifyParent(), Atlas::Objects::RootData::sendParent(), and Atlas::Objects::RootData::setParent().
|
protectedinherited |
Reference to serial number.
Definition at line 157 of file RootOperation.h.
Referenced by Atlas::Objects::Operation::RootOperationData::addToMessage(), Atlas::Objects::Operation::RootOperationData::getRefno(), Atlas::Objects::Operation::RootOperationData::modifyRefno(), Atlas::Objects::Operation::RootOperationData::sendRefno(), and Atlas::Objects::Operation::RootOperationData::setRefno().
|
protectedinherited |
Time in seconds.
Definition at line 163 of file RootOperation.h.
Referenced by Atlas::Objects::Operation::RootOperationData::addToMessage(), Atlas::Objects::Operation::RootOperationData::getSeconds(), Atlas::Objects::Operation::RootOperationData::modifySeconds(), Atlas::Objects::Operation::RootOperationData::sendSeconds(), and Atlas::Objects::Operation::RootOperationData::setSeconds().
|
protectedinherited |
Serial number.
Definition at line 155 of file RootOperation.h.
Referenced by Atlas::Objects::Operation::RootOperationData::addToMessage(), Atlas::Objects::Operation::RootOperationData::getSerialno(), Atlas::Objects::Operation::RootOperationData::modifySerialno(), Atlas::Objects::Operation::RootOperationData::sendSerialno(), and Atlas::Objects::Operation::RootOperationData::setSerialno().
|
protectedinherited |
Last time this object was modified.
Definition at line 127 of file Root.h.
Referenced by Atlas::Objects::RootData::addToMessage(), Atlas::Objects::RootData::getStamp(), Atlas::Objects::RootData::modifyStamp(), Atlas::Objects::RootData::sendStamp(), and Atlas::Objects::RootData::setStamp().
|
protectedinherited |
Target of message/operation.
Definition at line 161 of file RootOperation.h.
Referenced by Atlas::Objects::Operation::RootOperationData::addToMessage(), Atlas::Objects::Operation::RootOperationData::getTo(), Atlas::Objects::Operation::RootOperationData::modifyTo(), Atlas::Objects::Operation::RootOperationData::sendTo(), and Atlas::Objects::Operation::RootOperationData::setTo().
|
protectedinherited |
The default instance, acting as a prototype for all other instances.
Definition at line 330 of file BaseObject.h.
Referenced by Atlas::Objects::Operation::RootOperationData::getArgs(), Atlas::Objects::Entity::AccountData::getCharacters(), Atlas::Objects::Entity::RootEntityData::getContains(), Atlas::Objects::Operation::RootOperationData::getFrom(), Atlas::Objects::Operation::RootOperationData::getFutureSeconds(), Atlas::Objects::RootData::getId(), Atlas::Objects::Entity::RootEntityData::getLoc(), Atlas::Objects::RootData::getName(), Atlas::Objects::RootData::getObjtype(), Atlas::Objects::RootData::getParent(), Atlas::Objects::Entity::AccountData::getPassword(), Atlas::Objects::Entity::RootEntityData::getPos(), Atlas::Objects::Operation::RootOperationData::getRefno(), Atlas::Objects::Operation::RootOperationData::getSeconds(), Atlas::Objects::Operation::RootOperationData::getSerialno(), Atlas::Objects::RootData::getStamp(), Atlas::Objects::Entity::RootEntityData::getStampContains(), Atlas::Objects::Operation::RootOperationData::getTo(), Atlas::Objects::Entity::AccountData::getUsername(), Atlas::Objects::Entity::RootEntityData::getVelocity(), Atlas::Objects::Operation::RootOperationData::modifyArgs(), Atlas::Objects::Entity::AccountData::modifyCharacters(), Atlas::Objects::Entity::RootEntityData::modifyContains(), Atlas::Objects::Operation::RootOperationData::modifyFrom(), Atlas::Objects::Operation::RootOperationData::modifyFutureSeconds(), Atlas::Objects::RootData::modifyId(), Atlas::Objects::Entity::RootEntityData::modifyLoc(), Atlas::Objects::RootData::modifyName(), Atlas::Objects::RootData::modifyObjtype(), Atlas::Objects::RootData::modifyParent(), Atlas::Objects::Entity::AccountData::modifyPassword(), Atlas::Objects::Entity::RootEntityData::modifyPos(), Atlas::Objects::Operation::RootOperationData::modifyRefno(), Atlas::Objects::Operation::RootOperationData::modifySeconds(), Atlas::Objects::Operation::RootOperationData::modifySerialno(), Atlas::Objects::RootData::modifyStamp(), Atlas::Objects::Entity::RootEntityData::modifyStampContains(), Atlas::Objects::Operation::RootOperationData::modifyTo(), Atlas::Objects::Entity::AccountData::modifyUsername(), Atlas::Objects::Entity::RootEntityData::modifyVelocity(), Atlas::Objects::RootData::sendObjtype(), and Atlas::Objects::RootData::sendParent().
|
protectedinherited |
The next instance, if this instance has been freed up.
Definition at line 335 of file BaseObject.h.