Files
pvxs/documentation/nt.rst
T
Michael Davidsaver 6f584f8299 more doc
2020-02-05 16:44:10 -08:00

1.4 KiB

Common Type Definitions

Library of common type definitions. :

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

ntscalar

time_t

Commonly used sub-structure to represent a time

"secondsPastEpoch"

Seconds since 1 Jan 1990 UTC. This is 631152000 seconds after the POSIX epoch of 1970.

"nanoseconds"

Number of nanoseconds since the start of the second.

alarm_t

"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.

NTNDArray

Container for image data used by areaDetector.

pvxs::nt::NTNDArray