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)
std::int64_t attr_serialno
Serial number.
std::string attr_objtype
What kind of object this is.
GenericData * copy() const override
Copy this object.
double attr_seconds
Time in seconds.
double attr_future_seconds
Time in seconds to add current time.
void free() override
Free an instance of this class, returning it to the memory pool.
Base operation for all operators.
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
double attr_stamp
Last time this object was modified.
void reset() override
Resets the object as it's returned to the pool.
bool instanceOf(int classNo) const override
Is this instance of some class?
void setParent(std::string val)
Set the "parent" attribute.
std::int64_t attr_refno
Reference to serial number.
void setType(const std::string &, int)
Set the type of this object.