Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
sbk::core::property< T > Class Template Reference

Public Types

using property_changed_delegate = MulticastDelegate< T, T >
 

Public Member Functions

 property (T value)
 
 property (T value, T min, T max)
 
 property (const property &other)
 Copy constructor.
 
 property (property &&other)=default
 Move constructor.
 
propertyoperator= (const property &other)
 Assignment operator.
 
propertyoperator= (property &&other)=default
 
void set (T value)
 
T get () const
 
property_changed_delegateget_delegate ()
 
T get_min () const
 
T get_max () const
 
std::pair< T, Tget_min_max_pair () const
 

Constructor & Destructor Documentation

◆ property()

template<typename T >
sbk::core::property< T >::property ( property< T > &&  other)
default

Move constructor.

Parameters
other

Member Function Documentation

◆ operator=()

template<typename T >
property & sbk::core::property< T >::operator= ( const property< T > &  other)
inline

Assignment operator.

Copys all values from other to this Property, including the delegate.

Parameters
otherProperty to copy from.
Returns

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