Atlas
0.7.0
Networking protocol for the Worldforge system.
|
8 #include <Atlas/Objects/Operation.h>
11 using Atlas::Message::MapType;
13 namespace Atlas {
namespace Objects {
namespace Operation {
15 Allocator<ErrorData> ErrorData::allocator;
33 return copyInstance<ErrorData>(*
this);
38 if(ERROR_NO == classNo)
return true;
42 void ErrorData::fillDefaultObjectInstance(
ErrorData& data, std::map<std::string, uint32_t>& attr_data)
71 return copyInstance<ChangeData>(*
this);
76 if(CHANGE_NO == classNo)
return true;
80 void ChangeData::fillDefaultObjectInstance(
ChangeData& data, std::map<std::string, uint32_t>& attr_data)
ErrorData * copy() const override
Copy this object.
bool instanceOf(int classNo) const override
Is this instance of some class?
bool instanceOf(int classNo) const override
Is this instance of some class?
double attr_stamp
Last time this object was modified.
double attr_seconds
Time in seconds.
std::int64_t attr_serialno
Serial number.
An operation used to signal to clients when things such as types have changed..
void reset() override
Resets the object as it's returned to the pool.
std::string attr_parent
The object this inherits attributes from.
void reset() override
Resets the object as it's returned to the pool.
void free() override
Free an instance of this class, returning it to the memory pool.
ChangeData * copy() const override
Copy this object.
std::int64_t attr_refno
Reference to serial number.
double attr_future_seconds
Time in seconds to add current time.
bool instanceOf(int classNo) const override
Is this instance of some class?
void reset() override
Resets the object as it's returned to the pool.
std::string attr_objtype
What kind of object this is.
void free() override
Free an instance of this class, returning it to the memory pool.