rohdeschwarz  0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
preserve_timeout.hpp
Go to the documentation of this file.
1 
7 #ifndef ROHDESCHWARZ_INSTRUMENTS_PRESERVE_TIMEOUT_HPP
8 #define ROHDESCHWARZ_INSTRUMENTS_PRESERVE_TIMEOUT_HPP
9 
10 
11 // rohdeschwarz
13 
14 
16 {
17 
29 {
30 
31 public:
32 
33  // life cycle
34 
42  PreserveTimeout(Instrument *instrument);
43 
44 
51 
52 private:
53 
54  unsigned int _timeout_ms;
55  Instrument* _instrument;
56 
57 
58 }; // PreserveTimeout
59 
60 
61 } // rohdeschwarz::instruments
62 #endif // ROHDESCHWARZ_INSTRUMENTS_PRESERVE_TIMEOUT_HPP
Object-oriented R&S Instrument control.
Definition: instrument.hpp:53
Class for preserving the VISA timeout value in a particular scope.
PreserveTimeout(Instrument *instrument)
Constructor.
rohdeschwarz::instruments::Instrument definition