C++Instrument Catalog MFC 1.2
Metrolab C++InstrumentCatalog for MFC
Loading...
Searching...
No Matches
MTL::CInstrumentCatalog Class Reference

#include <InstrumentCatalog.h>

Collaboration diagram for MTL::CInstrumentCatalog:

Classes

struct  sInstrumentConnection
struct  sMFC3045SerialPortSettings
struct  sInstrumentInformation
struct  sInstrumentConfiguration
struct  sFCAInformation
struct  sProbeInformation
struct  sProbeArrayInformation
struct  sMeasureProbeSelection
struct  sInstrumentState
struct  sInstrumentStatus
struct  sSearchResult
struct  sMeasurement
struct  sMeasurementResults
struct  sNormalization
struct  sLicenseInformation
struct  sLicenseUpdate
struct  sError
struct  sProbeArrayAngle
struct  sLogMessage

Public Types

enum class  eConnectionInterface { kUnknown , kUSB , kEthernet , kSerial }
enum class  eSerialBaudrate {
  k2400 = 2400 , k4800 = 4800 , k9600 = 9600 , k19200 = 19200 ,
  k28800 = 28800 , k38400 = 38400 , k57600 = 57600 , k115200 = 115200
}
enum class  eSerialDataBits { k7 = 7 , k8 = 8 }
enum class  eSerialParity { kNone , kOdd , kEven }
enum class  eSerialStopBits { k1 , k2 }
enum class  eSerialHandshake { kNone , kXonXoff , kHardware }
enum class  eInstrumentType { kMFC3045 , kPT2026 , kUnknown }
enum class  eProbeArrayType { kMFC3048 , kMFC9046 , kMFC9146 , kUnknown }
enum class  eOperatingMode { kIdle , kSearch , kMeasure }
enum class  eRepeatMode { kSingle , kContinuous }
enum class  eMeasureSelectionMode { kProbeArray , kSingleProbe }
enum class  eInstrumentState { kWaitingForPA , kReady , kSearching , kMeasuring }
enum class  eRemoteBoxTrigger { kRemoteBoxTrigger }
enum class  eRemoteBoxBusyLedState {
  kRemoteBusyLedOff , kRemoteBusyLedMeasuring , kRemoteBusyLedOffEndMeas , kRemoteBusyLedOn ,
  kRemoteBusyLedBlinkSlow , kRemoteBusyLedBlinkFast
}
enum class  eNormalizationAccess { kReadRAM , kReadROM , kWriteRAM , kWriteROM }
enum class  eErrorLevel { kFatal , kError , kWarning }
enum class  eLogLevel { kCritical , kDebug , kInfo , kWarning }
typedef std::time_t tPosixTime
typedef std::string tISO8601DateTime
typedef std::string tInstrumentLabel
typedef std::string tInstrumentUniqueID
typedef std::vector< sInstrumentConnection > tInstrumentList
typedef std::vector< sMeasurement > tMeasurementList
typedef F32 tNormalizationCorrection
typedef std::vector< tNormalizationCorrection > tNormalizationTable

Public Member Functions

 CInstrumentCatalog ()

Static Public Member Functions

static std::string l_Dump (const tInstrumentList &rInsList)
static std::string l_Dump (const sInstrumentConnection &rInsConnection)
static std::string l_Dump (const sMFC3045SerialPortSettings &rSerialSett)
static std::string l_Dump (const sInstrumentInformation &rInsInfo)
static std::string l_Dump (const sInstrumentConfiguration &rInsConf)
static std::string l_Dump (const sProbeArrayInformation &rPAInfo)
static std::string l_Dump (const sProbeArrayAngle &rPAAngle)
static std::string l_Dump (const sInstrumentState &rInsState)
static std::string l_Dump (const sInstrumentStatus &rInsStatus)
static std::string l_Dump (const sSearchResult &rSearchResult)
static std::string l_Dump (const sMeasurementResults &rMeasResult)
static std::string l_Dump (const tISO8601DateTime &rDateTime)
static std::string l_Dump (const sNormalization &rNormalization)
static std::string l_Dump (const sLicenseInformation &rLicenseInfo)
static std::string l_Dump (const sLicenseUpdate &rLicenseUpdate)
static std::string l_Dump (const eRemoteBoxBusyLedState &rRBBusyLedState)
static std::string l_Dump (const sError &rError)
static std::string l_Dump (const sLogMessage &rLogMessage)

Static Public Attributes

