SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Static Public Member Functions | Properties | Static Private Member Functions | Static Private Attributes | List of all members
Seci.Managers.ComponentMgr Class Reference

The manager class for all things component related More...

Collaboration diagram for Seci.Managers.ComponentMgr:
Collaboration graph

Static Public Member Functions

static Boolean AddComponent (String fileName)
 Open a component and add it to the current configuration. More...
 
static List< String > GetNames ()
 Gets a list of the names of the components that are part of the current configuration. More...
 
static void LoadComponentsVisExes ()
 Loads the VIs and executables associated to the component More...
 
static Boolean RemoveComponent (String compName)
 Removes a component from the current configuration. Removes any VIs, blocks, or executables associated with the component. More...
 
static void SaveComponent (String compName)
 

Properties

static ComponentList Components [get, set]
 

Static Private Member Functions

static void addBlocks (String compName)
 Set the owning name of the blocks then add to the block dictionary. More...
 
static void addGraphs (String compName)
 When loading or adding a component this method adds any graphs that are part of the component. More...
 
static void loadAssocFiles (String compName)
 When loading or adding a component this method loads any associated files that are part of the component. More...
 
static void loadComponentExes (String compName)
 When loading or adding a component this method loads any executables that are part of the More...
 
static void loadComponentVIs (String compName)
 When adding a component to a configuration this method loads all (if any) LabVIEW VIs in the component. More...
 

Static Private Attributes

static ComponentList _components = new ComponentList()
 

Detailed Description

The manager class for all things component related

Definition at line 11 of file ComponentMgr.cs.

Member Function Documentation

static void Seci.Managers.ComponentMgr.addBlocks ( String  compName)
inlinestaticprivate

Set the owning name of the blocks then add to the block dictionary.

Parameters
compNameThe name of the component

Definition at line 204 of file ComponentMgr.cs.

static Boolean Seci.Managers.ComponentMgr.AddComponent ( String  fileName)
inlinestatic

Open a component and add it to the current configuration.

Parameters
fileNameThe name of the configuration to open
Returns
The name of the opened component without the filepath

Definition at line 21 of file ComponentMgr.cs.

References Seci.Managers.BlockMgr.BlockGroupExists().

Here is the call graph for this function:

static void Seci.Managers.ComponentMgr.addGraphs ( String  compName)
inlinestaticprivate

When loading or adding a component this method adds any graphs that are part of the component.

Parameters
compNameThe name of the component

Definition at line 312 of file ComponentMgr.cs.

static List<String> Seci.Managers.ComponentMgr.GetNames ( )
inlinestatic

Gets a list of the names of the components that are part of the current configuration.

Returns
String List of the component names

Definition at line 183 of file ComponentMgr.cs.

static void Seci.Managers.ComponentMgr.loadAssocFiles ( String  compName)
inlinestaticprivate

When loading or adding a component this method loads any associated files that are part of the component.

Parameters
compNameThe name of the component

Definition at line 297 of file ComponentMgr.cs.

static void Seci.Managers.ComponentMgr.loadComponentExes ( String  compName)
inlinestaticprivate

When loading or adding a component this method loads any executables that are part of the

Parameters
compNameThe name of the component

Definition at line 283 of file ComponentMgr.cs.

static void Seci.Managers.ComponentMgr.LoadComponentsVisExes ( )
inlinestatic

Loads the VIs and executables associated to the component

Definition at line 217 of file ComponentMgr.cs.

static void Seci.Managers.ComponentMgr.loadComponentVIs ( String  compName)
inlinestaticprivate

When adding a component to a configuration this method loads all (if any) LabVIEW VIs in the component.

Parameters
compNameThe name of the component

Definition at line 236 of file ComponentMgr.cs.

static Boolean Seci.Managers.ComponentMgr.RemoveComponent ( String  compName)
inlinestatic

Removes a component from the current configuration. Removes any VIs, blocks, or executables associated with the component.

Parameters
compNameThe name of the component
Returns
Result

Definition at line 102 of file ComponentMgr.cs.

References Seci.Managers.BlockMgr.Blocks, and Seci.BlockDictionary.Count.

static void Seci.Managers.ComponentMgr.SaveComponent ( String  compName)
inlinestatic

Definition at line 322 of file ComponentMgr.cs.

Member Data Documentation

ComponentList Seci.Managers.ComponentMgr._components = new ComponentList()
staticprivate

Definition at line 13 of file ComponentMgr.cs.

Property Documentation

ComponentList Seci.Managers.ComponentMgr.Components
staticgetset

Definition at line 14 of file ComponentMgr.cs.

Referenced by Seci.Managers.ConfigurationMgr.AddComponentTabs().


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