Ecal Lifecycle

The Ecal struct manages initialization and finalization of the eCAL system.

Example

use rustecal::Ecal;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    Ecal::initialize(Some("my ecal app"), EcalComponents::DEFAULT)?;

    // use publishers, subscribers, clients, server

    Ecal::finalize();
    Ok(())
}