1 #ifndef FIPA_ACL_RECEIVED_OBJECT_H 2 #define FIPA_ACL_RECEIVED_OBJECT_H 6 #include <base/Time.hpp> 12 typedef std::string
URL;
13 typedef std::string
ID;
14 typedef std::string
Via;
50 std::vector<UserdefParam> mUserdefinedParameters;
62 const URL&
getBy()
const {
return mBy; }
67 void setBy(
const URL& by) { mBy = by; }
72 const URL&
getFrom()
const {
return mFrom; }
77 void setFrom(
const URL& from) { mFrom = from; }
82 const base::Time&
getDate()
const {
return mDate; }
87 void setDate(
const base::Time& date) { mDate = date; }
92 const ID&
getId()
const {
return mId; }
97 void setId(
const ID&
id) { mId = id; }
102 const Via&
getVia()
const {
return mVia; }
107 void setVia(
const Via& via) { mVia = via; }
112 std::string
toString(
size_t indent = 0)
const;
129 #endif // FIPA_ACL_RECEIVED_OBJECT_H void setVia(const Via &via)
void setUserdefinedParameters(const UserdefinedParameterList ¶mList)
const UserdefinedParameterList & getUserdefinedParameters() const
bool operator==(const ReceivedObject &receivedObject) const
const URL & getFrom() const
std::vector< UserdefParam > UserdefinedParameterList
const URL & getBy() const
const base::Time & getDate() const
void setFrom(const URL &from)
const Via & getVia() const
defines the UserdefParam class
void setBy(const URL &by)
Foundation of Physical Intelligent Agents.
void setDate(const base::Time &date)
std::string toString(size_t indent=0) const