otsdaq  v2_04_02
ots Namespace Reference

The artdaq_demo namespace. More...

Classes

class  JSONDispatcher
 
class  UDPDump
 
struct  GetPackageBuildInfo
 
struct  CommandPacket
 
class  UDPReceiver
 
class  UDPFragment
 
class  UDPFragmentWriter
 
class  ARTDAQDataManager
 
class  ARTDAQReaderProcessorBase
 
class  ARTDAQSupervisor
 
class  BitManipulator
 
class  CgiDataUtilities
 
class  CodeEditor
 
class  CodeEditorSupervisor
 
class  Configurable
 
class  ConfigurationHandler
 
class  ConfigurationInterface
 
class  ConfigurationManager
 
struct  TableInfo
 
struct  GroupInfo
 
class  ConfigurationManagerRW
 
struct  TableEditStruct
 
struct  identity
 
class  ConfigurationTree
 
class  DatabaseConfigurationInterface
 
class  FileConfigurationInterface
 
class  TimeFormatter
 
class  ARTDAQDataManagerSupervisor
 
class  ARTDAQFEDataManagerSupervisor
 
class  ConfigurationSupervisorBase
 
class  CorePropertySupervisorBase
 
class  CoreSupervisorBase
 
class  DataManagerSupervisor
 
class  FEDataManagerSupervisor
 
class  FESupervisor
 
class  BufferImplementation
 
class  CircularBuffer
 
class  CircularBufferBase
 
class  DataConsumer
 
class  DataManager
 
class  DataManagerSingleton
 
class  DataProcessor
 
class  DataProducer
 
class  DataProducerBase
 
class  DQMHistosConsumerBase
 
class  RawDataSaverConsumerBase
 
class  ARTDAQConsumer
 
class  ARTDAQProducer
 
class  DataDecoderConsumer
 
class  OtsDataSaverConsumer
 
class  RawDataSaverConsumer
 
class  RawDataVisualizerConsumer
 
class  TCPDataListenerProducer
 
class  TCPDataStreamerConsumer
 
class  UDPDataListenerProducer
 
class  UDPDataStreamerConsumer
 
class  FEProducerVInterface
 
class  FESlowControlsChannel
 
class  FESlowControlsWorkLoop
 
class  FEVInterface
 
class  FEVInterfacesManager
 
class  FiniteStateMachine
 
class  RunControlStateMachine
 
class  VStateMachine
 
class  GatewaySupervisor
 
class  Iterator
 
struct  BinaryStringMacros
 
struct  __OTS_SOFT_EXCEPTION__
 
struct  StringMacros
 
class  NetworkConverters
 
class  NetworkDevice
 
class  ReceiverSocket
 
class  Socket
 
class  TCPClient
 
class  TCPClientBase
 
class  TCPPacket
 
class  TCPPublishServer
 
class  TCPReceiverSocket
 
class  TCPServer
 
class  TCPServerBase
 
class  TCPSocket
 
class  TCPSubscribeClient
 
class  TCPTransceiverSocket
 
class  TCPTransmitterSocket
 
class  TransceiverSocket
 
class  TransmitterSocket
 
class  UDPDataStreamerBase
 
class  ProgressBar
 
class  DQMHistosBase
 
class  SlowControlsVInterface
 
class  Parameter
 
class  Parameters
 
class  SOAPCommand
 
class  SOAPMessenger
 
class  SOAPParameter
 
class  SOAPParameters
 
class  SOAPUtilities
 
class  SupervisorDescriptorInfoBase
 
class  AllSupervisorInfo
 
class  SupervisorInfo
 
class  SystemMessenger
 
class  TableBase
 
class  TableGroupKey
 
class  TableInfoReader
 
class  TableVersion
 
class  TableView
 
class  TableViewColumnInfo
 
class  ARTDAQBoardReaderTable
 
class  ARTDAQBuilderTable
 
class  ARTDAQDataLoggerTable
 
class  ARTDAQDispatcherTable
 
class  ARTDAQTableBase
 
class  DesktopIconTable
 
class  FESlowControlsTable
 
class  IterateTable
 
class  MessageFacilityTable
 
class  TemplateTable
 
class  XDAQContextTable
 
class  RemoteWebUsers
 
class  WebUsers
 
class  WizardSupervisor
 
class  WorkLoop
 
class  WorkLoopManager
 
class  ConvertFromXML
 
class  ConvertToXML
 
class  DOMTreeErrorReporter
 
class  HttpXmlDocument
 
class  XmlDocument
 
