353 sLogMessage(
const eLogLevel & rLevel,
const std::string & rContext,
const std::string & rMessage,
const std::string & rLocation)
364 std::ostringstream l_ss;
365 for (
auto l_i = rInsList.begin(); l_i != rInsList.end(); l_i++)
373 std::ostringstream l_ss;
374 l_ss << rInsConnection.
Label <<
"(" << rInsConnection.
UniqueID <<
")";
382 std::ostringstream l_ss;
383 l_ss <<
"Baudrate: " << (
unsigned long)rSerialSett.
Baudrate <<
" | ";
384 l_ss <<
"DataBits: " << (
unsigned long)rSerialSett.
DataBits <<
" | ";
393 l_ss <<
"WrRdDelay ms: " << (
unsigned long)rSerialSett.
DelayWrRd << std::endl;
398 std::ostringstream l_ss;
401 l_ss <<
"Serial Number: " << rInsInfo.
SerialNumber <<
" | ";
406 l_ss <<
"Description: " << rInsInfo.
Description << std::endl;
411 std::ostringstream l_ss;
417 std::ostringstream l_ss;
418 l_ss <<
"Serial Number: " << rPAInfo.
SerialNumber << std::endl;
419 l_ss <<
"Description: " << rPAInfo.
Description << std::endl;
421 l_ss <<
"FreqMin: " << rPAInfo.
FreqMin << std::endl;
422 l_ss <<
"FreqMax: " << rPAInfo.
FreqMax << std::endl;
423 l_ss <<
"FreqCentral: " << rPAInfo.
FreqCentral << std::endl;
424 l_ss <<
"GyroRatio: " << rPAInfo.
GyroRatio << std::endl;
425 l_ss <<
"ProbeList: (No. probes = " << rPAInfo.
NbProbes() <<
")" << std::endl;
428 l_ss <<
" " << (
unsigned int)l_it->ProbeNumber <<
" | " << l_it->FreqMin <<
" -> " << l_it->FreqMax << std::endl;
434 std::ostringstream l_ss;
436 l_ss <<
"Angle: " << rPAAngle.
Angle << std::endl;
438 l_ss <<
"No PA angle sensor" << std::endl;
443 std::ostringstream l_ss;
450 l_ss <<
"Probe Array selected" << std::endl;
453 l_ss <<
"FreqMin: " << rInsState.
FreqMin << std::endl;
454 l_ss <<
"FreqMax: " << rInsState.
FreqMax << std::endl;
460 std::ostringstream l_ss;
465 l_ss <<
"SearchProgress: " << (
unsigned int)rInsStatus.
SearchProgress << std::endl;
470 std::ostringstream l_ss;
471 l_ss <<
"Frequency: " << rSearchResult.
Freq <<
" | ";
472 l_ss <<
"StdDev: " << rSearchResult.
StdDev << std::endl;
477 std::ostringstream l_ss;
478 l_ss <<
"Timestamp: " << rMeasResult.
Timestamp << std::endl;
480 l_ss <<
" ProbeNo.: " << (
unsigned int)l_it->ProbeNumber <<
" Freq: " << l_it->Freq <<
" Nb.Valid: " << (
unsigned int)l_it->NbValidMeasurements <<
" SDev: " << l_it->StdDev << std::endl;
485 std::ostringstream l_ss;
486 l_ss <<
"Date: " << rDateTime << std::endl;
491 std::ostringstream l_ss;
496 for (
auto l_it = rNormalization.
Table.begin(); l_it != rNormalization.
Table.end(); l_it++)
497 l_ss << *l_it << std::endl;
503 std::ostringstream l_ss;
504 l_ss <<
"Description: " << rLicenseInfo.
Description <<
" | ";
505 l_ss <<
"Serial Number: " << rLicenseInfo.
SerialNumber <<
" | ";
511 std::ostringstream l_ss;
512 l_ss <<
"FilePath: " << rLicenseUpdate.
FilePath <<
" | ";
513 l_ss <<
"Update status: " << rLicenseUpdate.
StatusMessage << std::endl;
518 std::ostringstream l_ss;
529 std::ostringstream l_ss;
538 std::ostringstream l_ss;
543 l_ss <<
"Context: " << rLogMessage.
Context << std::endl;
544 l_ss <<
"Message: \"" << rLogMessage.
Message <<
"\"" << std::endl;
545 l_ss <<
"@ " << rLogMessage.
Location << std::endl;
Platform Dependent Definitions.
std::vector< tNormalizationCorrection > tNormalizationTable
static std::string l_Dump(const sError &rError)
friend class CInstrManCatalogInterface
CVariable< sLogMessage > vLogMessage
static std::string l_Dump(const sProbeArrayInformation &rPAInfo)
CVariable< sSearchResult > vSearchResult
F32 tNormalizationCorrection
static constexpr I32 FATAL_ERROR_CODE
static std::string l_Dump(const sInstrumentConnection &rInsConnection)
@ kRemoteBusyLedOffEndMeas
@ kRemoteBusyLedMeasuring
@ kRemoteBusyLedBlinkSlow
@ kRemoteBusyLedBlinkFast
static std::string l_Dump(const tISO8601DateTime &rDateTime)
CVariable< sInstrumentConfiguration > vInstrumentConfiguration
static std::string l_Dump(const sMFC3045SerialPortSettings &rSerialSett)
std::string tInstrumentUniqueID
static constexpr I32 UNDEFINED_ERROR_CODE
static constexpr I32 ERROR_CODE
std::string tISO8601DateTime
CVariable< sMeasurementResults > vMeasurementResults
friend class CGUICatalogInterface
static std::string l_Dump(const tInstrumentList &rInsList)
CVariable< sInstrumentStatus > vInstrumentStatus
CVariable< sInstrumentState > vInstrumentState
static std::string l_Dump(const sProbeArrayAngle &rPAAngle)
static std::string l_Dump(const sInstrumentState &rInsState)
CVariable< sProbeArrayInformation > vProbeArrayInformation
CVariable< sInstrumentInformation > vInstrumentInformation
static std::string l_Dump(const sLicenseUpdate &rLicenseUpdate)
std::vector< sMeasurement > tMeasurementList
std::vector< sInstrumentConnection > tInstrumentList
static std::string l_Dump(const sInstrumentConfiguration &rInsConf)
static std::string l_Dump(const sLogMessage &rLogMessage)
CVariable< sProbeArrayAngle > vProbeArrayAngle
CVariable< sMFC3045SerialPortSettings > vMFC3045SerialPortSettings
static std::string l_Dump(const sNormalization &rNormalization)
CVariable< tInstrumentList > vInstrumentList
CVariable< sInstrumentConnection > vInstrumentCurrent
CVariable< sLicenseInformation > vLicenseInfoRequest
CVariable< sLicenseUpdate > vLicenseUpdateReturned
static std::string l_Dump(const sInstrumentInformation &rInsInfo)
CVariable< eRemoteBoxBusyLedState > vRemoteBoxBusyLedState
CVariable< eRemoteBoxTrigger > vRemoteBoxTriggerEvent
CVariable< sLicenseUpdate > vLicenseUpdateRequest
static std::string l_Dump(const sLicenseInformation &rLicenseInfo)
static std::string l_Dump(const sMeasurementResults &rMeasResult)
static std::string l_Dump(const sSearchResult &rSearchResult)
std::string tInstrumentLabel
static std::string l_Dump(const eRemoteBoxBusyLedState &rRBBusyLedState)
CVariable< sNormalization > vNormalizationReturned
CVariable< sError > vError
static constexpr I32 WARNING_ERROR_CODE
CVariable< sLicenseInformation > vLicenseInfoReturned
static std::string l_Dump(const sInstrumentStatus &rInsStatus)
CVariable< sNormalization > vNormalizationRequest
tInstrumentUniqueID UniqueID
eConnectionInterface Interface
bool operator==(const sInstrumentConnection &other) const
sInstrumentConnection(tInstrumentLabel lbl="", tInstrumentUniqueID id="", eConnectionInterface itf=eConnectionInterface::kUnknown)
sMFC3045SerialPortSettings()
bool operator==(const sMFC3045SerialPortSettings &other) const
eSerialHandshake Handshake
bool operator!=(const sMFC3045SerialPortSettings &other) const
sInstrumentConnection InstrumentConnection
tISO8601DateTime CalibrationDate
sInstrumentConfiguration()
std::vector< sProbeInformation > ProbeList
tISO8601DateTime NormalizationDate
bool operator==(const sMeasureProbeSelection &other) const
bool operator!=(const sMeasureProbeSelection &other) const
eMeasureSelectionMode SelectionMode
sMeasureProbeSelection(eMeasureSelectionMode SelMode, U8 PrbNb)
sMeasureProbeSelection ProbeSelection
eOperatingMode OperatingMode
U32 NbAveragedMeasurements
sInstrumentStatus(eInstrumentState St, U8 SPR)
tMeasurementList MeasurementList
tNormalizationTable Table
eNormalizationAccess Access
tISO8601DateTime ExpirationUtcDate
std::string StatusMessage
sError(eErrorLevel Lvl, I32 Cde, std::string Dsc, std::string Src)
bool AngleSensorAvailable
sLogMessage(const eLogLevel &rLevel, const std::string &rContext, const std::string &rMessage, const std::string &rLocation)
CObserver< CInstrumentCatalog::sNormalization > oNormalizationReturned
CObserver< CInstrumentCatalog::sLicenseUpdate > oLicenseUpdateReturned
CObserver< CInstrumentCatalog::eRemoteBoxTrigger > oRemoteBoxTriggerEvent
CObserver< CInstrumentCatalog::sSearchResult > oSearchResult
CObserver< CInstrumentCatalog::sMeasurementResults > oMeasurementResults
CObserver< CInstrumentCatalog::sLogMessage > oLogMessage
CControl< CInstrumentCatalog::sLicenseUpdate > cLicenseUpdateRequest
CControl< CInstrumentCatalog::sMFC3045SerialPortSettings > cMFC3045SerialPortSettings
CObserver< CInstrumentCatalog::sLicenseInformation > oLicenseInfoReturned
CObserver< CInstrumentCatalog::tInstrumentList > oInstrumentList
CObserver< CInstrumentCatalog::sError > oError
CObserver< CInstrumentCatalog::sInstrumentConfiguration > oInstrumentConfiguration
CControl< CInstrumentCatalog::sLicenseInformation > cLicenseInfoRequest
CControl< CInstrumentCatalog::eRemoteBoxBusyLedState > cRemoteBoxBusyLedState
CControl< CInstrumentCatalog::sInstrumentConnection > cInstrumentCurrent
CObserver< CInstrumentCatalog::sProbeArrayAngle > oProbeArrayAngle
CObserver< CInstrumentCatalog::sInstrumentInformation > oInstrumentInformation
CObserver< CInstrumentCatalog::sInstrumentStatus > oInstrumentStatus
CControl< CInstrumentCatalog::sInstrumentState > cInstrumentState
CObserver< CInstrumentCatalog::sProbeArrayInformation > oProbeArrayInformation
CControl< CInstrumentCatalog::sNormalization > cNormalizationRequest
CGUICatalogInterface(CInstrumentCatalog &rCatalog)
CControl< CInstrumentCatalog::sProbeArrayAngle > cProbeArrayAngle
CControl< CInstrumentCatalog::sSearchResult > cSearchResult
CObserver< CInstrumentCatalog::sLicenseInformation > oLicenseInfoRequest
CControl< CInstrumentCatalog::sMeasurementResults > cMeasurementResults
CInstrManCatalogInterface(CInstrumentCatalog &rCatalog)
CControl< CInstrumentCatalog::sNormalization > cNormalizationReturned
CControl< CInstrumentCatalog::sLicenseUpdate > cLicenseUpdateReturned
CControl< CInstrumentCatalog::sLogMessage > cLogMessage
CObserver< CInstrumentCatalog::sLicenseUpdate > oLicenseUpdateRequest
CObserver< CInstrumentCatalog::sInstrumentConnection > oInstrumentCurrent
CControl< CInstrumentCatalog::sProbeArrayInformation > cProbeArrayInformation
CObserver< CInstrumentCatalog::eRemoteBoxBusyLedState > oRemoteBoxBusyLedState
CControl< CInstrumentCatalog::tInstrumentList > cInstrumentList
CControl< CInstrumentCatalog::eRemoteBoxTrigger > cRemoteBoxTriggerEvent
CControl< CInstrumentCatalog::sInstrumentInformation > cInstrumentInformation
CObserver< CInstrumentCatalog::sNormalization > oNormalizationRequest
CControl< CInstrumentCatalog::sInstrumentConfiguration > cInstrumentConfiguration
CControl< CInstrumentCatalog::sError > cError
CControl< CInstrumentCatalog::sLicenseInformation > cLicenseInfoReturned
CObserver< CInstrumentCatalog::sInstrumentState > oInstrumentState
CObserver< CInstrumentCatalog::sMFC3045SerialPortSettings > oMFC3045SerialPortSettings
CControl< CInstrumentCatalog::sInstrumentStatus > cInstrumentStatus