21 #ifndef IDGIMODULE_HPP 22 #define IDGIMODULE_HPP 26 #include "messages/ModuleMessage.pb.h" 28 #include <boost/noncopyable.hpp> 29 #include <boost/shared_ptr.hpp> 37 :
private boost::noncopyable
53 boost::shared_ptr<const ModuleMessage> msg,
CPeerNode peer) = 0;
71 #endif // IHANDLER_HPP CPeerNode GetMe()
Gets a CPeerNode representing this process.
Definition: IDGIModule.cpp:54
virtual ~IDGIModule()
Virtual destructor for inhertiance.
Definition: IDGIModule.hpp:49
Base interface for agents/broker modules.
Definition: CPeerNode.hpp:37
IDGIModule()
Constructor, initializes the reference to self.
Definition: IDGIModule.cpp:35
An interface for an object which can handle recieving incoming messages.
Definition: IDGIModule.hpp:36
std::string GetUUID() const
Gets the UUID of this process.
Definition: IDGIModule.cpp:45
General FREEDM Namespace.
Definition: CBroker.cpp:53
virtual void HandleIncomingMessage(boost::shared_ptr< const ModuleMessage > msg, CPeerNode peer)=0
Handles received messages.
CPeerNode m_me
The CPeerNode this represents.
Definition: IDGIModule.hpp:64