otsdaq-epics  3.01.00
ots::EpicsInterface Class Reference
+ Inheritance diagram for ots::EpicsInterface:
+ Collaboration diagram for ots::EpicsInterface:

Public Member Functions

 EpicsInterface (const std::string &pluginType, const std::string &interfaceUID, const ConfigurationTree &theXDAQContextConfigTree, const std::string &controlsConfigurationPath)
 
void initialize (void) override
 
void destroy (void)
 
std::vector< std::string > getChannelList (void) override
 
std::string getList (const std::string &format) override
 
void subscribe (const std::string &pvName) override
 
void subscribeJSON (const std::string &JSONpvList) override
 
void unsubscribe (const std::string &pvName) override
 
std::array< std::string, 4 > getCurrentValue (const std::string &pvName) override
 
std::array< std::string, 9 > getSettings (const std::string &pvName) override
 
std::vector< std::vector< std::string > > getChannelHistory (const std::string &pvName, int startTime, int endTime) override
 
std::vector< std::vector< std::string > > getLastAlarms (const std::string &pvName) override
 
std::vector< std::vector< std::string > > getAlarmsLog (const std::string &pvName) override
 
std::vector< std::vector< std::string > > checkAlarmNotifications (void) override
 Check Alarms from Epics.
 
std::vector< std::string > checkAlarm (const std::string &pvName, bool ignoreMinor=false)
 
void dbSystemLogin (void)
 
void dbSystemLogout (void)
 
virtual void configure (void) override
 Configure override for Epics.
 
virtual void halt (void) override
 
virtual void pause (void) override
 
virtual void resume (void) override
 
virtual void start (std::string) override
 
virtual void stop (void) override
 
virtual bool running (void) override
 States.
 
- Public Member Functions inherited from ots::VStateMachine
virtual std::string getStatusProgressDetail (void)
 

Static Public Attributes

static const std::string EPICS_NO_ALARM = "NO_ALARM"
 
static const std::string EPICS_INVALID_ALARM = "INVALID"
 
static const std::string EPICS_MINOR_ALARM = "MINOR"
 
static const std::string EPICS_MAJOR_ALARM = "MAJOR"
 

Additional Inherited Members

- Public Attributes inherited from ots::VStateMachine
CoreSupervisorBaseparentSupervisor_
 

Detailed Description

Definition at line 103 of file EpicsInterface.h.

Member Function Documentation

◆ checkAlarm()

std::vector< std::string > EpicsInterface::checkAlarm ( const std::string &  pvName,
bool  ignoreMinor = false 
)

Check Alarms from Epics returns empty vector if no alarm status

Possible severity values = {NO_ALARM, INVALID, MINOR, MAJOR} Note: Archiver also has "NONE" and "OK" but should not be a current value

Definition at line 1702 of file EpicsInterface_slowcontrols.cc.


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