dnp3 (C++ API) 1.1.0
dnp3::functional::AssociationHandlerLambda< T > Class Template Referencefinal

class that implements AssociationHandler in terms of a lambda expression More...

#include <dnp3.hpp>

Inheritance diagram for dnp3::functional::AssociationHandlerLambda< T >:
dnp3::AssociationHandler

Public Member Functions

 AssociationHandlerLambda (const T &lambda)
 constructor More...
 
UtcTimestamp get_current_time () override
 implement virtual method from base class More...
 
virtual UtcTimestamp get_current_time ()=0
 Returns the current time or an invalid time if none is available. More...
 

Detailed Description

template<class T>
class dnp3::functional::AssociationHandlerLambda< T >

class that implements AssociationHandler in terms of a lambda expression

Note
this class can only be constructed using association_handler() helper function

Constructor & Destructor Documentation

◆ AssociationHandlerLambda()

template<class T >
dnp3::functional::AssociationHandlerLambda< T >::AssociationHandlerLambda ( const T &  lambda)
inline

constructor

Parameters
lambdafunctor value on which to base the interface implementation

Member Function Documentation

◆ get_current_time()

template<class T >
UtcTimestamp dnp3::functional::AssociationHandlerLambda< T >::get_current_time ( )
inlineoverridevirtual

implement virtual method from base class

Implements dnp3::AssociationHandler.


The documentation for this class was generated from the following file: