mrfioc2  2.3.0
prescaler.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2010 Brookhaven Science Associates, as Operator of
3 * Brookhaven National Laboratory.
4 * mrfioc2 is distributed subject to a Software License Agreement found
5 * in file LICENSE that is included with this distribution.
6 \*************************************************************************/
7 /*
8  * Author: Michael Davidsaver <mdavidsaver@gmail.com>
9  */
10 
11 #ifndef PRESCALER_HPP_INC
12 #define PRESCALER_HPP_INC
13 
14 #include <epicsTypes.h>
15 
16 #include "mrf/object.h"
17 
18 class EVR;
19 
20 class epicsShareClass PreScaler : public mrf::ObjectInst<PreScaler>
21 {
22 public:
23  PreScaler(const std::string& n, EVR& o):mrf::ObjectInst<PreScaler>(n),owner(o){};
24  virtual ~PreScaler()=0;
25 
26  virtual epicsUInt32 prescaler() const=0;
27  virtual void setPrescaler(epicsUInt32)=0;
28 
30 };
31 
32 #endif // PRESCALER_HPP_INC
EVR & owner
Definition: prescaler.h:29
User implementation hook.
Definition: object.h:459
PreScaler(const std::string &n, EVR &o)
Definition: prescaler.h:23
Base interface for EVRs.
Definition: evr.h:45
Definition: flash.cpp:23