rohdeschwarz
0.2.0
TCPIP socket library for Rohde & Schwarz instrument control
include
rohdeschwarz
instruments
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
12
#include "
rohdeschwarz/instruments/instrument.hpp
"
13
14
15
namespace
rohdeschwarz::instruments
16
{
17
28
class
PreserveTimeout
29
{
30
31
public
:
32
33
// life cycle
34
42
PreserveTimeout
(
Instrument
*instrument);
43
44
50
~PreserveTimeout
();
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
rohdeschwarz::instruments::Instrument
Object-oriented R&S Instrument control.
Definition:
instrument.hpp:53
rohdeschwarz::instruments::PreserveTimeout
Class for preserving the VISA timeout value in a particular scope.
Definition:
preserve_timeout.hpp:29
rohdeschwarz::instruments::PreserveTimeout::PreserveTimeout
PreserveTimeout(Instrument *instrument)
Constructor.
Definition:
preserve_timeout.cpp:11
rohdeschwarz::instruments::PreserveTimeout::~PreserveTimeout
~PreserveTimeout()
Destructor.
Definition:
preserve_timeout.cpp:19
instrument.hpp
rohdeschwarz::instruments::Instrument definition
rohdeschwarz::instruments
Definition:
instrument.hpp:36
Generated by
1.9.1