Skip to main content

agent_doc_element_status/
lib.rs

1//! Status element descriptor.
2
3use agent_doc_element::{
4    ElementAuthority, ElementCompositionRole, ElementDescriptor, ElementRealtimeModel,
5    ElementSchedulingRole, ElementShape, ElementSource, ElementWritePolicy,
6};
7
8pub const DESCRIPTOR: ElementDescriptor = ElementDescriptor {
9    name: "status",
10    aliases: &[],
11    source: ElementSource::BuiltIn,
12    shape: ElementShape::Component,
13    authority: ElementAuthority::DerivedProjection,
14    write_policy: ElementWritePolicy::ProjectionOnly,
15    scheduling_role: ElementSchedulingRole::Status,
16    realtime_model: ElementRealtimeModel::Status,
17    composition_role: ElementCompositionRole::Observer,
18    realtime: true,
19};
20
21pub fn descriptor() -> ElementDescriptor {
22    DESCRIPTOR
23}