otsdaq  v2_05_02_indev
ots::ARTDAQDispatcherTable Class Reference
Inheritance diagram for ots::ARTDAQDispatcherTable:
ots::ARTDAQTableBase ots::SlowControlsTableBase ots::TableBase ots::TableBase

Public Member Functions

void init (ConfigurationManager *configManager)
 
virtual unsigned int slowControlsHandlerConfig (std::stringstream &out, ConfigurationManager *configManager, std::vector< std::pair< std::string, std::vector< std::string >>> *channelList) const override
 
virtual std::string setFilePath () const override
 
- Public Member Functions inherited from ots::ARTDAQTableBase
 ARTDAQTableBase (std::string tableName, std::string *accumulatedExceptions=0)
 
- Public Member Functions inherited from ots::TableBase
 TableBase (bool specialTable, const std::string &specialTableName)
 
 TableBase (const 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 (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 Member Functions inherited from ots::SlowControlsTableBase
 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 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
 

Additional Inherited Members

- Public Types inherited from ots::ARTDAQTableBase
enum  ARTDAQAppType {
  BoardReader, EventBuilder, DataLogger, Dispatcher,
  Monitor, RoutingMaster
}
 
enum  { DEFAULT_MAX_FRAGMENT_SIZE = 1048576, DEFAULT_ROUTING_TIMEOUT_MS = 1000, DEFAULT_ROUTING_RETRY_COUNT = 5 }
 
- Static Public Member Functions inherited from ots::ARTDAQTableBase
static const std::string & getTypeString (ARTDAQAppType type)
 
static std::string getFHICLFilename (ARTDAQAppType type, const std::string &name)
 
static std::string getFlatFHICLFilename (ARTDAQAppType type, const std::string &name)
 
static void flattenFHICL (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 insertMetricsBlock (std::ostream &out, std::string &tabStr, std::string &commentStr, ConfigurationTree daqNode)
 
static void outputBoardReaderFHICL (const ConfigurationTree &boardReaderNode, size_t maxFragmentSizeBytes=DEFAULT_MAX_FRAGMENT_SIZE, size_t routingTimeoutMs=DEFAULT_ROUTING_TIMEOUT_MS, size_t routingRetryCount=DEFAULT_ROUTING_RETRY_COUNT)
 
static void outputDataReceiverFHICL (const ConfigurationTree &receiverNode, ARTDAQAppType appType, size_t maxFragmentSizeBytes=DEFAULT_MAX_FRAGMENT_SIZE, size_t routingTimeoutMs=DEFAULT_ROUTING_TIMEOUT_MS, size_t routingRetryCount=DEFAULT_ROUTING_RETRY_COUNT)
 
static void outputRoutingMasterFHICL (const ConfigurationTree &routingMasterNode, size_t routingTimeoutMs=DEFAULT_ROUTING_TIMEOUT_MS, size_t routingRetryCount=DEFAULT_ROUTING_RETRY_COUNT)
 
static const ARTDAQInfoextractARTDAQInfo (ConfigurationTree artdaqSupervisorNode, bool getStatusFalseNodes=false, bool doWriteFHiCL=false, size_t maxFragmentSizeBytes=DEFAULT_MAX_FRAGMENT_SIZE, size_t routingTimeoutMs=DEFAULT_ROUTING_TIMEOUT_MS, size_t routingRetryCount=DEFAULT_ROUTING_RETRY_COUNT, ProgressBar *progressBar=0)
 
static const ARTDAQInfogetARTDAQSystem (ConfigurationManagerRW *cfgMgr, std::map< std::string, std::map< std::string, std::vector< std::string >>> &nodeTypeToObjectMap, std::map< std::string, std::string > &subsystemObjectMap, std::vector< std::string > &artdaqSupervisoInfo)
 
static void setAndActivateARTDAQSystem (ConfigurationManagerRW *cfgMgr, const std::map< std::string, std::map< std::string, std::vector< std::string >>> &nodeTypeToObjectMap, const std::map< std::string, std::string > &subsystemObjectMap)
 
- 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
 
- Public Attributes inherited from ots::SlowControlsTableBase
struct
ots::SlowControlsTableBase::ColChannel 
channelColNames_
 
bool isFirstAppInContext_ = false
 
bool channelListHasChanged_ = false
 
ConfigurationManagerlastConfigManager_ = nullptr
 
- Static Public Attributes inherited from ots::ARTDAQTableBase
static const std::string ARTDAQ_FCL_PATH = std::string(__ENV__("USER_DATA")) + "/" + "ARTDAQConfigurations/"
 
static const std::string ARTDAQ_SUPERVISOR_CLASS = "ots::ARTDAQSupervisor"
 
static const std::string ARTDAQ_SUPERVISOR_TABLE = "ARTDAQSupervisorTable"
 
static const std::string ARTDAQ_READER_TABLE = "ARTDAQBoardReaderTable"
 
static const std::string ARTDAQ_BUILDER_TABLE = "ARTDAQEventBuilderTable"
 
static const std::string ARTDAQ_LOGGER_TABLE = "ARTDAQDataLoggerTable"
 
static const std::string ARTDAQ_DISPATCHER_TABLE = "ARTDAQDispatcherTable"
 
static const std::string ARTDAQ_MONITOR_TABLE = "ARTDAQMonitorTable"
 
static const std::string ARTDAQ_ROUTER_TABLE = "ARTDAQRoutingMasterTable"
 
static const std::string ARTDAQ_SUBSYSTEM_TABLE = "ARTDAQSubsystemTable"
 
static const std::string ARTDAQ_TYPE_TABLE_HOSTNAME = "ExecutionHostname"
 
static const std::string ARTDAQ_TYPE_TABLE_SUBSYSTEM_LINK = "SubsystemLink"
 
static const std::string ARTDAQ_TYPE_TABLE_SUBSYSTEM_LINK_UID = "SubsystemLinkUID"
 
static const int NULL_SUBSYSTEM_DESTINATION = 0
 
static const std::string NULL_SUBSYSTEM_DESTINATION_LABEL = "nullDestinationSubsystem"
 
static struct
ots::ARTDAQTableBase::ProcessTypes 
processTypes_
 
static struct
ots::ARTDAQTableBase::ColARTDAQSupervisor 
colARTDAQSupervisor_
 
static struct
ots::ARTDAQTableBase::ColARTDAQSubsystem 
colARTDAQSubsystem_
 
- Protected Attributes inherited from ots::TableBase
std::string tableName_
 
std::string tableDescription_
 
TableViewactiveTableView_
 
TableView mockupTableView_
 
std::map< TableVersion, TableViewtableViews_
 

Detailed Description

Definition at line 11 of file ARTDAQDispatcherTable.h.


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