8 #include <Atlas/Objects/Operation.h>
11 using Atlas::Message::MapType;
13 namespace Atlas {
namespace Objects {
namespace Operation {
15 Allocator<SniffData> SniffData::allocator;
33 return copyInstance<SniffData>(*
this);
38 if(SNIFF_NO == classNo)
return true;
42 void SniffData::fillDefaultObjectInstance(
SniffData& data, std::map<std::string, uint32_t>& attr_data)
71 return copyInstance<TouchData>(*
this);
76 if(TOUCH_NO == classNo)
return true;
80 void TouchData::fillDefaultObjectInstance(
TouchData& data, std::map<std::string, uint32_t>& attr_data)
109 return copyInstance<LoginData>(*
this);
114 if(LOGIN_NO == classNo)
return true;
118 void LoginData::fillDefaultObjectInstance(
LoginData& data, std::map<std::string, uint32_t>& attr_data)
135 allocator.free(
this);
147 return copyInstance<LogoutData>(*
this);
152 if(LOGOUT_NO == classNo)
return true;
156 void LogoutData::fillDefaultObjectInstance(
LogoutData& data, std::map<std::string, uint32_t>& attr_data)
173 allocator.free(
this);
185 return copyInstance<CommunicateData>(*
this);
190 if(COMMUNICATE_NO == classNo)
return true;
194 void CommunicateData::fillDefaultObjectInstance(
CommunicateData& data, std::map<std::string, uint32_t>& attr_data)
211 allocator.free(
this);
223 return copyInstance<TalkData>(*
this);
228 if(TALK_NO == classNo)
return true;
232 void TalkData::fillDefaultObjectInstance(
TalkData& data, std::map<std::string, uint32_t>& attr_data)
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.
Base operator for all kind of communication..
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?
CommunicateData * copy() const override
Copy this object.
void free() override
Free an instance of this class, returning it to the memory pool.
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?
Operation for logging into server.
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.
LoginData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
Operation for logging out.
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.
LogoutData * copy() const override
Copy this object.
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.
bool instanceOf(int classNo) const override
Is this instance of some class?
double attr_future_seconds
Time in seconds to add current time.
double attr_seconds
Time in seconds.
std::int64_t attr_refno
Reference to serial number.
std::int64_t attr_serialno
Serial number.
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.
SniffData * copy() const override
Copy this object.
void reset() override
Resets the object as it's returned to the pool.
TalkData * copy() const override
Copy this object.
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.
void free() override
Free an instance of this class, returning it to the memory pool.
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.
TouchData * copy() const override
Copy this object.
bool instanceOf(int classNo) const override
Is this instance of some class?
std::string attr_objtype
What kind of object this is.
std::string attr_parent
The object this inherits attributes from.
double attr_stamp
Last time this object was modified.