|
Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
|
Explicit owner progress diagnostics without default state. More...
#include "nexus/components/bus_owner.h"Go to the source code of this file.
Data Structures | |
| struct | nx_owner_observation_t |
| Copied service facts without request, payload or slot references. More... | |
| struct | nx_owner_observer_t |
| Opt-in caller sidecar; no pointer added to default owner. More... | |
Functions | |
| nx_result_t | nx_owner_observer_bind (nx_owner_observer_t *observer, nx_bus_owner_t *owner) |
| Bind an initialized exact owner without creating work. | |
| nx_result_t | nx_owner_observer_service (nx_owner_observer_t *observer, nx_time_us_t now, nx_owner_observation_t *out) |
| Execute exactly one real service step and copy diagnostics. | |
| void | nx_owner_observer_detach (nx_owner_observer_t *observer) |
| Drop only the observation binding, no owner/loan teardown. | |
Explicit owner progress diagnostics without default state.
Definition in file owner_observer.h.
| nx_result_t nx_owner_observer_bind | ( | nx_owner_observer_t * | observer, |
| nx_bus_owner_t * | owner ) |
Bind an initialized exact owner without creating work.
| [in,out] | observer | Fresh zero/detached sidecar, distinct from owner. |
| [in,out] | owner | Initialized stable owner, no concurrent lifecycle. |
| void nx_owner_observer_detach | ( | nx_owner_observer_t * | observer | ) |
Drop only the observation binding, no owner/loan teardown.
| [in,out] | observer | Caller-serialized sidecar, no remaining readers. |
| nx_result_t nx_owner_observer_service | ( | nx_owner_observer_t * | observer, |
| nx_time_us_t | now, | ||
| nx_owner_observation_t * | out ) |
Execute exactly one real service step and copy diagnostics.
| [in,out] | observer | Bound sidecar on the unique executor. |
| [in] | now | Monotonic timestamp, independent of service result. |
| [out] | out | Distinct stable output, no retained references. |