PLCnext API Documentation 25.0.2.69
SessionState.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Core/Enum.hxx"
9
10// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
11
13{
14
18enum class SessionState : uint8
19{
23 None = 0,
24
28 Created = 1,
29
33 Initialized = 2,
34
38 Running = 3,
39
43 Stopped = 4,
44
48 Error = 5,
49};
50
52// global stream operators of enum SessionState for logging and parsing
53ARP_EXPORT std::ostream& operator<<(std::ostream& os, SessionState value);
54ARP_EXPORT std::istream& operator>>(std::istream& is, SessionState& value);
55
56} // end of namespace Arp::Services::DataLogger::Services
57
59// template specialization of SessionState formatter
60template<> struct fmt::formatter<Arp::Services::DataLogger::Services::SessionState> : public fmt::ostream_formatter {};
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
Namespace for services of the DataLogger
SessionState
State of a data logger session
Definition: SessionState.hpp:19
@ Created
The session was already created but not yet initialized
@ Stopped
summary>Thread is either waiting for an event, currently sleeping or waits for another thread to fini...
Root namespace for the PLCnext API