Class Connection
Defined in File connection.h
Class Documentation
-
class Connection
Encapsulates a connection from one filter to another (or to a user-specified callback)
Public Types
-
using VoidDisconnectFunction = std::function<void(void)>
-
using WithConnectionDisconnectFunction = std::function<void(const Connection&)>
Public Functions
-
inline MESSAGE_FILTERS_PUBLIC Connection()
-
MESSAGE_FILTERS_PUBLIC Connection(const VoidDisconnectFunction &func)
- MESSAGE_FILTERS_PUBLIC void disconnect ()
disconnects this connection
-
using VoidDisconnectFunction = std::function<void(void)>