ValueParameterGroup Class Reference


Detailed Description

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>

Inheritance diagram for ValueParameterGroup:
Inheritance graph
[legend]

List of all members.

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 &param)
ValueParameterRef  getNativeParameterByName (const awString::IString &name) const
virtual ParameterRef  getParameterByName (const awString::IString &name) const
virtual int  getParameterCount () const
virtual bool  removeParameter (const ParameterRef &param)
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 ()

Member Typedef Documentation

typedef aw::map<awString::IString, ValueParameterRef> ParameterList

Constructor & Destructor Documentation

ValueParameterGroup ( const awString::IString &  name,
const awString::IString &  type,
const awString::IString &  className 
)
virtual ~ValueParameterGroup ( ) [protected, virtual]

Member Function Documentation

virtual ParameterGroupRef clone ( ) const [virtual]
virtual const awString::IString& getOwnedObjectType ( ) const [virtual]
virtual ParameterRef createParameter ( const awString::IString &  name,
Parameter::Type  type,
const awString::IString &  valueAsString 
) [virtual]
virtual bool addParameter ( const ParameterRef param ) [virtual]
ValueParameterRef getNativeParameterByName ( const awString::IString &  name ) const
virtual ParameterRef getParameterByName ( const awString::IString &  name ) const [virtual]
virtual int getParameterCount ( ) const [virtual]
virtual bool removeParameter ( const ParameterRef param ) [virtual]
virtual bool removeAllParameters ( ) [virtual]
virtual ParameterIteratorRef getIterator ( ) const [virtual]
virtual ValueParameterIteratorRef getNativeIterator ( ) const [virtual]
virtual ParameterGroupRef getConnectedParameterGroup ( const awString::IString &  name ) const [virtual]
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

Member Data Documentation

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.


ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup
ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup ValueParameterGroup