otsdaq  v2_04_02
ots::ARTDAQBoardReaderTable Class Reference
Inheritance diagram for ots::ARTDAQBoardReaderTable:
ots::ARTDAQTableBase ots::TableBase

Public Member Functions

void init (ConfigurationManager *configManager)
 
void outputFHICL (const ConfigurationManager *configManager, const ConfigurationTree &readerNode, unsigned int selfRank, const std::string &selfHost, unsigned int selfPort, const XDAQContextTable *contextConfig, size_t maxFragmentSizeBytes)
 
- Public Member Functions inherited from ots::ARTDAQTableBase
 ARTDAQTableBase (std::string tableName, std::string *accumulatedExceptions=0)
 
- Public Member Functions inherited from ots::TableBase
 TableBase (std::string tableName, std::string *accumulatedExceptions=0)
 
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
 

Additional Inherited Members

- Public Types inherited from ots::ARTDAQTableBase
enum  ARTDAQAppType { BoardReader, EventBuilder, DataLogger, Dispatcher }
 
enum  { DEFAULT_MAX_FRAGMENT_SIZE = 1048576 }
 
- Static Public Member Functions inherited from ots::ARTDAQTableBase
static const std::string & getTypeString (ARTDAQAppType type)
 
static std::string getFHICLFilename (ARTDAQTableBase::ARTDAQAppType type, const std::string &name)
 
static std::string getFlatFHICLFilename (ARTDAQTableBase::ARTDAQAppType type, const std::string &name)
 
static void flattenFHICL (ARTDAQTableBase::ARTDAQAppType type, const std::string &name)
 
static void insertParameters (std::ostream &out, std::string &tabStr, std::string &commentStr, ConfigurationTree parameterLink, const std::string &parameterPreamble, bool onlyInsertAtTableParameters=false, bool includeAtTableParameters=false)
 
static std::string insertModuleType (std::ostream &out, std::string &tabStr, std::string &commentStr, ConfigurationTree moduleTypeNode)
 
static void outputReaderFHICL (const ConfigurationTree &readerNode, const std::string &selfHost, size_t maxFragmentSizeBytes)
 
static void outputDataReceiverFHICL (const ConfigurationTree &receiverNode, const std::string &selfHost, ARTDAQTableBase::ARTDAQAppType appType, size_t maxFragmentSizeBytes)
 
static void extractArtdaqInfo (ConfigurationTree artdaqSupervisorNode, std::map< int, ARTDAQTableBase::SubsystemInfo > &subsystems, std::map< ARTDAQTableBase::ARTDAQAppType, std::list< ARTDAQTableBase::ProcessInfo >> &processes, bool doWriteFHiCL=false, size_t maxFragmentSizeBytes=ARTDAQTableBase::DEFAULT_MAX_FRAGMENT_SIZE, ProgressBar *progressBar=0)
 
- Static Public Member Functions inherited from ots::TableBase
static std::string convertToCaps (std::string &str, bool isConfigName=false)
 
- Public Attributes inherited from ots::TableBase
const unsigned int MAX_VIEWS_IN_CACHE
 
- Static Public Attributes inherited from ots::ARTDAQTableBase
static const std::string ARTDAQ_SUPERVISOR_TABLE = "ARTDAQSupervisorTable"
 
static struct
ots::ARTDAQTableBase::ProcessTypes 
processTypes_
 
static const int NULL_SUBSYSTEM_DESTINATION = 0
 
- Protected Attributes inherited from ots::TableBase
std::string tableName_
 
std::string tableDescription_
 
TableViewactiveTableView_
 
TableView mockupTableView_
 
std::map< TableVersion, TableViewtableViews_
 

Detailed Description

Definition at line 13 of file ARTDAQBoardReaderTable.h.


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