C++ features by examples
Getter_interface< ValueType > Struct Template Referenceabstract
Inheritance diagram for Getter_interface< ValueType >:

Public Member Functions

virtual ValueType get () const =0
 is a sample of getter abstract interface for Synchronised_encapsulated_value More...
 
virtual ~Getter_interface ()=default
 

Detailed Description

template<typename ValueType>
struct Getter_interface< ValueType >

Definition at line 74 of file patterns.cpp.

Constructor & Destructor Documentation

◆ ~Getter_interface()

template<typename ValueType >
virtual Getter_interface< ValueType >::~Getter_interface ( )
virtualdefault

Member Function Documentation

◆ get()

template<typename ValueType >
virtual ValueType Getter_interface< ValueType >::get ( ) const
pure virtual

is a sample of getter abstract interface for Synchronised_encapsulated_value

Here is the caller graph for this function:

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