Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Ecal Lifecycle

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

Example

use rustecal::{Ecal, EcalComponents};

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

    // use publishers, subscribers, clients, server

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