Cern
LibTmsApi 2.3.0
Tms::CycleParamDb Class Reference

Internal CycleParameter management class. More...

#include <TmsLib.h>

Public Member Functions

 CycleParamDb (BString baseDir=".")
 
BError getCycleTypes (BList< BString > &typeList)
 Get the list of CycleParameter types in the directory.
 
BError getFileNames (BList< BString > &fileList)
 Get a list of all of the CycleParameter file names.
 
BError getCycleParams (BString fileName, Tms::CycleParam &param)
 Get the CycleParameter from the given file name.
 
BError setCycleParams (Tms::CycleParam param)
 Set the CycleParameters. Writes to the appropriate file name.
 
BError deleteCycleParams (BString cycleType, BUInt32 ring, BUInt32 puChannel)
 Deletes all CycleParameter definition files for the given ring/channel.
 
BError readCycleParams (BString fileName, Tms::CycleParam &param)
 Reads a set of CycleParameters from a file.
 
BError writeCycleParams (BString fileName, Tms::CycleParam param)
 Writes a set of CycleParameters to a file.
 

Private Attributes

BString obaseDir
 

Detailed Description

Internal CycleParameter management class.

Constructor & Destructor Documentation

◆ CycleParamDb()

Tms::CycleParamDb::CycleParamDb ( BString  baseDir = ".")

Member Function Documentation

◆ deleteCycleParams()

BError Tms::CycleParamDb::deleteCycleParams ( BString  cycleType,
BUInt32  ring,
BUInt32  puChannel 
)

Deletes all CycleParameter definition files for the given ring/channel.

◆ getCycleParams()

BError Tms::CycleParamDb::getCycleParams ( BString  fileName,
Tms::CycleParam param 
)

Get the CycleParameter from the given file name.

◆ getCycleTypes()

BError Tms::CycleParamDb::getCycleTypes ( BList< BString > &  typeList)

Get the list of CycleParameter types in the directory.

◆ getFileNames()

BError Tms::CycleParamDb::getFileNames ( BList< BString > &  fileList)

Get a list of all of the CycleParameter file names.

◆ readCycleParams()

BError Tms::CycleParamDb::readCycleParams ( BString  fileName,
Tms::CycleParam param 
)

Reads a set of CycleParameters from a file.

◆ setCycleParams()

BError Tms::CycleParamDb::setCycleParams ( Tms::CycleParam  param)

Set the CycleParameters. Writes to the appropriate file name.

◆ writeCycleParams()

BError Tms::CycleParamDb::writeCycleParams ( BString  fileName,
Tms::CycleParam  param 
)

Writes a set of CycleParameters to a file.

Member Data Documentation

◆ obaseDir

BString Tms::CycleParamDb::obaseDir
private

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