NDS3  1.0.0
API reference manual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pvVariableIn.h
Go to the documentation of this file.
1 /*
2  * Nominal Device Support v3 (NDS3)
3  *
4  * Copyright (c) 2015 Cosylab d.d.
5  *
6  * For more information about the license please refer to the license.txt
7  * file included in the distribution.
8  */
9 
10 #ifndef NDSPVVARIABLEIN_H
11 #define NDSPVVARIABLEIN_H
12 
23 #include "nds3/definitions.h"
24 #include "nds3/pvBaseIn.h"
25 
26 namespace nds
27 {
28 
49 template <typename T>
50 class NDS3_API PVVariableIn: public PVBaseIn
51 {
52 public:
53 
59  PVVariableIn();
60 
66  PVVariableIn(const std::string& name);
67 
82  void setValue(const T& value);
83 
98  void setValue(const timespec& timestamp, const T& value);
99 };
100 
101 }
102 
103 #endif // NDSPVVARIABLEIN_H
An input PV object that also stores the value so it does not need to delegate the read function...
Definition: pvVariableIn.h:50
Defines all the enumeration and common types used across the NDS library.
Defines the base class for the input PVs.
Represents an input PV.
Definition: pvBaseIn.h:35