Skip to main content

representatives

Function representatives 

Source
pub fn representatives() -> Vec<Box<dyn BACnetObject>>
Expand description

One object of every standard type this crate implements, in object type order: every type from Analog Input (0) to Color Temperature (64) except those in EXCLUDED_TYPES.

Each object has instance 1 and a name unique within the list, so the whole list fits one ObjectDatabase. The Device is built from its default configuration. The Staging object starts with Present_Stage uninitialized, as a new one does; a server initializes it at startup.

The list counts constructible types. It is not a statement about interoperability or about which services reach each type.

§Panics

Never in practice: each construction uses fixed arguments that the crate’s tests build. A panic here is a bug in this function.