mrfioc2  2.3.0
evgAcTrig.h
Go to the documentation of this file.
1 #ifndef EVG_AC_TRIG_H
2 #define EVG_AC_TRIG_H
3 
4 #include <epicsTypes.h>
5 #include "mrf/object.h"
6 
7 class evgAcTrig : public mrf::ObjectInst<evgAcTrig> {
8 public:
9  evgAcTrig(const std::string&, volatile epicsUInt8* const);
10  ~evgAcTrig();
11 
12  /* locking done internally */
13  virtual void lock() const{};
14  virtual void unlock() const{};
15 
16  void setDivider(epicsUInt32);
17  epicsUInt32 getDivider() const;
18 
19  void setPhase(epicsFloat64);
20  epicsFloat64 getPhase() const;
21 
22  void setBypass(bool);
23  bool getBypass() const;
24 
25  void setSyncSrc(bool);
26  bool getSyncSrc() const;
27 
28  void setTrigEvtMap(epicsUInt16, bool);
29  epicsUInt32 getTrigEvtMap() const;
30 
31 private:
32  volatile epicsUInt8* const m_pReg;
33 };
34 
35 #endif //EVG_AC_TRIG_H
36 
void setPhase(epicsFloat64)
Definition: evgAcTrig.cpp:41
bool getSyncSrc() const
Definition: evgAcTrig.cpp:78
bool getBypass() const
Definition: evgAcTrig.cpp:64
virtual void unlock() const
Definition: evgAcTrig.h:14
void setTrigEvtMap(epicsUInt16, bool)
Definition: evgAcTrig.cpp:83
epicsUInt32 getTrigEvtMap() const
Definition: evgAcTrig.cpp:96
void setBypass(bool)
Definition: evgAcTrig.cpp:56
void setSyncSrc(bool)
Definition: evgAcTrig.cpp:70
void setDivider(epicsUInt32)
Definition: evgAcTrig.cpp:27
User implementation hook.
Definition: object.h:459
virtual void lock() const
Definition: evgAcTrig.h:13
epicsUInt32 getDivider() const
Definition: evgAcTrig.cpp:36
epicsFloat64 getPhase() const
Definition: evgAcTrig.cpp:51
evgAcTrig(const std::string &, volatile epicsUInt8 *const)
Definition: evgAcTrig.cpp:18