struct  TableViewEx
 
struct  TestConfiguration001
 
struct  TestConfiguration002
 
class  SimpleSoap
 

Typedefs

typedef artdaq::BuildInfo
<&instanceName,
artdaqcore::GetPackageBuildInfo,
artdaq::GetPackageBuildInfo,
ots::GetPackageBuildInfo
ArtdaqOtsBuildInfo
 
typedef art::Source
< artdaq::detail::SharedMemoryReader
< ots::makeFragmentTypeMap > > 
OtsInput
 DemoInput is an art::Source using the detail::RawEventQueueReader class.
 
typedef std::string packetBuffer_t
 
typedef std::list< packetBuffer_t > packetBuffer_list_t
 
typedef DataProcessor *( dpvimakeFunc_t )()
 
typedef TableBase *( cbmakeFunc_t )()
 
typedef std::map
< xdata::UnsignedIntegerT,
XDAQ_CONST_CALL
xdaq::ApplicationDescriptor * > 
SupervisorDescriptors
 
typedef std::map< unsigned int,
const SupervisorInfo & > 
SupervisorInfoMap
 

Enumerations

enum  CommandType : uint8_t { Read = 0, Write = 1, Start_Burst = 2, Stop_Burst = 3 }
 
enum  ReturnCode : uint8_t { Read = 0, First = 1, Middle = 2, Last = 3 }
 
enum  DataType : uint8_t { Raw = 0, JSON = 1, String = 2 }
 

Functions

FragmentType toFragmentType (std::string t_string)
 Lookup the type code for a fragment by its string name. More...
 
std::string fragmentTypeToString (FragmentType val)
 Look up the name of the given FragmentType. More...
 
std::map
< artdaq::Fragment::type_t,
std::string > 
makeFragmentTypeMap ()
 Create a list of all Fragment types defined by this package, in the format that RawInput expects. More...
 
std::ostream & operator<< (std::ostream &, UDPFragment const &)
 
template<class T >
getFEMacroConstArgumentValue (FEVInterface::frontEndMacroConstArgs_t args, const std::string &argName)
 
template<>
std::string getFEMacroConstArgumentValue< std::string > (FEVInterface::frontEndMacroConstArgs_t args, const std::string &argName)
 
template<class T >
getFEMacroArgumentValue (FEVInterface::frontEndMacroArgs_t args, const std::string &argName)
 
template<>
std::string getFEMacroArgumentValue< std::string > (FEVInterface::frontEndMacroArgs_t argsIn, const std::string &argName)
 
void INIT_MF (const char *name)
 
DataProcessormakeDataProcessor (std::string const &processorPluginName, std::string const &supervisorApplicationUID, std::string const &bufferUID, std::string const &processorUID, ConfigurationTree const &configurationTree, std::string const &pathToInterfaceConfiguration)
 
std::unique_ptr< FEVInterfacemakeInterface (const std::string &interfacePluginName, const std::string &interfaceUID, const ConfigurationTree &configurationTree, const std::string &pathToInterfaceConfiguration)
 
SlowControlsVInterfacemakeSlowControls (const std::string &slowControlsPluginName, const std::string &slowControlsUID, const ConfigurationTree &configurationTree, const std::string &pathToControlsConfiguration)
 
TableBasemakeTable (std::string const &tablePluginName)
 
std::ostream & operator<< (std::ostream &os, const SOAPCommand &c)
 

Variables

static std::string instanceName = "ArtdaqOts"
 
static std::vector
< std::string > const 
names {"MISSED", "UDP", "UNKNOWN"}
 
static bool MESSAGE_FACILITY_INITIALIZED
 

Detailed Description

The artdaq_demo namespace.

Function Documentation

std::string ots::fragmentTypeToString ( FragmentType  val)

Look up the name of the given FragmentType.

Parameters
valFragmentType to look up
Returns
Name of the given type (from the names vector)

Definition at line 18 of file FragmentType.cc.

std::map< artdaq::Fragment::type_t, std::string > ots::makeFragmentTypeMap ( )

Create a list of all Fragment types defined by this package, in the format that RawInput expects.

Returns
A list of all Fragment types defined by this package, in the format that RawInput expects

Definition at line 30 of file FragmentType.cc.

ots::FragmentType ots::toFragmentType ( std::string  t_string)

Lookup the type code for a fragment by its string name.

Parameters
t_stringName of the Fragment type to lookup
Returns
artdaq::Fragment::type_t corresponding to string, or INVALID if not found

Definition at line 8 of file FragmentType.cc.