SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
SimpleMapModuleState Class Reference

#include <SimpleMapModuleState.h>

Inheritance diagram for SimpleMapModuleState:
ModuleStateInterface SimpleMapModuleStateXML

Public Member Functions

 SimpleMapModuleState ()
 
 SimpleMapModuleState (const SimpleMapModuleState &rhs)
 
SimpleMapModuleStateoperator= (const SimpleMapModuleState &rhs)
 
virtual const Value getValue (const Name &name) const
 
virtual void setValue (const Name &name, const SCIRun::Core::Algorithms::AlgorithmParameter::Value &value)
 
virtual bool containsKey (const Name &name) const
 
virtual Keys getKeys () const
 
virtual
SCIRun::Dataflow::Networks::ModuleStateHandle 
clone () const
 
virtual boost::signals2::connection connect_state_changed (state_changed_sig_t::slot_function_type subscriber)
 
virtual TransientValueOption getTransientValue (const std::string &name) const
 
virtual void setTransientValue (const std::string &name, const TransientValue &value, bool fireSignal)
 
virtual void fireTransientStateChangeSignal ()
 
- Public Member Functions inherited from ModuleStateInterface
virtual ~ModuleStateInterface ()
 

Protected Types

typedef std::map< Name, ValueStateMap
 
typedef std::map< std::string,
TransientValue
TransientStateMap
 

Protected Attributes

StateMap stateMap_
 
TransientStateMap transientStateMap_
 
state_changed_sig_t stateChangedSignal_
 

Additional Inherited Members

- Public Types inherited from ModuleStateInterface
typedef std::vector
< SCIRun::Core::Algorithms::AlgorithmParameterName
Keys
 
typedef
SCIRun::Core::Algorithms::AlgorithmParameterName 
Name
 
typedef
SCIRun::Core::Algorithms::AlgorithmParameter 
Value
 
typedef boost::any TransientValue
 
typedef boost::optional
< TransientValue
TransientValueOption
 
typedef
boost::signals2::signal< void()> 
state_changed_sig_t
 

Member Typedef Documentation

typedef std::map<Name, Value> StateMap
protected
typedef std::map<std::string, TransientValue> TransientStateMap
protected

Constructor & Destructor Documentation

Member Function Documentation

ModuleStateHandle clone ( ) const
virtual

Implements ModuleStateInterface.

boost::signals2::connection connect_state_changed ( state_changed_sig_t::slot_function_type  subscriber)
virtual

Implements ModuleStateInterface.

bool containsKey ( const Name name) const
virtual

Implements ModuleStateInterface.

void fireTransientStateChangeSignal ( )
virtual
Todo:
: ???

Implements ModuleStateInterface.

ModuleStateInterface::Keys getKeys ( ) const
virtual

Implements ModuleStateInterface.

SimpleMapModuleState::TransientValueOption getTransientValue ( const std::string &  name) const
virtual

Implements ModuleStateInterface.

const ModuleStateInterface::Value getValue ( const Name name) const
virtual

Implements ModuleStateInterface.

SimpleMapModuleState & operator= ( const SimpleMapModuleState rhs)
Todo:
: I think this is wrong, transient shouldn't be copied
Todo:
??
void setTransientValue ( const std::string &  name,
const TransientValue value,
bool  fireSignal 
)
virtual

Implements ModuleStateInterface.

void setValue ( const Name name,
const SCIRun::Core::Algorithms::AlgorithmParameter::Value value 
)
virtual

Implements ModuleStateInterface.

Member Data Documentation

state_changed_sig_t stateChangedSignal_
protected
StateMap stateMap_
protected
TransientStateMap transientStateMap_
protected

The documentation for this class was generated from the following files: