otsdaq
v2_03_00
|
Public Member Functions | |
FEProducerVInterface (const std::string &interfaceUID, const ConfigurationTree &theXDAQContextConfigTree, const std::string &interfaceConfigurationPath) | |
virtual void | startProcessingData (std::string runNumber) |
virtual void | stopProcessingData (void) |
virtual void | copyToNextBuffer (const std::string &dataToWrite) |
virtual std::string * | getNextBuffer (void) |
virtual void | writeCurrentBuffer (void) |
![]() | |
FEVInterface (const std::string &interfaceUID, const ConfigurationTree &theXDAQContextConfigTree, const std::string &configurationPath) | |
const std::string & | getInterfaceUID (void) const |
virtual std::string | getInterfaceType (void) const |
virtual void | universalRead (char *address, char *returnValue)=0 |
virtual void | universalWrite (char *address, char *writeValue)=0 |
const unsigned int & | getUniversalAddressSize (void) |
const unsigned int & | getUniversalDataSize (void) |
void | runSequenceOfCommands (const std::string &treeLinkName) |
void | configure (void) |
void | start (std::string runNumber) |
void | stop (void) |
void | halt (void) |
void | pause (void) |
void | resume (void) |
bool | running (void) |
void | configureSlowControls (void) |
bool | slowControlsRunning (void) |
void | startSlowControlsWorkLooop (void) |
void | stopSlowControlsWorkLooop (void) |
const std::map< std::string, frontEndMacroStruct_t > & | getMapOfFEMacroFunctions (void) |
void | runSelfFrontEndMacro (const std::string &feMacroName, const std::vector< FEVInterface::frontEndMacroArg_t > &inputArgs, std::vector< FEVInterface::frontEndMacroArg_t > &outputArgs) |
template<class T > | |
void | sendToFrontEnd (const std::string &targetInterfaceID, const T &value) const |
void | runFrontEndMacro (const std::string &targetInterfaceID, const std::string &feMacroName, const std::vector< FEVInterface::frontEndMacroArg_t > &inputArgs, std::vector< FEVInterface::frontEndMacroArg_t > &outputArgs) const |
template<class T > | |
void | receiveFromFrontEnd (const std::string &requester, T &retValue, unsigned int timeoutInSeconds=1) const |
void | receiveFromFrontEnd (const std::string &requester, std::string &retValue, unsigned int timeoutInSeconds=1) const |
template<class T > | |
T | receiveFromFrontEnd (const std::string &requester="*", unsigned int timeoutInSeconds=1) const |
std::string | receiveFromFrontEnd (const std::string &requester="*", unsigned int timeoutInSeconds=1) const |
![]() | |
virtual void | paused (void) |
virtual void | halted (void) |
virtual void | configured (void) |
virtual void | initial (void) |
virtual void | inError (void) |
void | setIterationIndex (unsigned int i) |
void | setSubIterationIndex (unsigned int i) |
unsigned int | getIterationIndex (void) |
unsigned int | getSubIterationIndex (void) |
void | indicateIterationWork (void) |
void | clearIterationWork (void) |
bool | getIterationWork (void) |
void | indicateSubIterationWork (void) |
void | clearSubIterationWork (void) |
bool | getSubIterationWork (void) |
![]() | |
WorkLoop (const std::string &name) | |
void | startWorkLoop (void) |
bool | stopWorkLoop (void) |
bool | isActive (void) const |
![]() | |
Configurable (const ConfigurationTree &theXDAQContextConfigTree, const std::string &theConfigurationPath) | |
const ConfigurationTree & | getSelfNode () const |
const ConfigurationManager * | getConfigurationManager () const |
const std::string & | getContextUID () const |
const std::string & | getApplicationUID () const |
unsigned int | getApplicationLID () const |
std::string | getContextAddress () const |
unsigned int | getContextPort () const |
![]() | |
DataProducerBase (const std::string &supervisorApplicationUID, const std::string &bufferUID, const std::string &processorUID, unsigned int bufferSize=100) | |
virtual void | registerToBuffer (void) |
template<class D , class H > | |
int | attachToEmptySubBuffer (D *&data, H *&header) |
template<class D , class H > | |
int | setWrittenSubBuffer (void) |
template<class D , class H > | |
int | write (const D &buffer) |
template<class D , class H > | |
int | write (const D &buffer, const H &header) |
unsigned int | getBufferSize (void) const |
![]() | |
DataProcessor (std::string supervisorApplicationUID, std::string bufferUID, std::string processorUID) | |
virtual void | pauseProcessingData (void) |
virtual void | resumeProcessingData (void) |
const std::string & | getProcessorID (void) const |
void | setCircularBuffer (CircularBufferBase *circularBuffer) |
Protected Attributes | |
std::string * | dataP_ |
std::map< std::string, std::string > * | headerP_ |
![]() | |
std::string | interfaceUID_ |
unsigned int | universalAddressSize_ = 0 |
unsigned int | universalDataSize_ = 0 |
std::map< std::string, FESlowControlsChannel > | mapOfSlowControlsChannels_ |
FESlowControlsWorkLoop | slowControlsWorkLoop_ |
std::map< std::string, frontEndMacroStruct_t > | mapOfFEMacroFunctions_ |
![]() | |
volatile bool | continueWorkLoop_ |
![]() | |
const ConfigurationTree | theXDAQContextConfigTree_ |
const std::string | theConfigurationPath_ |
const std::string | theConfigurationRecordName_ |
const ConfigurationTree | selfNode_ |
![]() | |
const std::string | supervisorApplicationUID_ |
const std::string | bufferUID_ |
const std::string | processorUID_ |
CircularBufferBase * | theCircularBuffer_ |
Additional Inherited Members | |
![]() | |
using | frontEndMacroArg_t = std::pair< const std::string, std::string > |
using | frontEndMacroArgs_t = std::vector< frontEndMacroArg_t > & |
using | frontEndMacroConstArgs_t = const std::vector< frontEndMacroArg_t > & |
using | frontEndMacroFunction_t = void(ots::FEVInterface::*)(const frontEndMacroStruct_t &feMacroStruct, FEVInterface::frontEndMacroConstArgs_t argsIn, FEVInterface::frontEndMacroArgs_t argsOut) |
![]() | |
static void | sendAsyncErrorToGateway (FEVInterface *fe, const std::string &errMsg, bool isSoftError) |
static const std::string & | getFEMacroConstArgument (frontEndMacroConstArgs_t args, const std::string &argName) |
static std::string & | getFEMacroArgument (frontEndMacroArgs_t args, const std::string &argName) |
![]() | |
FEVInterfacesManager * | parentInterfaceManager_ |
![]() | |
CoreSupervisorBase * | parentSupervisor_ |
![]() | |
void | runMacro (FEVInterface::macroStruct_t ¯o, std::map< std::string, uint64_t > &variableMap) |
bool | workLoopThread (toolbox::task::WorkLoop *workLoop) |
void | registerFEMacroFunction (const std::string &feMacroName, frontEndMacroFunction_t feMacroFunction, const std::vector< std::string > &namesOfInputArgs, const std::vector< std::string > &namesOfOutputArgs, uint8_t requiredUserPermissions=1, const std::string &allowedCallingFEs="*") |
template<class T > | |
std::string & | setFEMacroArgumentValue (frontEndMacroArgs_t args, const std::string &argName, const T &value) const |
template<class T > | |
std::string & | emplaceFEMacroArgumentValue (frontEndMacroArgs_t args, const std::string &argName, const T &value) const |
![]() | |
const std::string & | getWorkLoopName (void) const |
Definition at line 19 of file FEProducerVInterface.h.