eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
1.03k stars 40 forks source link

Expose individual components of UniquePortId in CXX API #516

Open orecham opened 2 days ago

orecham commented 2 days ago

Brief feature description

The UniquePortId is made up of components:

    pub struct UniqueSystemId {
        pid: u32,
        seconds: u32,
        nanoseconds: u32,
        counter: u32,
    }

An API to access these individual elements, in addition to all of the bytes making up the ID, should be added.