KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SETTER< Owner, T, FuncType > Class Template Reference

#include <property.h>

Inheritance diagram for SETTER< Owner, T, FuncType >:
SETTER_BASE< Owner, T >

Public Member Functions

 SETTER (FuncType aFunc)
 
void operator() (Owner *aOwner, T aValue) override
 

Private Attributes

FuncType m_func
 

Detailed Description

template<typename Owner, typename T, typename FuncType>
class SETTER< Owner, T, FuncType >

Definition at line 113 of file property.h.

Constructor & Destructor Documentation

◆ SETTER()

template<typename Owner , typename T , typename FuncType >
SETTER< Owner, T, FuncType >::SETTER ( FuncType  aFunc)
inline

Definition at line 116 of file property.h.

References SETTER< Owner, T, FuncType >::m_func.

Member Function Documentation

◆ operator()()

template<typename Owner , typename T , typename FuncType >
void SETTER< Owner, T, FuncType >::operator() ( Owner *  aOwner,
aValue 
)
inlineoverridevirtual

Implements SETTER_BASE< Owner, T >.

Definition at line 122 of file property.h.

References SETTER< Owner, T, FuncType >::m_func.

Member Data Documentation

◆ m_func

template<typename Owner , typename T , typename FuncType >
FuncType SETTER< Owner, T, FuncType >::m_func
private

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