Skip to main content

Module status

Module status 

Source
Expand description

Block-F: DDS-Status-Mapping (Spec idl4-cpp-1.0 §7.4 + dds-1.4 §2.2.4.1).

Emittiert die 13 OMG-DCPS-Status-Strukturen als C++17-Header in den Namespace dds::core::status. Die Klassen folgen dem Reference-Pattern aus C5.1-a (private Storage field_, mutable + const Getter, Setter).

Spec-Quellen:

  • DDS-PSM-CXX 1.0 §7.5.5 (Listener / Status / Condition).
  • DDS 1.4 §2.2.4.1 (Communication-Status).

§Liste der 13 Status-Klassen

StatusCounter-Felder
InconsistentTopicStatustotal_count, total_count_change
SampleLostStatustotal_count, total_count_change
SampleRejectedStatustotal_count, total_count_change, last_reason, last_instance_handle
LivelinessChangedStatusalive_count, not_alive_count, alive_count_change, not_alive_count_change, last_publication_handle
RequestedDeadlineMissedStatustotal_count, total_count_change, last_instance_handle
RequestedIncompatibleQosStatustotal_count, total_count_change, last_policy_id, policies
OfferedDeadlineMissedStatustotal_count, total_count_change, last_instance_handle
OfferedIncompatibleQosStatustotal_count, total_count_change, last_policy_id, policies
LivelinessLostStatustotal_count, total_count_change
PublicationMatchedStatustotal_count, total_count_change, current_count, current_count_change, last_subscription_handle
SubscriptionMatchedStatustotal_count, total_count_change, current_count, current_count_change, last_publication_handle
DataAvailableStatus(marker only)
DataOnReadersStatus(marker only)

Die Statusse mit (marker only) sind reine Notification-Marker ohne Counter (Spec DDS 1.4 §2.2.4.1.1.1). Sie werden trotzdem als leere Klassen emittiert, damit Listener-Signaturen einheitlich sind.

Functions§

emit_status_header
Schreibt den vollstaendigen Status-Header in out.
status_class_names
Liefert die Liste aller emittierten Status-Klassen-Namen.