|
| | Backplane (SignalRegistry< Scalar > ®istry) |
| void | set_context (const std::string &entity, const std::string &component) |
| | Set current component context.
|
| void | set_epoch (const vulcan::time::Epoch< Scalar > *epoch) |
| | Set epoch reference for component binding.
|
| template<typename ComponentType> |
| void | bind_epoch_to (ComponentType &comp) |
| | Bind epoch reference to a component.
|
| void | clear_context () |
| | Clear the current context.
|
| std::string | full_prefix () const |
| | Get full prefix: entity.component (or just component if no entity).
|
| template<typename T> |
| void | register_output (const std::string &local_name, T *data_ptr, const std::string &unit="", const std::string &description="") |
| | Register a scalar output signal.
|
| template<typename S> |
| void | register_output_vec3 (const std::string &local_name, Vec3< S > *data_ptr, const std::string &unit="", const std::string &description="") |
| | Register a Vec3 output signal (expands to .x/.y/.z).
|
| template<typename S> |
| void | register_output_quat (const std::string &local_name, Vec4< S > *data_ptr, const std::string &unit="", const std::string &description="") |
| | Register a quaternion output signal (expands to .w/.x/.y/.z).
|
| template<typename T> |
| void | register_state (const std::string &local_name, T *value, T *derivative, const std::string &unit="", const std::string &description="") |
| | Register a scalar state with its derivative.
|
| template<typename S> |
| void | register_state_vec3 (const std::string &local_name, Vec3< S > *value, Vec3< S > *derivative, const std::string &unit="", const std::string &description="") |
| | Register a Vec3 state with its derivative.
|
| template<typename S> |
| void | register_state_quat (const std::string &local_name, Vec4< S > *value, Vec4< S > *derivative, const std::string &unit="", const std::string &description="") |
| | Register a quaternion state with its derivative.
|
| template<typename T> |
| SignalHandle< T > | resolve (const std::string &full_name) |
| | Resolve a signal by full path.
|
| template<typename S> |
| Vec3Handle< S > | resolve_vec3 (const std::string &full_name) |
| | Resolve a Vec3 signal.
|
| template<typename S> |
| QuatHandle< S > | resolve_quat (const std::string &full_name) |
| | Resolve a quaternion signal.
|
| bool | has_signal (const std::string &full_name) const |
| | Check if a signal exists.
|
| template<typename T> |
| void | register_input (const std::string &local_name, InputHandle< T > *handle, const std::string &units="", const std::string &description="") |
| | Register an input port.
|
| void | register_param (const std::string &local_name, Scalar *storage, Scalar initial_value, const std::string &units="", const std::string &description="") |
| | Register a Scalar parameter (optimizable).
|
| void | register_config (const std::string &local_name, int *storage, int initial_value, const std::string &description="") |
| | Register an int config value.
|
| void | register_config (const std::string &local_name, bool *storage, bool initial_value, const std::string &description="") |
| | Register a bool config value.
|
| template<typename T> |
| void | wire_input (const std::string &input_name, const std::string &source_name) |
| | Wire an input to a source signal.
|
| template<typename T> |
| void | declare_output (const std::string &local_name, T *data_ptr, const std::string &unit="", const std::string &description="") |
| | Declare an output port (Phase 4.0 semantic alias for register_output).
|
| template<typename S> |
| void | declare_output_vec3 (const std::string &local_name, Vec3< S > *data_ptr, const std::string &unit="", const std::string &description="") |
| | Declare a Vec3 output port.
|
| template<typename T> |
| void | declare_input (const std::string &local_name, InputHandle< T > *handle, const std::string &unit="", const std::string &description="") |
| | Declare an input port (Phase 4.0 semantic alias for register_input).
|
| template<typename T> |
| void | WireWithGain (const std::string &input_path, const std::string &output_path, double gain=1.0) |
| | Wire an input to a source with a gain factor.
|
| void | WireWithGain (const std::string &input_path, const std::string &output_path, double gain=1.0) |
| | Wire with gain (type-erased version for SignalRouter).
|
| bool | HasOutput (const std::string &full_name) const |
| | Check if an output signal exists.
|
| bool | HasInput (const std::string &full_name) const |
| | Check if an input port exists.
|
| std::vector< std::string > | GetDeclaredInputs () const |
| | Get all declared input paths.
|
| std::vector< std::string > | GetDeclaredOutputs () const |
| | Get all declared output paths.
|
| const std::vector< std::string > & | registered_outputs () const |
| | Get outputs registered by current component.
|
| const std::vector< std::string > & | registered_inputs () const |
| | Get inputs registered by current component (Phase 2.4).
|
| const std::vector< std::string > & | resolved_inputs () const |
| | Get legacy resolved inputs by current component.
|
| const std::vector< std::string > & | registered_params () const |
| | Get parameters registered by current component (Phase 2.4).
|
| const std::vector< std::string > & | registered_config () const |
| | Get config registered by current component (Phase 2.4).
|
| void | clear_tracking () |
| | Clear tracking for next component.
|
| SignalRegistry< Scalar > & | registry () |
| const SignalRegistry< Scalar > & | registry () const |
template<typename Scalar>
class icarus::Backplane< Scalar >
Component-facing facade for signal registration and resolution.
Backplane adds:
- Automatic full name generation (entity.component.signal)
- Context tracking for dependency discovery
- Cleaner API for component authors
- Template Parameters
-
| Scalar | The numeric type (double or casadi::MX) |