Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
SB::Core::Property< T > Class Template Reference

Public Types

using PropertyChangedDelegate = 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
 
PropertyChangedDelegategetDelegate ()
 
T getMin () const
 
T getMax () const
 
std::pair< T, TgetMinMaxPair () const
 

Constructor & Destructor Documentation

◆ Property()

template<typename T >
SB::Core::Property< T >::Property ( Property< T > &&  other)
default

Move constructor.

Parameters
other

Member Function Documentation

◆ operator=()

template<typename T >
Property & SB::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: