/* * epicsChannel.hh * * Created on: July 25, 2014 * Author: Hovanes Egiyan */ #ifndef _EPICSCHANNEL_HH_ #define _EPICSCHANNEL_HH_ #include #include #include #include #include #include #include #include "dbObject.hh" #include "dbSubsystem.hh" #include "baseEpicsChannel.hh" // Base class for channel objects that will load EPICS DB-s. class epicsChannel : public baseEpicsChannel, public dbObject { protected: int chanID ; // ID in channel table dbSubsystem* subsystemPtr ; // Pointer to the corresponding leaf (childless) object in the Detector_Hierarchy static QString sqlFindChannelProps ; public: epicsChannel( string uri, string name, dbSubsystem* subPtr, int chID ); virtual ~epicsChannel(){;} virtual dbSubsystem* getSubsystem() { return subsystemPtr;} }; #endif /* _EPICSCHANNEL_HH_ */