static constexpr I32 WARNING_ERROR_CODE = 1
static constexpr I32 UNDEFINED_ERROR_CODE = 0
static constexpr I32 ERROR_CODE = -2
static constexpr I32 FATAL_ERROR_CODE = -1

Protected Attributes

CVariable< tInstrumentList > vInstrumentList
CVariable< sInstrumentConnection > vInstrumentCurrent
CVariable< sMFC3045SerialPortSettings > vMFC3045SerialPortSettings
CVariable< sInstrumentInformation > vInstrumentInformation
CVariable< sInstrumentConfiguration > vInstrumentConfiguration
CVariable< sProbeArrayInformation > vProbeArrayInformation
CVariable< sProbeArrayAngle > vProbeArrayAngle
CVariable< sInstrumentState > vInstrumentState
CVariable< sInstrumentStatus > vInstrumentStatus
CVariable< eRemoteBoxTrigger > vRemoteBoxTriggerEvent
CVariable< eRemoteBoxBusyLedState > vRemoteBoxBusyLedState
CVariable< sSearchResult > vSearchResult
CVariable< sMeasurementResults > vMeasurementResults
CVariable< sNormalization > vNormalizationRequest
CVariable< sNormalization > vNormalizationReturned
CVariable< sLicenseInformation > vLicenseInfoRequest
CVariable< sLicenseInformation > vLicenseInfoReturned
CVariable< sLicenseUpdate > vLicenseUpdateRequest
CVariable< sLicenseUpdate > vLicenseUpdateReturned
CVariable< sError > vError
CVariable< sLogMessage > vLogMessage

Friends

class CGUICatalogInterface
class CInstrManCatalogInterface

Detailed Description

Definition at line 22 of file InstrumentCatalog.h.

Member Typedef Documentation

◆ tInstrumentLabel

Definition at line 30 of file InstrumentCatalog.h.

◆ tInstrumentList

◆ tInstrumentUniqueID

Definition at line 31 of file InstrumentCatalog.h.

◆ tISO8601DateTime

Definition at line 28 of file InstrumentCatalog.h.

◆ tMeasurementList

Definition at line 269 of file InstrumentCatalog.h.

◆ tNormalizationCorrection

◆ tNormalizationTable

◆ tPosixTime

Definition at line 27 of file InstrumentCatalog.h.

Member Enumeration Documentation

◆ eConnectionInterface

Enumerator
kUnknown 
kUSB 
kEthernet 
kSerial 

Definition at line 32 of file InstrumentCatalog.h.

◆ eErrorLevel

Enumerator
kFatal 
kError 
kWarning 

Definition at line 311 of file InstrumentCatalog.h.

◆ eInstrumentState

Enumerator
kWaitingForPA 
kReady 
kSearching 
kMeasuring 

Definition at line 226 of file InstrumentCatalog.h.

◆ eInstrumentType

Enumerator
kMFC3045 
kPT2026 
kUnknown 

Definition at line 104 of file InstrumentCatalog.h.

◆ eLogLevel

Enumerator
kCritical 
kDebug 
kInfo 
kWarning 

Definition at line 339 of file InstrumentCatalog.h.

◆ eMeasureSelectionMode

Enumerator
kProbeArray 
kSingleProbe 

Definition at line 196 of file InstrumentCatalog.h.

◆ eNormalizationAccess

Enumerator
kReadRAM 
kReadROM 
kWriteRAM 
kWriteROM 

Definition at line 277 of file InstrumentCatalog.h.

◆ eOperatingMode

Enumerator
kIdle 
kSearch 
kMeasure 

Definition at line 187 of file InstrumentCatalog.h.

◆ eProbeArrayType

Enumerator
kMFC3048 
kMFC9046 
kMFC9146 
kUnknown 

Definition at line 142 of file InstrumentCatalog.h.

◆ eRemoteBoxBusyLedState

Enumerator
kRemoteBusyLedOff 
kRemoteBusyLedMeasuring 
kRemoteBusyLedOffEndMeas 
kRemoteBusyLedOn 
kRemoteBusyLedBlinkSlow 
kRemoteBusyLedBlinkFast 

Definition at line 245 of file InstrumentCatalog.h.

◆ eRemoteBoxTrigger

Enumerator
kRemoteBoxTrigger 

Definition at line 242 of file InstrumentCatalog.h.

◆ eRepeatMode

Enumerator
kSingle 
kContinuous 

Definition at line 192 of file InstrumentCatalog.h.

◆ eSerialBaudrate

Enumerator
k2400 
k4800 
k9600 
k19200 
k28800 
k38400 
k57600 
k115200 

