12#include "MantidKernel/DllConfig.h"
47 const std::string name()
const;
49 const std::string shortName()
const;
51 int zeroPadding(
unsigned int runNumber)
const;
53 std::string filePrefix(
unsigned int runNumber)
const;
55 std::string delimiter()
const;
57 const std::set<std::string> &techniques()
const;
62 std::string liveListener(
const std::string &name =
"")
const;
64 std::string liveDataAddress(
const std::string &name =
"")
const;
68 bool hasLiveListenerInfo()
const;
70 const std::vector<LiveListenerInfo> &liveListenerInfoList()
const;
71 const std::vector<TopicInfo> &
topicInfoList()
const {
return m_kafkaTopics; }
74 void fillTechniques(
const Poco::XML::Element *elem);
75 void fillLiveData(
const Poco::XML::Element *elem);
76 void fillZeroPadding(
const Poco::XML::Element *elem);
82 int getZeroPadding(ZeroPaddingMap::const_iterator it)
const {
return it->second.second; }
84 const std::string &
getPrefix(ZeroPaddingMap::const_iterator it)
const {
return it->second.first; }
const std::vector< double > & rhs
A class that holds information about a facility.
A class that holds information about an instrument.
const std::vector< TopicInfo > & topicInfoList() const
std::vector< TopicInfo > m_kafkaTopics
Kafka topics.
std::string m_name
Instrument name.
std::string m_shortName
Instrument short name.
std::string m_defaultListener
Default LiveListener connection to use.
const FacilityInfo * m_facility
Facility.
const std::string & getPrefix(ZeroPaddingMap::const_iterator it) const
get the prefix part
int getZeroPadding(ZeroPaddingMap::const_iterator it) const
get the zeropadding part
std::set< std::string > m_technique
List of techniques the instrument can do.
std::string m_delimiter
Delimiter between instrument name and run number.
ZeroPaddingMap m_zeroPadding
Run number-dependent zero padding.
std::vector< LiveListenerInfo > m_listeners
LiveListener connections.
std::map< unsigned int, std::pair< std::string, int > > ZeroPaddingMap
Typedef for the zeropadding holder, first is starting run-number, second is file prefix - zero paddin...
A class that holds information about a LiveListener connection.
MANTID_KERNEL_DLL std::ostream & operator<<(std::ostream &, CPUTimer &)
Convenience function to provide for easier debug printing.
Helper class which provides the Collimation Length for SANS instruments.
constexpr bool operator==(const wide_integer< Bits, Signed > &lhs, const wide_integer< Bits2, Signed2 > &rhs)