Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
eclipse::RouterDecorator Class Reference

#include <router_decorator.hh>

Inheritance diagram for eclipse::RouterDecorator:
Inheritance graph
Collaboration diagram for eclipse::RouterDecorator:
Collaboration graph

Public Member Functions

 RouterDecorator (Router *)
 
virtual ~RouterDecorator ()=default
 
virtual void on_read (messages::Message *, Channel *)
 
- Public Member Functions inherited from eclipse::Router
 Router ()=default
 
virtual ~Router ()=default
 
- Public Member Functions inherited from eclipse::network::NetObserver
virtual ~NetObserver ()
 

Protected Attributes

std::unique_ptr< Routerrouter
 
- Protected Attributes inherited from eclipse::Router
std::map< std::string,
std::function< void(messages::Message
*, Channel *)> > 
routing_table
 

Constructor & Destructor Documentation

RouterDecorator::RouterDecorator ( Router _router)
virtual eclipse::RouterDecorator::~RouterDecorator ( )
virtualdefault

Member Function Documentation

void RouterDecorator::on_read ( messages::Message m,
Channel c 
)
virtual

Implements eclipse::Router.

Member Data Documentation

std::unique_ptr<Router> eclipse::RouterDecorator::router
protected

The documentation for this class was generated from the following files: