Fast active output connector. More...
#include <senf/PPI/FastConnector.hh>
Public Member Functions | |
FastPassiveInput< PacketType > & | peer () const |
template<class Handler > | |
void | onRequest (Handler handler) |
void | operator() (PacketType const &packet) const |
Public Member Functions inherited from senf::ppi::connector::Connector | |
Connector & | peer () const |
Get peer connected to this connector. More... | |
module::Module & | module () const |
Get this connectors containing module. More... | |
bool | connected () const |
true , if connector connected, false otherwise More... | |
void | disconnect () |
Disconnect connector from peer. More... | |
console::DirectoryNode & | consoleDir () const |
void | tracingState (TraceState state) |
TraceState | tracingState () const |
Friends | |
template<class PT > | |
void | senf::ppi::connect (connector::FastActiveOutput< PT > &, connector::FastPassiveInput< PT > &) |
Structors and default members | |
FastActiveOutput () | |
virtual | ~FastActiveOutput () |
Additional Inherited Members | |
Public Types inherited from senf::ppi::connector::Connector | |
enum | TraceState { NO_TRACING, TRACE_IDS, TRACE_CONTENTS } |
Static Public Member Functions inherited from senf::ppi::connector::Connector | |
static void | staticTracingState (TraceState state) |
static void | tracingFilter (std::string const &traceFilter) |
Protected Member Functions inherited from senf::ppi::connector::Connector | |
Connector () | |
virtual | ~Connector () |
void | connect (Connector &target) |
void | trace (Packet const &p, char const *label) |
void | throttleTrace (char const *label, char const *type) |
void | unregisterConnector () |
virtual void | v_disconnected () |
virtual void | v_connected () |
Fast active output connector.
Definition at line 35 of file FastConnector.hh.
senf::ppi::connector::FastActiveOutput< PacketType >::FastActiveOutput | ( | ) |
|
virtual |
void senf::ppi::connector::FastActiveOutput< PacketType >::onRequest | ( | Handler | handler | ) |
void senf::ppi::connector::FastActiveOutput< PacketType >::operator() | ( | PacketType const & | packet | ) | const |
FastPassiveInput<PacketType>& senf::ppi::connector::FastActiveOutput< PacketType >::peer | ( | ) | const |
|
friend |