fipa_acl  1.4
message_archive.h
Go to the documentation of this file.
1 #ifndef FIPAACL_CONVERSATION_MONITOR_MESSAGE_ARCHIVE_H
2 #define FIPAACL_CONVERSATION_MONITOR_MESSAGE_ARCHIVE_H
3 
4 #include <vector>
5 #include <fipa_acl/message_generator/acl_message.h>
6 
7 namespace fipa {
8 namespace acl {
9 
11 {
12  // Messages
13  std::vector<ACLMessage> mMessages;
14 
15 public:
16 
21  const ACLMessage& getInitiatingMessage() const;
22 
26  void addMessage(const ACLMessage& msg);
27 
31  bool hasMessages() const { return !mMessages.empty(); }
32 };
33 
34 } // end namespace acl
35 } // end namespace fipa
36 #endif // FIPAACL_CONVERSATION_MONITOR_MESSAGE_ARCHIVE_H
void addMessage(const ACLMessage &msg)
const ACLMessage & getInitiatingMessage() const
This class provides a representation of a message conforming to the FIPA specification SC00061...
Definition: acl_message.h:55
Foundation of Physical Intelligent Agents.
Definition: conversation.cpp:6