ValueParameterGroup represents an object consisting of a list of named and typed parameters (see awSupport::Parameter).
Each instance of this class also has a name and type;
#include <ValueParameterGroup.h>
Public Types |
|
typedef
aw::map < awString::IString, ValueParameterRef > |
ParameterList |
Public Member Functions |
|
ValueParameterGroup (const awString::IString &name, const awString::IString &type, const awString::IString &className) | |
ValueParameterGroup (const ValueParameterGroup &src) | |
virtual ParameterGroupRef | clone () const |
virtual const awString::IString & | getOwnedObjectType () const |
virtual ParameterRef | createParameter (const awString::IString &name, Parameter::Type type, const awString::IString &valueAsString) |
virtual bool | addParameter (const ParameterRef ¶m) |
ValueParameterRef | getNativeParameterByName (const awString::IString &name) const |
virtual ParameterRef | getParameterByName (const awString::IString &name) const |
virtual int | getParameterCount () const |
virtual bool | removeParameter (const ParameterRef ¶m) |
virtual bool | removeAllParameters () |
virtual ParameterIteratorRef | getIterator () const |
virtual ValueParameterIteratorRef | getNativeIterator () const |
virtual ParameterGroupRef | getConnectedParameterGroup (const awString::IString &name) const |
bool | forceParameterDouble (const awString::IString &name, const double value) |
Shortcut for forcing a double or matrix
parameter: |
|
bool | forceParameterAffineMatrix (const awString::IString &name, const awLinear::AffineMatrix &value) |
virtual bool | operator== (const ParameterGroup &other) const |
Two parameter groups are equal if they have
the same name, the same type, the same number of parameters, and
the same parameters. |
|
virtual bool | isEquivalent (const ParameterGroup &other) const |
Same as operator==, except that two
parameter groups that have different names are considered
equivalent. |
|
bool | isEquivalent (const ValueParameterGroup &other) const |
Static Public Attributes |
|
static
awRTB::SignalArg < ValueParameterGroup * > |
sigParameterGroupDeleted |
If you want to know when this
ValueParameterGroup is deleted, connect yourself to this
signal. |
|
Protected Member Functions |
|
virtual | ~ValueParameterGroup () |
typedef aw::map<awString::IString, ValueParameterRef> ParameterList |
ValueParameterGroup | ( | const awString::IString & | name, |
const awString::IString & | type, | ||
const awString::IString & | className | ||
) |
ValueParameterGroup | ( | const ValueParameterGroup & | src | ) |
virtual ~ValueParameterGroup | ( | ) | [protected, virtual] |
virtual ParameterGroupRef clone | ( | ) | const [virtual] |
Implements ParameterGroup.
Reimplemented in ObjectAssociations, and ObjectProperties.
virtual const awString::IString& getOwnedObjectType | ( | ) | const [virtual] |
Reimplemented from ParameterGroup.
virtual ParameterRef createParameter | ( | const awString::IString & | name, |
Parameter::Type | type, | ||
const awString::IString & | valueAsString | ||
) | [virtual] |
Implements ParameterGroup.
virtual bool addParameter | ( | const ParameterRef & | param | ) | [virtual] |
Implements ParameterGroup.
ValueParameterRef getNativeParameterByName | ( | const awString::IString & | name | ) | const |
virtual ParameterRef getParameterByName | ( | const awString::IString & | name | ) | const [virtual] |
Reimplemented from ParameterGroup.
virtual int getParameterCount | ( | ) | const [virtual] |
Implements ParameterGroup.
virtual bool removeParameter | ( | const ParameterRef & | param | ) | [virtual] |
Implements ParameterGroup.
virtual bool removeAllParameters | ( | ) | [virtual] |
Implements ParameterGroup.
virtual ParameterIteratorRef getIterator | ( | ) | const [virtual] |
Implements ParameterGroup.
virtual ValueParameterIteratorRef getNativeIterator | ( | ) | const [virtual] |
virtual ParameterGroupRef getConnectedParameterGroup | ( | const awString::IString & | name | ) | const [virtual] |
Implements ParameterGroup.
bool forceParameterDouble | ( | const awString::IString & | name, |
const double | value | ||
) |
Shortcut for forcing a double or matrix parameter:
bool forceParameterAffineMatrix | ( | const awString::IString & | name, |
const awLinear::AffineMatrix & | value | ||
) |
virtual bool operator== | ( | const ParameterGroup & | other | ) | const [virtual] |
Two parameter groups are equal if they have the same name, the same type, the same number of parameters, and the same parameters.
Implements ParameterGroup.
virtual bool isEquivalent | ( | const ParameterGroup & | other | ) | const [virtual] |
Same as operator==, except that two parameter groups that have different names are considered equivalent.
Implements ParameterGroup.
bool isEquivalent | ( | const ValueParameterGroup & | other | ) | const |
awRTB::SignalArg<ValueParameterGroup*>
sigParameterGroupDeleted [static] |
If you want to know when this ValueParameterGroup is deleted, connect yourself to this signal.
This member is not exported through SWIG as currently we do not export any of the awRTB classes.