C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
Loading...
Searching...
No Matches
MFCManagerCatalog.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include "CatalogInterface.h" // Catalog definitions
9#include "VISAInstrument.h" // CVISAResourceManager & CParsedResourceList
10#include "OSDefines.h" // Basic types U8, U16 etc...
11#include "InstrumentCatalog.h" // CInstrumentCatalog types
12#include "MFCDevice.h"
13
14using namespace MTL;
16using namespace MTL::Instrument;
17
18namespace MTL {
20 public:
21 //----------------------------------------------------------------------//
22 // Types //
23 //----------------------------------------------------------------------//
25
29
30 protected:
31 //----------------------------------------------------------------------//
32 // Variables //
33 //----------------------------------------------------------------------//
34 //------------------------------------------//
35 // MFCController Results
46 //------------------------------------------//
47 // USBRemoteBoxController Control
49 //------------------------------------------//
50 // USBRemoteBoxController Results
53 }; // class CInstrumentCatalog
54
56 {
57 public:
58 //----------------------------------------------------------------------//
59 // Controls and Observers //
60 //----------------------------------------------------------------------//
61 //------------------------------------------//
62 // MFCController Results
73 //------------------------------------------//
74 // USBRemoteBoxController Control
76 //------------------------------------------//
77 // USBRemoteBoxController Results
80
82 : oState(rCatalog.vState),
83 oInstrumentList(rCatalog.vInstrumentList),
84 oPAInfo(rCatalog.vPAInfo),
85 oInstrumentConfiguration(rCatalog.vInstrumentConfiguration),
86 oSearchProgress(rCatalog.vSearchProgress),
87 oSearchResult(rCatalog.vSearchResult),
88 oMeasResults(rCatalog.vMeasResults),
89 oError(rCatalog.vError),
90 oLogMessage(rCatalog.vLogMessage),
91 oRemoteBoxStart(rCatalog.vRemoteBoxStart),
92 cUSBRemoteBusyState(rCatalog.vUSBRemoteBusyState),
93 oUSBRemoteBoxStart(rCatalog.vUSBRemoteBoxStart),
94 oUSBRemoteBoxReset(rCatalog.vUSBRemoteBoxReset)
95 {}
96 };
97
99 {
100 public:
101 //----------------------------------------------------------------------//
102 // Controls and Observers //
103 //----------------------------------------------------------------------//
104 //------------------------------------------//
105 // MFCController Results
116
118 : cState(rCatalog.vState),
119 cInstrumentList(rCatalog.vInstrumentList),
120 cPAInfo(rCatalog.vPAInfo),
121 cInstrumentConfiguration(rCatalog.vInstrumentConfiguration),
122 cSearchProgress(rCatalog.vSearchProgress),
123 cSearchResult(rCatalog.vSearchResult),
124 cMeasResults(rCatalog.vMeasResults),
125 cError(rCatalog.vError),
126 cLogMessage(rCatalog.vLogMessage),
127 cRemoteBoxStart(rCatalog.vRemoteBoxStart)
128 {}
129 };
130
132 {
133 public:
134 //----------------------------------------------------------------------//
135 // Controls and Observers //
136 //----------------------------------------------------------------------//
137 //------------------------------------------//
138 // USBRemoteBoxController Control
140 //------------------------------------------//
141 // USBRemoteBoxController Results
144
146 : oUSBRemoteBusyState(rCatalog.vUSBRemoteBusyState),
147 cUSBRemoteBoxStart(rCatalog.vUSBRemoteBoxStart),
148 cUSBRemoteBoxReset(rCatalog.vUSBRemoteBoxReset)
149 {}
150 };
151} // namespace MTL
Platform Dependent Definitions.
C++ wrapper for NI-VISA: interface definition.
CVariable< CParsedResourceList > vInstrumentList
friend class CUSBRemoteBoxInterface
CVariable< CMFCDevice::sMFCDeviceError > vError
CVariable< CInstrumentCatalog::sProbeArrayInformation > vPAInfo
friend class CMFCControllerInterface
CVariable< bool > vRemoteBoxStart
CVariable< bool > vUSBRemoteBusyState
CVariable< CInstrumentCatalog::sMeasurementResults > vMeasResults
CVariable< bool > vUSBRemoteBoxStart
CVariable< U8 > vSearchProgress
CVariable< CInstrumentCatalog::sLogMessage > vLogMessage
CVariable< bool > vUSBRemoteBoxReset
CVariable< CInstrumentCatalog::sInstrumentConfiguration > vInstrumentConfiguration
CVariable< CMFCManagerCatalog::eControllerState > vState
CVariable< CInstrumentCatalog::sSearchResult > vSearchResult
CObserver< bool > oUSBRemoteBoxReset
CObserver< CParsedResourceList > oInstrumentList
CObserver< bool > oRemoteBoxStart
CMFCManagerInterface(CMFCManagerCatalog &rCatalog)
CObserver< CInstrumentCatalog::sInstrumentConfiguration > oInstrumentConfiguration
CControl< bool > cUSBRemoteBusyState
CObserver< CInstrumentCatalog::sProbeArrayInformation > oPAInfo
CObserver< CInstrumentCatalog::sMeasurementResults > oMeasResults
CObserver< bool > oUSBRemoteBoxStart
CObserver< CMFCDevice::sMFCDeviceError > oError
CObserver< CInstrumentCatalog::sLogMessage > oLogMessage
CObserver< CInstrumentCatalog::sSearchResult > oSearchResult
CObserver< CMFCManagerCatalog::eControllerState > oState
CControl< CMFCDevice::sMFCDeviceError > cError
CControl< CInstrumentCatalog::sSearchResult > cSearchResult
CControl< CInstrumentCatalog::sLogMessage > cLogMessage
CMFCControllerInterface(CMFCManagerCatalog &rCatalog)
CControl< CMFCManagerCatalog::eControllerState > cState
CControl< CInstrumentCatalog::sInstrumentConfiguration > cInstrumentConfiguration
CControl< CInstrumentCatalog::sMeasurementResults > cMeasResults
CControl< CInstrumentCatalog::sProbeArrayInformation > cPAInfo
CControl< CParsedResourceList > cInstrumentList
CUSBRemoteBoxInterface(CMFCManagerCatalog &rCatalog)
CObserver< bool > oUSBRemoteBusyState