Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::OptionInfo Struct Reference

Collaboration diagram for dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::OptionInfo:

Collaboration graph
[legend]
List of all members.

Detailed Description

OptionInfo holds mutable information related to a ModelOptionDef.

We associate one OptionInfo with each ModelOptionDef that ModelManager hears about. Each OptionInfo keeps track of the current value of that option in the current program run, as well as the list of params who are listening for that option's value.

Definition at line 87 of file CmdlineOptionManager.C.

Public Member Functions

 OptionInfo (const ModelOptionDef *d)

Public Attributes

int sortid
 used to sort OptionInfo's in creation order
string val
 current value in string representation
ParamList params
 the components that requested this option

Static Public Attributes

static int nextid = 0
 next available value for sortid


Member Data Documentation

int dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::OptionInfo::nextid = 0 [static]
 

next available value for sortid

Definition at line 96 of file CmdlineOptionManager.C.

ParamList dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::OptionInfo::params
 

the components that requested this option

Definition at line 100 of file CmdlineOptionManager.C.

Referenced by CmdlineOptionManager::requestOption(), CmdlineOptionManager::requestOptionAlias(), CmdlineOptionManager::setOptionValString(), and CmdlineOptionManager::unRequestOption().

int dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::OptionInfo::sortid
 

used to sort OptionInfo's in creation order

Definition at line 98 of file CmdlineOptionManager.C.

string dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::OptionInfo::val
 

current value in string representation

Definition at line 99 of file CmdlineOptionManager.C.

Referenced by CmdlineOptionManager::getOptionValString(), CmdlineOptionManager::requestOption(), and CmdlineOptionManager::setOptionValString().


The documentation for this struct was generated from the following file:
Generated on Mon Nov 23 15:56:55 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4