PLCnext API Documentation 25.0.2.69
Classes | Typedefs | Functions
TypeSystem

Classes

struct  Arp::Base::Core::Timeout
 Defines some predefined timeouts. More...
 

Typedefs

using Arp::Base::Core::byte = std::byte
 The Arp byte type.
 
using Arp::Base::Core::SteadyClock = std::chrono::steady_clock
 Represents the monotonic clock.
 
using Arp::Base::Core::SystemClock = std::chrono::system_clock
 Represents the system-wide real time wall clock.
 
using Arp::Base::Core::SteadyTimePoint = SteadyClock::time_point
 Represents the type of a monotonic clock time-point.
 
using Arp::Base::Core::SystemTimePoint = SystemClock::time_point
 Represents the type of a system clock time-point.
 
using Arp::Base::Core::Nanoseconds = std::chrono::nanoseconds
 The Arp Nanoseconds unit class.
 
using Arp::Base::Core::Microseconds = std::chrono::microseconds
 The Arp Microseconds unit class.
 
using Arp::Base::Core::Milliseconds = std::chrono::milliseconds
 The Arp Milliseconds unit class.
 
using Arp::Base::Core::Seconds = std::chrono::seconds
 The Arp Seconds unit class.
 
using Arp::Base::Core::Minutes = std::chrono::minutes
 The Arp Minutes unit class.
 
using Arp::Base::Core::Hours = std::chrono::hours
 The Arp Hours unit class.
 
using Arp::Base::Core::Duration = Nanoseconds
 Represents a duration in arbitrary units like ns, ms, s and more. The duration unit might not be omitted. More...
 
using Arp::Base::Core::boolean = bool
 The Arp boolean type.
 
using Arp::Base::Core::uint8 = std::uint8_t
 The Arp unsigned integer type of 1 byte size.
 
using Arp::Base::Core::int8 = std::int8_t
 The Arp integer type of 1 byte size.
 
using Arp::Base::Core::uint16 = std::uint16_t
 The Arp unsigned integer type of 2 byte size.
 
using Arp::Base::Core::int16 = std::int16_t
 The Arp integer type of 2 byte size.
 
using Arp::Base::Core::uint32 = std::uint32_t
 The Arp unsigned integer type of 4 byte size.
 
using Arp::Base::Core::int32 = std::int32_t
 The Arp integer type of 4 byte size.
 
using Arp::Base::Core::uint64 = std::uint64_t
 The Arp unsigned integer type of 8 byte size.
 
using Arp::Base::Core::int64 = std::int64_t
 The Arp integer type of 8 byte size.
 
using Arp::Base::Core::float32 = float
 The Arp floating point numbers type of 4 byte size.
 
using Arp::Base::Core::float64 = double
 The Arp floating point numbers type of 8 byte size.
 
using Arp::Base::Core::char8 = char
 The Arp character type of 1 byte size.
 
using Arp::Base::Core::char8u = char8_t
 The Arp UTF8 character type of 1 byte size.
 
using Arp::Base::Core::char16 = char16_t
 The Arp character type of 2 byte size.
 
using Arp::Base::Core::uintx = std::size_t
 The Arp unsigned integer type matching CPU width.
 
using Arp::Base::Core::intptr = std::size_t
 The Arp unsigned integer type matching pointer size.
 
using Arp::Base::Core::intx = int32
 The Arp integer type matching CPU width.
 

Functions

constexpr Arp::Base::Core::byte Arp::Base::Core::operator""_b (unsigned long long int value)
 User defined literal operator _b to define a byte value
 
constexpr Arp::Base::Core::byte Arp::Base::Core::operator""_B (unsigned long long int value)
 User defined literal operator _B to define a byte value
 

Detailed Description

Typedef Documentation

◆ Duration

Represents a duration in arbitrary units like ns, ms, s and more. The duration unit might not be omitted.

Use std::chrono::literals to specify an instance of this type, e.g. 100ns, 10ms or 1s. Another approach is to use explicit cast, e.g Nanoseconds(100), Milliseconds(10) or Seconds(1).