otsdaq  v2_05_02_indev
ots::SlowControlsTableBase Class Referenceabstract
Inheritance diagram for ots::SlowControlsTableBase:
ots::TableBase ots::ARTDAQBoardReaderTable ots::ARTDAQDataLoggerTable ots::ARTDAQDispatcherTable ots::ARTDAQEventBuilderTable ots::ARTDAQRoutingMasterTable

Classes

struct  ColChannel
 

Public Member Functions

 SlowControlsTableBase (std::string tableName, std::string *accumulatedExceptions=0)
 
virtual bool slowControlsChannelListHasChanged (void) const
 
virtual void getSlowControlsChannelList (std::vector< std::pair< std::string, std::vector< std::string >>> &channelList) const
 
virtual bool outputEpicsPVFile (ConfigurationManager *configManager, std::vector< std::pair< std::string, std::vector< std::string >>> *channelList=0) const
 
virtual unsigned int slowControlsHandlerConfig (std::stringstream &out, ConfigurationManager *configManager, std::vector< std::pair< std::string, std::vector< std::string >>> *channelList) const =0
 
virtual unsigned int slowControlsHandler (std::stringstream &out, std::string &tabStr, std::string &commentStr, std::string &subsystem, std::string &location, ConfigurationTree slowControlsLink, std::vector< std::pair< std::string, std::vector< std::string >>> *channelList) const
 
virtual std::string setFilePath () const =0
 
- Public Member Functions inherited from ots::TableBase
 TableBase (bool specialTable, const std::string &specialTableName)
 
 TableBase (const std::string &tableName, std::string *accumulatedExceptions=0)
 
virtual void init (ConfigurationManager *configManager)
 
void destroy (void)
 
void reset (bool keepTemporaryVersions=false)
 
void deactivate (void)
 
bool isActive (void)
 
void print (std::ostream &out=std::cout) const
 
std::string getTypeId (void)
 
void setupMockupView (TableVersion version)
 
void changeVersionAndActivateView (TableVersion temporaryVersion, TableVersion version)
 
bool isStored (const TableVersion &version) const
 
bool eraseView (TableVersion version)
 
void trimCache (unsigned int trimSize=-1)
 
void trimTemporary (TableVersion targetVersion=TableVersion())
 
TableVersion checkForDuplicate (TableVersion needleVersion, TableVersion ignoreVersion=TableVersion()) const
 
const std::string & getTableName (void) const
 
const std::string & getTableDescription (void) const
 
std::set< TableVersiongetStoredVersions (void) const
 
const TableViewgetView (void) const
 
TableViewgetViewP (void)
 
TableViewgetMockupViewP (void)
 
const TableVersiongetViewVersion (void) const
 
TableViewgetTemporaryView (TableVersion temporaryVersion)
 
TableVersion getNextTemporaryVersion (void) const
 
TableVersion getNextVersion (void) const
 
void setTableName (const std::string &tableName)
 
void setTableDescription (const std::string &tableDescription)
 
bool setActiveView (TableVersion version)
 
TableVersion copyView (const TableView &sourceView, TableVersion destinationVersion, const std::string &author)
 
TableVersion mergeViews (const TableView &sourceViewA, const TableView &sourceViewB, TableVersion destinationVersion, const std::string &author, const std::string &mergeApproach, std::map< std::pair< std::string, std::string >, std::string > &uidConversionMap, std::map< std::pair< std::string, std::pair< std::string, std::string > >, std::string > &groupidConversionMap, bool fillRecordConversionMaps, bool applyRecordConversionMaps, bool generateUniqueDataColumns=false)
 
TableVersion createTemporaryView (TableVersion sourceViewVersion=TableVersion(), TableVersion destTemporaryViewVersion=TableVersion::getNextTemporaryVersion())
 
bool latestAndMockupColumnNumberMismatch (void) const
 
unsigned int getNumberOfStoredViews (void) const
 

Public Attributes

struct
ots::SlowControlsTableBase::ColChannel 
channelColNames_
 
bool isFirstAppInContext_ = false
 
bool channelListHasChanged_ = false
 
ConfigurationManagerlastConfigManager_ = nullptr
 
- Public Attributes inherited from ots::TableBase
const unsigned int MAX_VIEWS_IN_CACHE
 

Additional Inherited Members

- Static Public Member Functions inherited from ots::TableBase
static std::string convertToCaps (std::string &str, bool isConfigName=false)
 
- Protected Attributes inherited from ots::TableBase
std::string tableName_
 
std::string tableDescription_
 
TableViewactiveTableView_
 
TableView mockupTableView_
 
std::map< TableVersion, TableViewtableViews_
 

Detailed Description

Definition at line 17 of file SlowControlsTableBase.h.


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