Files
pvxs/documentation/nt.rst
T
Michael Davidsaver 4023aedaec
PVXS / ubuntu-20.04/gcc/default/3.14// (push) Cancelled after 0s
PVXS / ubuntu-20.04/gcc/default/3.15// (push) Cancelled after 0s
PVXS / macos-latest/clang/default/7.0// (push) Cancelled after 0s
PVXS / ubuntu-20.04/gcc/default/7.0// (push) Cancelled after 0s
PVXS / ubuntu-20.04/gcc/default/7.0//release-2.0.22-stable (push) Cancelled after 0s
PVXS / ubuntu-20.04/gcc/default/7.0/64/ (push) Cancelled after 0s
PVXS / ubuntu-20.04/gcc/static/7.0/64/ (push) Cancelled after 0s
PVXS / ubuntu-16.04/gcc-4.8/default/7.0// (push) Cancelled after 0s
PVXS / ubuntu-16.04/gcc-4.9/default/7.0// (push) Cancelled after 0s
PVXS / ubuntu-20.04/gcc-8/default/7.0// (push) Cancelled after 0s
PVXS / windows-2019/vs2019/default/7.0// (push) Cancelled after 0s
PVXS / windows-2019/vs2019/static/7.0// (push) Cancelled after 0s
PVXS / ubuntu-20.04/clang/default/7.0// (push) Cancelled after 0s
0.1.5
2021-05-07 10:16:39 -07:00

1.9 KiB

Common Type Definitions

Library of common type definitions. :

#include <pvxs/nt.h>
namespace pvxs { namespace nt { ... } }

ntscalar

Note

The nt::* factories are expensive. Avoid repeated use with pvxs::Value::cloneEmpty.

time_t

Commonly used sub-structure to represent a time

pvxs::nt::TimeStamp

"secondsPastEpoch"

Seconds since POSIX epoch of 1 Jan 1970 UTC. Note that the EPICS epoch is 631152000 seconds after the POSIX epoch. (cf. POSIX_TIME_AT_EPICS_EPOCH in epicsTime.h from EPICS Base)

"nanoseconds"

Number of nanoseconds since the start of the second.

alarm_t

pvxs::nt::Alarm

"severity"

Enumeration of 0 - No Alarm, 1 - Minor, 2 - Major, 3 - Invalid.

The meaning of Minor and Major are contextual and may be different for each PV. An Invalid alarm severity means that the value field should not be taken as a meaningful represention of eg. the quantity being measured. Typically, it reflects the most recent valid value.

A UI client may change the state of a widget displaying a value which is alarming by eg. changing border color.

"status"

Enumeration providing context to "severity" 0 - No Alarm, 1 - Device, 2 - Driver, 3 - Record, 4 - Database, 5 - Configuration, 6 - Undefined, 7 - Client

"message"

Arbitrary string describing the condition being alarmed.

NTEnum

Container for a scalar value selection from a list of strings.

pvxs::nt::NTEnum

NTNDArray

Container for image data used by areaDetector.

pvxs::nt::NTNDArray

NTURI

pvxs::nt::NTURI