Definition at line 55 of file InstrumentCatalog.h.

◆ eSerialDataBits

Enumerator
k7 
k8 

Definition at line 65 of file InstrumentCatalog.h.

◆ eSerialHandshake

Enumerator
kNone 
kXonXoff 
kHardware 

Definition at line 76 of file InstrumentCatalog.h.

◆ eSerialParity

Enumerator
kNone 
kOdd 
kEven 

Definition at line 69 of file InstrumentCatalog.h.

◆ eSerialStopBits

Enumerator
k1 
k2 

Definition at line 72 of file InstrumentCatalog.h.

Constructor & Destructor Documentation

◆ CInstrumentCatalog()

MTL::CInstrumentCatalog::CInstrumentCatalog ( )
inline

Definition at line 591 of file InstrumentCatalog.h.

Member Function Documentation

◆ l_Dump() [1/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const eRemoteBoxBusyLedState & rRBBusyLedState)
inlinestatic

Definition at line 516 of file InstrumentCatalog.h.

◆ l_Dump() [2/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sError & rError)
inlinestatic

Definition at line 527 of file InstrumentCatalog.h.

◆ l_Dump() [3/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sInstrumentConfiguration & rInsConf)
inlinestatic

Definition at line 409 of file InstrumentCatalog.h.

◆ l_Dump() [4/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sInstrumentConnection & rInsConnection)
inlinestatic

Definition at line 371 of file InstrumentCatalog.h.

◆ l_Dump() [5/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sInstrumentInformation & rInsInfo)
inlinestatic

Definition at line 396 of file InstrumentCatalog.h.

◆ l_Dump() [6/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sInstrumentState & rInsState)
inlinestatic

Definition at line 441 of file InstrumentCatalog.h.

◆ l_Dump() [7/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sInstrumentStatus & rInsStatus)
inlinestatic

Definition at line 458 of file InstrumentCatalog.h.

◆ l_Dump() [8/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sLicenseInformation & rLicenseInfo)
inlinestatic

Definition at line 501 of file InstrumentCatalog.h.

◆ l_Dump() [9/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sLicenseUpdate & rLicenseUpdate)
inlinestatic

Definition at line 509 of file InstrumentCatalog.h.

◆ l_Dump() [10/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sLogMessage & rLogMessage)
inlinestatic

Definition at line 536 of file InstrumentCatalog.h.

◆ l_Dump() [11/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sMeasurementResults & rMeasResult)
inlinestatic

Definition at line 475 of file InstrumentCatalog.h.

◆ l_Dump() [12/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sMFC3045SerialPortSettings & rSerialSett)
inlinestatic

Definition at line 380 of file InstrumentCatalog.h.

◆ l_Dump() [13/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sNormalization & rNormalization)
inlinestatic

Definition at line 489 of file InstrumentCatalog.h.

◆ l_Dump() [14/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sProbeArrayAngle & rPAAngle)
inlinestatic

Definition at line 432 of file InstrumentCatalog.h.

◆ l_Dump() [15/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sProbeArrayInformation & rPAInfo)
inlinestatic

Definition at line 415 of file InstrumentCatalog.h.

◆ l_Dump() [16/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const sSearchResult & rSearchResult)
inlinestatic

Definition at line 468 of file InstrumentCatalog.h.

◆ l_Dump() [17/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const tInstrumentList & rInsList)
inlinestatic

Definition at line 362 of file InstrumentCatalog.h.

◆ l_Dump() [18/18]

std::string MTL::CInstrumentCatalog::l_Dump ( const tISO8601DateTime & rDateTime)
inlinestatic

Definition at line 483 of file InstrumentCatalog.h.

◆ CGUICatalogInterface

friend class CGUICatalogInterface
friend

Definition at line 551 of file InstrumentCatalog.h.

◆ CInstrManCatalogInterface

friend class CInstrManCatalogInterface
friend

Definition at line 552 of file InstrumentCatalog.h.

Member Data Documentation

◆ ERROR_CODE

I32 MTL::CInstrumentCatalog::ERROR_CODE = -2
staticconstexpr

Definition at line 318 of file InstrumentCatalog.h.

◆ FATAL_ERROR_CODE

I32 MTL::CInstrumentCatalog::FATAL_ERROR_CODE = -1
staticconstexpr

Definition at line 319 of file InstrumentCatalog.h.

◆ UNDEFINED_ERROR_CODE

I32 MTL::CInstrumentCatalog::UNDEFINED_ERROR_CODE = 0
staticconstexpr

