AlternativeSet.Alternative Class Reference


Detailed Description

To do: how to activate and deactivate alternative elements that are added/removed from pre-existing alternatives.

We may need to maintain the active state here.

#include <class_alternative_set_1_1_alternative.h>

Inheritance diagram for AlternativeSet.Alternative:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  __init__ ()
  This is a thread-safe set of node identifiers.
  onNodeAdded ()
  onNodeRemoved ()
  onNodeDirty ()
  Derive from this class and implement this method to do some processing when a node in this list becomes dirty.
  setActiveStateChangedCallback ()
  isActiveDirty ()
  isActive ()
  Returns True if all of the node states in this alternative match the state saved in the alternative.
  rebindContents ()
  __eq__ ()
  __ne__ ()
  cleanup ()
  Cleanup any complex objects.
  type ()
  parent ()
  __str__ ()
  replace ()

Public Attributes

  name = property( __getName, __setName )
  id = property( __getNameId, __setName )
  label = property(__getLabel, __setLabel)
  image = property( __getImage, __setImage )
  type

Member Function Documentation

AlternativeSet.Alternative.__init__ ( )
AlternativeSet.Alternative.onNodeAdded ( )
AlternativeSet.Alternative.onNodeRemoved ( )
AlternativeSet.Alternative.onNodeDirty ( )

Derive from this class and implement this method to do some processing when a node in this list becomes dirty.

Reimplemented from NodeContainers.NodeIdList.

AlternativeSet.Alternative.setActiveStateChangedCallback ( )
AlternativeSet.Alternative.isActiveDirty ( )
AlternativeSet.Alternative.isActive ( )

Returns True if all of the node states in this alternative match the state saved in the alternative.

AlternativeSet.Alternative.rebindContents ( )
AlternativeSet.Alternative.__eq__ ( )
AlternativeSet.Alternative.__ne__ ( )
AlternativeSet.Alternative.cleanup ( )

Cleanup any complex objects.

Reimplemented in AlternativeSet.MaterialAlternative.

AlternativeSet.Alternative.parent ( )
AlternativeSet.Alternative.__str__ ( )

Member Data Documentation

AlternativeSet.Alternative.id = property( __getNameId, __setName )

AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative
AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative AlternativeSet.Alternative