Skip to main content

Crate gc_models

Crate gc_models 

Expand description

Represents all the data and common functions to be shared across other modules

It should be used as the main structure to communicate datapoint values within the core.

Structs§

GCDatapointValue
Represents a datapoint value that can be published to the core
GCDatapointValueQuality
The quality of a datapoint value Represents a u16 bit field similar to the IEC 61850 protocol with the following structure:

Enums§

GCDatapointValueType
Possible value types for a datapoint
GCPluginABIError

Statics§

DATAPOINT_ALLOCATOR 🔒

Traits§

GCDatapointSubscriber
A trait required to receive realtime event information from the message broker Any subscriber must implement implement this trait in order to be registered in the MessageBroker

Functions§

gc_alloc_datapoint
A custom allocator for datapoint values
gc_datapoint_allocator
Returns the global datapoint allocator

Type Aliases§

GCDatapointID
GCSubscriberIdentifier