fipa_acl  1.4
message_generator.h
Go to the documentation of this file.
1 #ifndef FIPA_ACL_MESSAGE_GENERATOR_H
2 #define FIPA_ACL_MESSAGE_GENERATOR_H
3 
4 #include <fipa_acl/message_generator/types.h>
5 #include <fipa_acl/message_generator/acl_message.h>
6 #include <fipa_acl/message_generator/message_format.h>
7 #include <fipa_acl/message_generator/agent_id.h>
8 #include <boost/shared_ptr.hpp>
9 
10 namespace fipa {
11 namespace acl {
12 
13 typedef boost::shared_ptr<MessageFormat> MessageFormatPtr;
14 
16 {
17  static std::map<representation::Type, MessageFormatPtr> msFormats;
18 public:
19 
24  static std::string create(const ACLMessage& msg, const representation::Type& acl_representation);
25 };
26 
27 
28 } // end namespace acl
29 } // end namespace fipa
30 
31 #endif // FIPA_ACL_MESSAGE_GENERATOR_H_
static std::string create(const ACLMessage &msg, const representation::Type &acl_representation)
boost::shared_ptr< MessageFormat > MessageFormatPtr
This class provides a representation of a message conforming to the FIPA specification SC00061...
Definition: acl_message.h:55