zerodds-corba-ccm 1.0.0-rc.5

OMG CCM 4.0 — Component Container, CIF, CIDL model, TimerEventService. Migration path for legacy CORBA code onto the ZeroDDS bus.
Documentation

zerodds-corba-ccm

License: Apache-2.0 docs.rs

OMG CORBA Component Model 4.0 (CCM, formal/2006-04-01) §6 Component Model + §7 Container Programming Model + §13 Lightweight Profile. Full stack with CIDL data model, CIF (Component Implementation Framework), Component/Home model, container runtime, ORB extensions, Persistent State Service stub, Time PSM, and TimerEventService including a CosEventService adapter (feature cos-event). no_std + alloc, forbid(unsafe_code). Safety classification: STANDARD.

Spec mapping

Spec Section
OMG CCM 4.0 §6 (Component Model), §7 (Container)
OMG CCM 4.0 §13 (Lightweight CCM Profile)
OMG CORBA 3.3 Part 3 §6.13 (CCM conformance), §7 (Generic Interaction), §14 (LwCCM)
OMG Time Service 1.1 §2.2 (TimerEventService)

What's included

  • CIDL data modelComposition, HomeExecutor, StorageHome, StorageType.
  • CIFComponentExecutor, ExecutorLocator, KeyedExecutor, SessionExecutor.
  • Component modelComponentDef, HomeDef, AttributeDef, FacetDef, ReceptacleDef, EventSinkDef, EventSourceDef.
  • Container runtime (feature std) — Container, LifecycleState, TimerEventService, pss::*, orb_core::Orb.
  • CosEventService bridge (feature cos-event) — EventChannelTimerCallback: a CosEventComm::PushConsumer is wired in as a TimerEventHandler (spec §2.2.4).
  • Conformance markers — for tooling capability detection.

What's not covered

  • ORB vendor wire stack: lives in corba-iiop / corba-giop.
  • D&C plan loader: belongs in corba-dnc.
  • Java Bean bridge: belongs in corba-ccm-ejb.

Example

use zerodds_corba_ccm::conformance::CCM_CONFORMANCE_BASIC_LEVEL;
assert_eq!(CCM_CONFORMANCE_BASIC_LEVEL, "OMG-CCM-4.0:Basic");

Tests

cargo test -p zerodds-corba-ccm

See also