Crate gmt_dos_actors_clients_interface

Source
Expand description

§gmt_dos-actors-clients_interface

Interface definition betweeen an actor and an actor’s client.

Data is passed from the actor to the client by invoking Read::read from the client.

Data is passed from the client to the actor by invoking Write::write from the client.

The client state may be updated by invoking Update::update from the client

The macro chain conveniently allows to invoke the sequence of Read, Update and Write traits to a series of clients.

Modules§

doublet
filing
Serialization interface
optics
select
Vector element selection
units
Units conversion

Macros§

chain
Clients chain

Structs§

Data
Actors I/O data wrapper
Flatten
UID to flatten Vec<Arc<Vec<f64>>> into Vec<f64>
Left
Right

Enums§

Tick
Timer heartbeat identifier

Traits§

Entry
Interface for data logging types
OperatorLeftRight
Marker to allow the UID data to be either left or right added or substracted with the Operator client
Quote
Read
Client input data reader interface
Size
Interface for IO data sizes
TimerMarker
Timer marker trait
UniqueIdentifier
Defines the data type associated with unique identifier data type
Units
Units conversion marker trait for clients
Update
Actor client state update interface
Who
Write
Client output data writer interface
WriteFlatten
Marker trait for clients implementing Write<Flatten<U>>

Functions§

print_info
Pretty prints error message
trim_type_name

Type Aliases§

Assoc

Derive Macros§

UID