fipa_acl  1.4
envelope_format.h
Go to the documentation of this file.
1 #ifndef FIPA_ACL_ENVELOPE_FORMAT_H
2 #define FIPA_ACL_ENVELOPE_FORMAT_H
3 
4 #include <fipa_acl/message_generator/acl_envelope.h>
5 #include <boost/shared_ptr.hpp>
6 
7 namespace fipa {
8 namespace acl {
9 
11 {
12 public:
13  virtual ~EnvelopeFormat() {}
14 
15  virtual std::string apply(const ACLEnvelope& envelope) const = 0;
16 
17 };
18 
19 typedef boost::shared_ptr<EnvelopeFormat> EnvelopeFormatPtr;
20 
21 } // namespace acl
22 } // namespace fipa
23 
24 #endif // FIPA_ACL_ENVELOPE_FORMAT_H
ACLMessage envelope (also typed as fipa::acl::Letter) includes the base envelope and updated fields...
Definition: acl_envelope.h:349
boost::shared_ptr< EnvelopeFormat > EnvelopeFormatPtr
virtual std::string apply(const ACLEnvelope &envelope) const =0