rcRunIdHelper Class Reference

Utility class to set and retrieve run id. More...

Collaboration diagram for rcRunIdHelper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

def __init__
 rcRunIdHelper constructor.
def currentRunId
 Retrieve the current run id.
def nextRunId
 Increment the run id and update runId.cfg.

Static Public Attributes

string SECTION_M = 'MachineData'
string SECTION_R = 'RunIdData'
string OPTION_MID = 'machineid'
string OPTION_RID = 'runid'

Detailed Description

Utility class to set and retrieve run id.

Definition at line 24 of file rcRunIdHelper.py.


Member Function Documentation

def __init__   self,
  prefs
 

rcRunIdHelper constructor.

Parameters:
prefs Preferences instance.

Definition at line 31 of file rcRunIdHelper.py.

def currentRunId   self  ) 
 

Retrieve the current run id.

Returns:
The current run id (includes the machine id).

Definition at line 50 of file rcRunIdHelper.py.

def nextRunId   self  ) 
 

Increment the run id and update runId.cfg.

Returns:
The next run id.

Definition at line 68 of file rcRunIdHelper.py.


Member Data Documentation

string OPTION_MID = 'machineid' [static]
 

Definition at line 28 of file rcRunIdHelper.py.

string OPTION_RID = 'runid' [static]
 

Definition at line 29 of file rcRunIdHelper.py.

string SECTION_M = 'MachineData' [static]
 

Definition at line 26 of file rcRunIdHelper.py.

string SECTION_R = 'RunIdData' [static]
 

Definition at line 27 of file rcRunIdHelper.py.


The documentation for this class was generated from the following file:
Generated on Thu Apr 27 20:53:29 2006 for LICOS L02-01-00 by doxygen 1.4.6-NO