PLCnext API Documentation 25.0.2.69
ArpVersion.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
7
8#ifndef ARP_USE_ARP_SYSTEM_CORE
9
10#include "Arp/Base/Core/ArpVersion.hpp"
11
12#else
13
14#include "Arp/System/Core/Arp.h"
16
18#define ARP_VERSION_CURRENT Arp::Version(ARP_VERSION_MAJOR, ARP_VERSION_MINOR, ARP_VERSION_PATCH, ARP_VERSION_BUILD, ARP_VERSION_STATE, ARP_VERSION_NAME)
19
20namespace Arp
21{
22
24class ArpVersion
25{
26public: // static fields
27
30 ARP_DEPRECATED("Use GetCurrent() instead.")
31 static Version Current;
32
34 static const Version& GetCurrent();
35};
36
38// inline methods of class ArpVersion
39
40} // end of namespace Arp::System::Core
41
42#endif // ndef ARP_USE_ARP_SYSTEM_CORE
static const ArpVersion & GetCurrent(void)
Returns the build version of the actual running firmware.
Definition: ArpVersion.cpp:120
Root namespace for the PLCnext API