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)
std::int64_t attr_serialno
Serial number.
std::string attr_parent
The object this inherits attributes from.
std::string attr_objtype
What kind of object this is.
bool instanceOf(int classNo) const override
Is this instance of some class?
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.
double attr_seconds
Time in seconds.
double attr_future_seconds
Time in seconds to add current time.
ErrorData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
ChangeData * copy() const override
Copy this object.
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.
double attr_stamp
Last time this object was modified.
bool instanceOf(int classNo) const override
Is this instance of some class?
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 free() override
Free an instance of this class, returning it to the memory pool.