adapnex::core

Types

Name

Description

Application

BaseSignal

ClockGenerator

A pulse generator that creates cyclic pulses at a defined interval.

Context

Provides access to thread‐local information relevant to the execution of the application.

F_TRIG

Falling edge detector.

Hysteresis

Switches a boolean output based on two analog thresholds.

HysteresisWithDelay

Switches a boolean output based on analog thresholds and an on‐delay filter.

InputArrayMapping

Interface for input drivers to pass an array of values to an application. Individual elements can be selected using the index operator and then accessed via the value() method or by mapping a variable that will hold the element's value.

InputValueMapping

Interface for input drivers to pass values to an application. The value can be accessed via the value() method or by mapping a variable that will hold the value.

LambdaTask

A helper class allowing a task to be defined by a lambda function.

Mutex

Platform‐agnostic lock conforming to BasicLockable and Lockable. Use this Mutex instead of standard library types like std::mutex to ensure priority inheritance is used on real‐time capable platforms.

OutputArrayMapping

Interface for output drivers to receive an array of values from an application. Individual elements can be selected using the index operator and then accessed via the value() method or by mapping a variable that holds the element's value.

OutputValueMapping

Interface for output drivers to receive values from an application. The value can be accessed via the value() method or by mapping a variable that holds the value.

PID

A Proportional‐Integral‐Derivative (PID) controller in the Standard (Ideal/ISA) form.

RS

Bistable latch with dominant reset.

R_TRIG

Rising edge detector.

SR

Bistable latch with dominant set.

SerialPort

Represents a serial port.

Signal

SquareWaveGenerator

A cyclic signal generator that produces pulses with defined high and low durations.

TCPConnection

Represents a TCP connection.

TOF

An off‐delay timer that delays the falling edge of a signal by a defined duration.

TON

An on‐delay timer that delays the rising edge of a signal by a defined duration.

TP

A pulse timer that generates a pulse with a defined pulse duration.

Task

Base class for schedulable application components. Tasks are combined via TaskGroup and executed by the scheduler according to the given scheduling parameters. See Application::CreateCyclicTaskGroup() and Application::CreateFreewheelingTaskGroup().

TaskGroup

Schedules multiple tasks together on the same thread. This allows, for example, drivers to be scheduled together with the tasks reading or writing from their inputs or outputs. This approach allows the driver to synchronise updates with task execution so that the tasks observe a consistent view of the inputs and outputs each cycle.

UDPConnection

Represents a UDP connection.

WatchdogEvent

A trip of the execution watchdog.

Type Aliases

Name

Description

Duration

Type used to describe relative time.

SignalSet

Enums

Name

Description

WatchdogTripReason

Why the execution watchdog tripped.

Functions

Name

Description

map

Maps a number linearly from one range to another.

Created with MrDocs