Upgrade to v0.13

In Xronos v0.12, the timing API moved from the reactor to the reaction, and the reactor-level API (together with ReactionInterface) was deprecated. In v0.13 that deprecated API is removed: the symbols below no longer exist, so any remaining use is now a compile error (C++) or an AttributeError / ImportError (Python).

Follow the process described in Upgrade to v0.12 if you have not migrated yet. This page only provides an overview of the removed API and its direct replacement.

Python SDK

Removed

Replacement

xronos.Reactor.get_time()

xronos.ReactionContext.current_time

xronos.Reactor.get_lag()

xronos.ReactionContext.lag

xronos.Reactor.get_time_since_startup()

xronos.ReactionContext.elapsed_time

xronos.ReactionInterface

xronos.ReactionContext

C++ SDK

Removed

Replacement

xronos::sdk::Reactor::get_time()

xronos::sdk::BaseReaction::current_time()

xronos::sdk::Reactor::get_lag()

xronos::sdk::BaseReaction::lag()

xronos::sdk::Reactor::get_time_since_startup()

xronos::sdk::BaseReaction::elapsed_time()

xronos::sdk::BaseReaction::remaining_slack()

xronos::sdk::BaseReaction::slack()

Renamed exceptions

Removed

Replacement

xronos.DuplicateNameError

xronos.InvalidNameError

xronos::sdk::DuplicateNameError

xronos::sdk::InvalidNameError