14 #include <epicsMutex.h> 17 volatile unsigned char* base;
18 typedef std::vector<epicsUInt8> buffer_t;
21 mutable epicsMutex guard;
23 epicsInt16 read16(
unsigned int)
const;
25 SFP(
const std::string& n,
volatile unsigned char* reg);
28 virtual void lock()
const{guard.lock();};
29 virtual void unlock()
const{guard.unlock();};
31 bool junk()
const{
return 0;}
32 void updateNow(
bool=
true);
34 double linkSpeed()
const;
35 double temperature()
const;
36 double powerTX()
const;
37 double powerRX()
const;
39 std::string vendorName()
const;
40 std::string vendorPart()
const;
41 std::string vendorRev()
const;
42 std::string serial()
const;
43 std::string manuDate()
const;
User implementation hook.
virtual void unlock() const
virtual void lock() const