$treeview $search $mathjax $extrastylesheet
otsdaq  v2_03_00
$projectbrief
$projectbrief
$searchbox

ots::TableBase Class Reference

Inheritance diagram for ots::TableBase:
ots::ARTDAQAggregatorConfiguration ots::ARTDAQAggregatorTable ots::ARTDAQBoardReaderTable ots::ARTDAQBuilderConfiguration ots::ARTDAQBuilderTable ots::ARTDAQConsumerConfiguration ots::Configurations ots::DataBufferConfiguration ots::DataDecoderConsumerConfiguration ots::DesktopIconTable ots::DetectorConfiguration ots::DetectorToFEConfiguration ots::DQMHistosConsumerConfiguration ots::FEConfiguration ots::FEInterfaceTableBase ots::FESlowControlsTable ots::final ots::final ots::IterateTable ots::MaskConfiguration ots::MessageFacilityTable ots::ModuleToFEConfiguration ots::RawDataSaverConsumerConfiguration ots::RegisterBase ots::RegisterConfiguration ots::RegisterSequencer ots::ROCToFEConfiguration ots::TemplateTable ots::UDPDataListenerProducerConfiguration ots::UDPDataStreamerConsumerConfiguration ots::VersionAliases ots::XDAQContextTable

List of all members.

Public Member Functions

 TableBase (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 () const
TableVersion getNextVersion () 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

Static Public Member Functions

static std::string convertToCaps (std::string &str, bool isConfigName=false)

Public Attributes

const unsigned int MAX_VIEWS_IN_CACHE

Protected Attributes

std::string tableName_
std::string tableDescription_
TableViewactiveTableView_
TableView mockupTableView_
std::map< TableVersion, TableViewtableViews_

Detailed Description

Definition at line 18 of file TableBase.h.


Member Function Documentation

TableVersion TableBase::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 
)

end uid conversion map

Definition at line 547 of file TableBase.cc.


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

Generated on 14 Mar 2019 for otsdaq by  doxygen 1.6.1