fesa-core-gsi  7.0.0
fesaGSI::GSICycleDescriptor Class Reference

This Timing Descriptor is used to handle the timing at CERN. More...

#include <GSICycleDescriptor.h>

Inherits CycleDescriptor.

Public Member Functions

 GSICycleDescriptor (const std::string &machineName, const std::string &groupName)
 Constructor. More...
 
virtual ~GSICycleDescriptor ()
 Destructor.
 
const bool isValidCycleSelector (const std::string &timingSelectorName)
 Checks, if the given timingSelectorName is part of this TimingDescriptor. More...
 
const std::string getCycleSelectorName (int timingSelectorID)
 returns the SelectorNam of the corresponding timingSelectorID. More...
 
const int32_t getCycleSelectorId (const std::string &timingSelectorName)
 returns the SelectorID of the corresponding timingSelector. More...
 
uint32_t getTgmMachineId ()
 returns the TgmMachine of this TimingDescriptor More...
 
uint32_t getTgmGroupId ()
 returns the group Id of this CycleSelector More...
 

Protected Member Functions

void refreshData ()
 connects to the timlib, to check if any data has changed
 

Protected Attributes

std::vector< std::string > lineNamesCol_
 Names of all lines of this TimingDescriptor, retrieved from the timLib.
 
uint32_t tgmMachineID_
 ID of the tgmMachine of this TimingDescriptor.
 
uint32_t tgmGroup_
 ID of the tgmGroup of this TimingDescriptor.
 
std::string tgmMachineName_
 name of the tgmMachine of this TimingDescriptor
 
std::string tgmGroupName_
 name of the group of this TimingDescriptor
 

Detailed Description

This Timing Descriptor is used to handle the timing at CERN.

Constructor & Destructor Documentation

fesaGSI::GSICycleDescriptor::GSICycleDescriptor ( const std::string &  machineName,
const std::string &  groupName 
)

Constructor.

Parameters
machineNameThe accelerator name
groupNamegroup, for which the data can be multiplexed. For example USER (VA)

Member Function Documentation

const int32_t fesaGSI::GSICycleDescriptor::getCycleSelectorId ( const std::string &  timingSelectorName)

returns the SelectorID of the corresponding timingSelector.

Parameters
timingSelectorNamethe name of the requested timingSelector
Returns
timingSelector ID
const std::string fesaGSI::GSICycleDescriptor::getCycleSelectorName ( int  timingSelectorID)

returns the SelectorNam of the corresponding timingSelectorID.

Parameters
timingSelectorIDthe ID of the requested timingSelector
Returns
timingSelectorName
uint32_t fesaGSI::GSICycleDescriptor::getTgmGroupId ( )

returns the group Id of this CycleSelector

Returns
group id
uint32_t fesaGSI::GSICycleDescriptor::getTgmMachineId ( )
inline

returns the TgmMachine of this TimingDescriptor

Returns
TgmMachineID as enum
const bool fesaGSI::GSICycleDescriptor::isValidCycleSelector ( const std::string &  timingSelectorName)

Checks, if the given timingSelectorName is part of this TimingDescriptor.

Returns
true, if valid

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