00001
00002 #ifndef _EPICS_PVLONG_H
00003 #define _EPICS_PVLONG_H
00004
00005 #include <iostream>
00006
00007 #include "epics/pvdata/PVField.h"
00008
00009 namespace EPICS
00010 {
00011
00013 class PVLong : public PVField
00014 {
00015 public:
00016
00018 PVLong();
00019
00021 PVLong(const PVLong& pvLong);
00022
00023 public:
00024
00025
00026
00027 virtual PVField* clone() const;
00028
00029 virtual const FieldType* getType() const;
00030
00031 virtual int getByteSize() const;
00032
00033 public:
00034
00036 void put(long value) { m_value = value; }
00037
00039 long get() const { return m_value; }
00040
00042 long& get() { return m_value; }
00043
00044 protected:
00045
00047 long m_value;
00048
00049 };
00050 }
00051
00052
00053 #endif
00054