famouso::mw::gwl::GatewayEventChannel< ECH > Class Template Reference
The GatewayEventChannel is a SubscriberEventChannel with additional proxy functionality for publishing/forwarding events to the right destination network. More...
#include <GatewayEventChannel.h>
Public Member Functions | |
void * | operator new (size_t size, void *buffer) |
placement new operator to allow a constructor call on pre-allocated memory | |
GatewayEventChannel (const Subject &s, const famouso::mw::nl::DistinctNL *const bnl) | |
Constructs the forwarding channel. |
Detailed Description
template<class ECH>
class famouso::mw::gwl::GatewayEventChannel< ECH >
The GatewayEventChannel is a SubscriberEventChannel with additional proxy functionality for publishing/forwarding events to the right destination network.
The most functionality is reused from the base class. Hence, it acts as a normal SubscriberEventChannel. Addtionally, it provides a special callback the realise the forwarding funcionality and it knows the network from where the subscription came.
- Template Parameters:
-
ECH needs to be a configured type of famouso::mw::el::EventLayer
Constructor & Destructor Documentation
famouso::mw::gwl::GatewayEventChannel< ECH >::GatewayEventChannel | ( | const Subject & | s, | |
const famouso::mw::nl::DistinctNL *const | bnl | |||
) | [inline] |
Constructs the forwarding channel.
Subscribe the event channel and reserve resources and call the needed functionalities within the sublayers to bind the subject etc.
Furthermore establish proxy functionality by binding the respective callback for publishing.
References famouso::mw::api::SubscriberEventChannel< ECH >::callback, famouso::mw::api::EventChannel< ECH >::ech(), and TRACE_FUNCTION.
Member Function Documentation
void* famouso::mw::gwl::GatewayEventChannel< ECH >::operator new | ( | size_t | size, | |
void * | buffer | |||
) | [inline] |
placement new operator to allow a constructor call on pre-allocated memory
The documentation for this class was generated from the following file:
- include/mw/gwl/GatewayEventChannel.h