Atlas
0.7.0
Networking protocol for the Worldforge system.
|
8 #include <Atlas/Objects/Generic.h>
11 using Atlas::Message::MapType;
13 namespace Atlas {
namespace Objects {
namespace Operation {
15 Allocator<GenericData> GenericData::allocator;
39 return copyInstance<GenericData>(*
this);
44 if(GENERIC_NO == classNo)
return true;
48 void GenericData::fillDefaultObjectInstance(
GenericData& data, std::map<std::string, uint32_t>& attr_data)
GenericData * copy() const override
Copy this object.
Base operation for all operators.
double attr_stamp
Last time this object was modified.
double attr_seconds
Time in seconds.
std::int64_t attr_serialno
Serial number.
void free() override
Free an instance of this class, returning it to the memory pool.
std::int64_t attr_refno
Reference to serial number.
void reset() override
Resets the object as it's returned to the pool.
void setParent(std::string val)
Set the "parent" attribute.
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.
bool instanceOf(int classNo) const override
Is this instance of some class?
void setType(const std::string &, int)
Set the type of this object.