dnp3 (C++ API) 1.1.0
|
helpers functions to create interface implementations using lambdas More...
Classes | |
class | AssociationHandlerLambda |
class that implements AssociationHandler in terms of a lambda expression More... | |
class | ClientStateListenerLambda |
class that implements ClientStateListener in terms of a lambda expression More... | |
class | ConnectionStateListenerLambda |
class that implements ConnectionStateListener in terms of a lambda expression More... | |
class | DatabaseTransactionLambda |
class that implements DatabaseTransaction in terms of a lambda expression More... | |
class | LoggerLambda |
class that implements Logger in terms of a lambda expression More... | |
class | PortStateListenerLambda |
class that implements PortStateListener in terms of a lambda expression More... | |
Functions | |
template<class T > | |
std::unique_ptr< Logger > | logger (const T &lambda) |
construct an implementation of Logger based on a lambda expression More... | |
template<class T > | |
std::unique_ptr< PortStateListener > | port_state_listener (const T &lambda) |
construct an implementation of PortStateListener based on a lambda expression More... | |
template<class T > | |
std::unique_ptr< ClientStateListener > | client_state_listener (const T &lambda) |
construct an implementation of ClientStateListener based on a lambda expression More... | |
template<class T > | |
std::unique_ptr< AssociationHandler > | association_handler (const T &lambda) |
construct an implementation of AssociationHandler based on a lambda expression More... | |
template<class T > | |
DatabaseTransactionLambda< T > | database_transaction (const T &lambda) |
construct an implementation of DatabaseTransaction based on a lambda expression More... | |
template<class T > | |
std::unique_ptr< ConnectionStateListener > | connection_state_listener (const T &lambda) |
construct an implementation of ConnectionStateListener based on a lambda expression More... | |
helpers functions to create interface implementations using lambdas
std::unique_ptr< AssociationHandler > dnp3::functional::association_handler | ( | const T & | lambda | ) |
construct an implementation of AssociationHandler based on a lambda expression
lambda | functor value on which to base the interface implementation |
std::unique_ptr< ClientStateListener > dnp3::functional::client_state_listener | ( | const T & | lambda | ) |
construct an implementation of ClientStateListener based on a lambda expression
lambda | functor value on which to base the interface implementation |
std::unique_ptr< ConnectionStateListener > dnp3::functional::connection_state_listener | ( | const T & | lambda | ) |
construct an implementation of ConnectionStateListener based on a lambda expression
lambda | functor value on which to base the interface implementation |
DatabaseTransactionLambda< T > dnp3::functional::database_transaction | ( | const T & | lambda | ) |
construct an implementation of DatabaseTransaction based on a lambda expression
lambda | functor value on which to base the interface implementation |
std::unique_ptr< Logger > dnp3::functional::logger | ( | const T & | lambda | ) |
construct an implementation of Logger based on a lambda expression
lambda | functor value on which to base the interface implementation |
std::unique_ptr< PortStateListener > dnp3::functional::port_state_listener | ( | const T & | lambda | ) |
construct an implementation of PortStateListener based on a lambda expression
lambda | functor value on which to base the interface implementation |