opendnp3  3.1.0
Reference implementation of DNP3 (IEEE-1815)
opendnp3::FunctorVisitor< T, Fun > Class Template Reference

A visitor implemented as an abstract functor. More...

#include <opendnp3/app/parsing/ICollection.h>

Public Member Functions

 FunctorVisitor (const Fun &fun_)
 
virtual void OnValue (const T &value) override final
 

Private Attributes

Fun fun
 

Detailed Description

template<class T, class Fun>
class opendnp3::FunctorVisitor< T, Fun >

A visitor implemented as an abstract functor.

Definition at line 42 of file ICollection.h.

Constructor & Destructor Documentation

◆ FunctorVisitor()

template<class T, class Fun>
opendnp3::FunctorVisitor< T, Fun >::FunctorVisitor ( const Fun &  fun_)
inline

Definition at line 46 of file ICollection.h.

Member Function Documentation

◆ OnValue()

template<class T, class Fun>
virtual void opendnp3::FunctorVisitor< T, Fun >::OnValue ( const T &  value)
inlinefinaloverridevirtual

Implements opendnp3::IVisitor< T >.

Definition at line 48 of file ICollection.h.

References opendnp3::FunctorVisitor< T, Fun >::fun.

Member Data Documentation

◆ fun

template<class T, class Fun>
Fun opendnp3::FunctorVisitor< T, Fun >::fun
private

Definition at line 54 of file ICollection.h.

Referenced by opendnp3::FunctorVisitor< T, Fun >::OnValue().


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