#include <parametersimple.h>
Public Member Functions | |
| virtual void | setValue (const Parameter &value) override |
| void | setValue (const T &value) |
| const T & | getValue () const |
Public Member Functions inherited from Parameter | |
| const std::string | getDisplayName () const |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () |
| virtual bool | init (utility::ErrorState &errorState) |
| virtual void | onDestroy () |
| Object (Object &)=delete | |
| Object & | operator= (const Object &)=delete |
| Object (Object &&)=delete | |
| Object & | operator= (Object &&)=delete |
Public Attributes | |
| T | mValue |
| Property: 'Value' the value of this parameter. More... | |
| Signal< T > | valueChanged |
| Signal that's raised when the value of this parameter changes. More... | |
Public Attributes inherited from Parameter | |
| std::string | mName |
| Property 'Name': The name of this property. The name is separate from the ID and doesn't have to be unique. More... | |
Public Attributes inherited from Object | |
| std::string | mID |
| Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Parameter that simply wraps a value without any further metadata
| const T & getValue |
|
overridevirtual |
Set the value of this enum from another parameter
| value | The parameter to set the value from |
Implements Parameter.
| void setValue | ( | const T & | value | ) |
Set the value of this parameter. Will raise the valueChanged signal if the value actually changes.
| value | The value to set |
| T mValue |
Property: 'Value' the value of this parameter.