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

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

Collaboration diagram for Seci.Managers.ExecutableMgr:
Collaboration graph

Static Public Member Functions

static Boolean AddExecutable (String fileName)
 Add a non LabVIEW programme to the configuration. More...
 
static Boolean AddExecutable (Executable exe)
 Add a non LabVIEW programme to the configuration. More...
 
static String GetFilePath (String name)
 Retrieve the full filepath based on the name of the program. More...
 
static List< String > GetListOfComponentExes ()
 Gets a list of the executables in components. More...
 
static List< String > GetListOfExes (Boolean includeComps)
 Gets a list of all the executables. Including any associated files in the components is optional. More...
 
static Boolean Hide (String fileName)
 Hide the program. More...
 
static Boolean IsDuplicate (String fileName)
 Checks that the program is not already part of the configuration. More...
 
static Boolean RemoveExecutable (String fileName)
 Remove a non LabVIEW programme from the configuration. More...
 
static Boolean Show (String fileName)
 Display the program. More...
 

Static Private Attributes

static SerialisableList
< Executable
_executables = new SerialisableList<Executable>()
 Container for any non-LabVIEW programs. More...
 

Detailed Description

The manager class for all things executable related

Definition at line 11 of file ExecutableMgr.cs.

Member Function Documentation

static Boolean Seci.Managers.ExecutableMgr.AddExecutable ( String  fileName)
inlinestatic

Add a non LabVIEW programme to the configuration.

Parameters
fileNameThe full filepath of the program
Returns
Result

Definition at line 27 of file ExecutableMgr.cs.

static Boolean Seci.Managers.ExecutableMgr.AddExecutable ( Executable  exe)
inlinestatic

Add a non LabVIEW programme to the configuration.

Parameters
exeThe executable to add.
Returns
Result

Definition at line 45 of file ExecutableMgr.cs.

References Seci.Definitions.Executable.FilePath.

static String Seci.Managers.ExecutableMgr.GetFilePath ( String  name)
inlinestatic

Retrieve the full filepath based on the name of the program.

Parameters
nameThe name of the program
Returns
String containing the full filepath

Definition at line 192 of file ExecutableMgr.cs.

static List<String> Seci.Managers.ExecutableMgr.GetListOfComponentExes ( )
inlinestatic

Gets a list of the executables in components.

Returns
List of Strings containing the full filepaths

Definition at line 125 of file ExecutableMgr.cs.

static List<String> Seci.Managers.ExecutableMgr.GetListOfExes ( Boolean  includeComps)
inlinestatic

Gets a list of all the executables. Including any associated files in the components is optional.

Parameters
includeCompsWhether to include any component associated files
Returns
List of Strings containing the full filepaths

Definition at line 103 of file ExecutableMgr.cs.

static Boolean Seci.Managers.ExecutableMgr.Hide ( String  fileName)
inlinestatic

Hide the program.

Parameters
fileNameThe full filepath of the program
Returns
Result

Definition at line 170 of file ExecutableMgr.cs.

static Boolean Seci.Managers.ExecutableMgr.IsDuplicate ( String  fileName)
inlinestatic

Checks that the program is not already part of the configuration.

Parameters
fileNameThe full filepath of the executable
Returns
True if is duplicate

Definition at line 90 of file ExecutableMgr.cs.

static Boolean Seci.Managers.ExecutableMgr.RemoveExecutable ( String  fileName)
inlinestatic

Remove a non LabVIEW programme from the configuration.

Parameters
fileNameThe full filepath of the programme
Returns
Result

Definition at line 65 of file ExecutableMgr.cs.

static Boolean Seci.Managers.ExecutableMgr.Show ( String  fileName)
inlinestatic

Display the program.

Parameters
fileNameThe full filepath of the program
Returns
Result

Definition at line 148 of file ExecutableMgr.cs.

Member Data Documentation

SerialisableList<Executable> Seci.Managers.ExecutableMgr._executables = new SerialisableList<Executable>()
staticprivate

Container for any non-LabVIEW programs.

Definition at line 16 of file ExecutableMgr.cs.


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