![]() |
rodbus (C++ API) 1.3.1
|
helpers functions to create interface implementations using lambdas More...
Classes | |
| class | ClientStateListenerLambda |
| class that implements ClientStateListener in terms of a lambda expression More... | |
| class | DatabaseCallbackLambda |
| class that implements DatabaseCallback 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< ClientStateListener > | client_state_listener (const T &lambda) |
| construct an implementation of ClientStateListener 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 > | |
| DatabaseCallbackLambda< T > | database_callback (const T &lambda) |
| construct an implementation of DatabaseCallback based on a lambda expression More... | |
helpers functions to create interface implementations using lambdas
| std::unique_ptr< ClientStateListener > rodbus::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 |
| DatabaseCallbackLambda< T > rodbus::functional::database_callback | ( | const T & | lambda | ) |
construct an implementation of DatabaseCallback based on a lambda expression
| lambda | functor value on which to base the interface implementation |
| std::unique_ptr< Logger > rodbus::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 > rodbus::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 |