otsdaq
v2_04_02
|
Public Member Functions | |
void | init (ConfigurationManager *configManager) |
void | outputFHICL (const ConfigurationTree &builderNode, unsigned int selfRank, const std::string &selfHost, unsigned int selfPort, size_t maxFragmentSizeBytes) |
![]() | |
ARTDAQTableBase (std::string tableName, std::string *accumulatedExceptions=0) | |
![]() | |
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< TableVersion > | getStoredVersions (void) const |
const TableView & | getView (void) const |
TableView * | getViewP (void) |
TableView * | getMockupViewP (void) |
const TableVersion & | getViewVersion (void) const |
TableView * | getTemporaryView (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 | |
![]() | |
enum | ARTDAQAppType { BoardReader, EventBuilder, DataLogger, Dispatcher } |
enum | { DEFAULT_MAX_FRAGMENT_SIZE = 1048576 } |
![]() | |
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 ¶meterPreamble, 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 std::string | convertToCaps (std::string &str, bool isConfigName=false) |
![]() | |
const unsigned int | MAX_VIEWS_IN_CACHE |
![]() | |
static const std::string | ARTDAQ_SUPERVISOR_TABLE = "ARTDAQSupervisorTable" |
static struct ots::ARTDAQTableBase::ProcessTypes | processTypes_ |
static const int | NULL_SUBSYSTEM_DESTINATION = 0 |
![]() | |
std::string | tableName_ |
std::string | tableDescription_ |
TableView * | activeTableView_ |
TableView | mockupTableView_ |
std::map< TableVersion, TableView > | tableViews_ |
Definition at line 10 of file ARTDAQBuilderTable.h.