observ_type Derived Type

type, public :: observ_type

Observation with receivers, requests, and responses. Modifying this type requires changes in dm_csv, dm_db, dm_hdf5, dm_html, dm_json, and several other modules (you probably don’t want that!).


Inherits

type~~observ_type~~InheritsGraph type~observ_type observ_type type~request_type request_type type~observ_type->type~request_type requests type~response_type response_type type~request_type->type~response_type responses

Inherited by

type~~observ_type~~InheritedByGraph type~observ_type observ_type type~job_type job_type type~job_type->type~observ_type observ type~job_list_type job_list_type type~job_list_type->type~job_type jobs

Components

Type Visibility Attributes Name Initial
character(len=OBSERV_ID_LEN), public :: id = UUID_DEFAULT

Observation id (UUIDv4).

character(len=NODE_ID_LEN), public :: node_id = ' '

Node id (-0-9A-Z_a-z).

character(len=SENSOR_ID_LEN), public :: sensor_id = ' '

Sensor id (-0-9A-Z_a-z).

character(len=TARGET_ID_LEN), public :: target_id = ' '

Target id (-0-9A-Z_a-z).

character(len=OBSERV_NAME_LEN), public :: name = ' '

Observation name (-0-9A-Z_a-z).

character(len=TIME_LEN), public :: timestamp = ' '

ISO 8601 timestamp.

character(len=OBSERV_SOURCE_LEN), public :: source = ' '

Observation source (-0-9A-Z_a-z).

character(len=OBSERV_DEVICE_LEN), public :: device = ' '

Physical device (TTY/PTY).

integer, public :: priority = 0

Message queue priority (>= 0).

integer, public :: error = E_NONE

Error code.

integer, public :: next = 0

Next receiver index.

integer, public :: nreceivers = 0

Number of receivers.

integer, public :: nrequests = 0

Number of requests.

character(len=OBSERV_RECEIVER_LEN), public :: receivers(OBSERV_MAX_NRECEIVERS) = ' '

Array of receivers (-0-9A-Z_a-z).

type(request_type), public :: requests(OBSERV_MAX_NREQUESTS)

Array of requests.