Skip to content

Commit 3c954c9

Browse files
authored
Merge pull request #37 from gralkapk/guid
Added GUID to RTX configuration class
2 parents c170aa4 + 38fec53 commit 3c954c9

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

power_overwhelming/include/visus/pwrowg/rtx_instrument_configuration.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "visus/pwrowg/rtx_trigger.h"
1616
#include "visus/pwrowg/rtx_instrument.h"
1717

18+
#include "visus/pwrowg/guid.h"
1819

1920
PWROWG_NAMESPACE_BEGIN
2021

@@ -455,6 +456,11 @@ class POWER_OVERWHELMING_API rtx_instrument_configuration final {
455456
_In_ const std::size_t cnt_instruments);
456457
#endif /*defined(POWER_OVERWHELMING_WITH_VISA) */
457458

459+
/// <summary>
460+
/// A unique identifer for the <see cref="rtx_instrument_configuration" /> type.
461+
/// </summary>
462+
static const guid id;
463+
458464
/// <summary>
459465
/// Initialises a new instance.
460466
/// </summary>

power_overwhelming/src/rtx_instrument_configuration.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// <copyright file="rtx_instrument_configuration.cpp" company="Visualisierungsinstitut der Universität Stuttgart">
1+
// <copyright file="rtx_instrument_configuration.cpp" company="Visualisierungsinstitut der Universität Stuttgart">
22
// Copyright © 2023 - 2025 Visualisierungsinstitut der Universität Stuttgart.
33
// Licensed under the MIT licence. See LICENCE file for details.
44
// </copyright>
@@ -551,6 +551,13 @@ std::size_t PWROWG_NAMESPACE::rtx_instrument_configuration::serialise(
551551
#endif /* defined(POWER_OVERWHELMING_WITH_VISA) */
552552

553553

554+
/*
555+
* PWROWG_NAMESPACE::rtx_instrument_configuration::id
556+
*/
557+
const PWROWG_NAMESPACE::guid PWROWG_NAMESPACE::rtx_instrument_configuration::id(
558+
0x4dba2660, 0x1e1, 0x43e6, 0x93, 0x43, 0xd, 0x6e, 0xdc, 0xa7, 0xf4, 0xfb);
559+
560+
554561
/*
555562
* ...::rtx_instrument_configuration::rtx_instrument_configuration
556563
*/

0 commit comments

Comments
 (0)