Definition at line 317 of file InstrumentCatalog.h.

◆ vError

CVariable<sError> MTL::CInstrumentCatalog::vError
protected

Definition at line 587 of file InstrumentCatalog.h.

◆ vInstrumentConfiguration

CVariable<sInstrumentConfiguration> MTL::CInstrumentCatalog::vInstrumentConfiguration
protected

Definition at line 566 of file InstrumentCatalog.h.

◆ vInstrumentCurrent

CVariable<sInstrumentConnection> MTL::CInstrumentCatalog::vInstrumentCurrent
protected

Definition at line 561 of file InstrumentCatalog.h.

◆ vInstrumentInformation

CVariable<sInstrumentInformation> MTL::CInstrumentCatalog::vInstrumentInformation
protected

Definition at line 565 of file InstrumentCatalog.h.

◆ vInstrumentList

CVariable<tInstrumentList> MTL::CInstrumentCatalog::vInstrumentList
protected

Definition at line 560 of file InstrumentCatalog.h.

◆ vInstrumentState

CVariable<sInstrumentState> MTL::CInstrumentCatalog::vInstrumentState
protected

Definition at line 571 of file InstrumentCatalog.h.

◆ vInstrumentStatus

CVariable<sInstrumentStatus> MTL::CInstrumentCatalog::vInstrumentStatus
protected

Definition at line 572 of file InstrumentCatalog.h.

◆ vLicenseInfoRequest

CVariable<sLicenseInformation> MTL::CInstrumentCatalog::vLicenseInfoRequest
protected

Definition at line 583 of file InstrumentCatalog.h.

◆ vLicenseInfoReturned

CVariable<sLicenseInformation> MTL::CInstrumentCatalog::vLicenseInfoReturned
protected

Definition at line 584 of file InstrumentCatalog.h.

◆ vLicenseUpdateRequest

CVariable<sLicenseUpdate> MTL::CInstrumentCatalog::vLicenseUpdateRequest
protected

Definition at line 585 of file InstrumentCatalog.h.

◆ vLicenseUpdateReturned

CVariable<sLicenseUpdate> MTL::CInstrumentCatalog::vLicenseUpdateReturned
protected

Definition at line 586 of file InstrumentCatalog.h.

◆ vLogMessage

CVariable<sLogMessage> MTL::CInstrumentCatalog::vLogMessage
protected

Definition at line 588 of file InstrumentCatalog.h.

◆ vMeasurementResults

CVariable<sMeasurementResults> MTL::CInstrumentCatalog::vMeasurementResults
protected

Definition at line 578 of file InstrumentCatalog.h.

◆ vMFC3045SerialPortSettings

CVariable<sMFC3045SerialPortSettings> MTL::CInstrumentCatalog::vMFC3045SerialPortSettings
protected

Definition at line 562 of file InstrumentCatalog.h.

◆ vNormalizationRequest

CVariable<sNormalization> MTL::CInstrumentCatalog::vNormalizationRequest
protected

Definition at line 581 of file InstrumentCatalog.h.

◆ vNormalizationReturned

CVariable<sNormalization> MTL::CInstrumentCatalog::vNormalizationReturned
protected

Definition at line 582 of file InstrumentCatalog.h.

◆ vProbeArrayAngle

CVariable<sProbeArrayAngle> MTL::CInstrumentCatalog::vProbeArrayAngle
protected

Definition at line 568 of file InstrumentCatalog.h.

◆ vProbeArrayInformation

CVariable<sProbeArrayInformation> MTL::CInstrumentCatalog::vProbeArrayInformation
protected

Definition at line 567 of file InstrumentCatalog.h.

◆ vRemoteBoxBusyLedState

CVariable<eRemoteBoxBusyLedState> MTL::CInstrumentCatalog::vRemoteBoxBusyLedState
protected

Definition at line 574 of file InstrumentCatalog.h.

◆ vRemoteBoxTriggerEvent

CVariable<eRemoteBoxTrigger> MTL::CInstrumentCatalog::vRemoteBoxTriggerEvent
protected

Definition at line 573 of file InstrumentCatalog.h.

◆ vSearchResult

CVariable<sSearchResult> MTL::CInstrumentCatalog::vSearchResult
protected

Definition at line 577 of file InstrumentCatalog.h.

◆ WARNING_ERROR_CODE

I32 MTL::CInstrumentCatalog::WARNING_ERROR_CODE = 1
staticconstexpr

Definition at line 316 of file InstrumentCatalog.h.


The documentation for this class was generated from the following file: