Skip to main content

GCPluginConfig

Type Alias GCPluginConfig 

pub type GCPluginConfig = sPluginConfig;
Expand description

@brief Holds the configuration and related functions

This struct holds the configuration of the plugin and the related functions that the plugin can use.

Aliased Type§

#[repr(C)]
pub struct GCPluginConfig { pub pluginJsonConfig: *const sGCJsonCallbacks, pub ownDatapoints: *const sGCDatapoint, pub ownDatapointsCount: u64, pub subscribedDatapoints: *const sGCDatapoint, pub subscribedDatapointsCount: u64, }

Fields§

§pluginJsonConfig: *const sGCJsonCallbacks

Structure containing the configuration specific to this plugin and respective callbacks

§ownDatapoints: *const sGCDatapoint

An array with size @ref ownDatapointsCount that contains information about each datapoint where the plugin is allowed to publish. This will be all the datapoints, where the current instance was set as a publisher in the configuration.

§ownDatapointsCount: u64§subscribedDatapoints: *const sGCDatapoint

An array with size @ref subscribedDatapointsCount that contains information about each datapoint where the plugin is subscribed to. This will be all the datapoints, where the current instance was set as a subscriber in the configuration.

§subscribedDatapointsCount: u64