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 115 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 118 of file property.h.

References m_func.

Member Function Documentation

◆ operator()()

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

Implements SETTER_BASE< Owner, T >.

Definition at line 124 of file property.h.

References m_func, and T.

Member Data Documentation

◆ m_func

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

Definition at line 130 of file property.h.

Referenced by operator()(), and SETTER().


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