Skip to main content

std_device_supports

Function std_device_supports 

Source
pub fn std_device_supports() -> Vec<(&'static str, DeviceSupportFactory)>
Expand description

Return all std-module device support factories for bulk registration.

These are the devTimeOfDay.c DTYPs (“Sec Past Epoch” ai, “Time of Day” stringin). They need only the framework’s ProcessContext (PHAS/TSE), no INP, so a static DeviceSupportFactory suffices. Register each onto an IocBuilder / IocApplication / CaServerBuilder via its register_device_support(dtyp, factory) — the boxed factory satisfies the method’s Fn bound — mirroring how std_record_factories() is injected via register_record_type().