40 #ifndef AGENTSTATUS_H_
41 #define AGENTSTATUS_H_
43 #include <boost/serialization/access.hpp>
130 friend class boost::serialization::access;
135 template<
class Archive>
136 void serialize(Archive& ar,
const unsigned int version) {
146 bool operator<(
const AgentStatus &one,
const AgentStatus &two);
Encapsulates the status (moved or removed) of agent in order to synchronize that status across proces...
Definition: AgentStatus.h:52
const AgentId & getId() const
Gets the id of the agent that this is the status for.
Definition: AgentStatus.h:103
Agent identity information.
Definition: AgentId.h:60
const AgentId & getOldId() const
Gets the old id of the agent that this is the status for, if this contains an old and updated AgentId...
Definition: AgentStatus.h:114
AgentStatus()
No-arg constructor for serialization.
Definition: AgentStatus.h:68
Status getStatus() const
Gets the status.
Definition: AgentStatus.h:94
const AgentId & getNewId() const
Gets the new updated id of the agent that this is the status for, if this contains an old and updated...
Definition: AgentStatus.h:125
Status
Enum indicating the status of th agent.
Definition: AgentStatus.h:61
friend bool operator<(const AgentStatus &one, const AgentStatus &two)
Comparison operator that can be used in sorts, etc.
Definition: AgentStatus.cpp:56