MCPcopy Create free account

hub / github.com/ZettaScaleLabs/hiroz / functions

Functions3,252 in github.com/ZettaScaleLabs/hiroz

↓ 723 callersMethodclone
(&self)
crates/hiroz/src/action/server.rs:480
↓ 406 callersMethodbuild
Build the ShmProvider. Creates a POSIX shared memory provider with the configured size. # Errors Returns an error if the SHM provider cannot be cre
crates/hiroz/src/shm.rs:291
↓ 352 callersMethodP
(format string, args ...interface{})
crates/hiroz-codegen-go/generator.go:16
↓ 341 callersMethodfield
Get field by name.
crates/hiroz/src/dynamic/schema.rs:167
↓ 231 callersMethoditer
Iterate over all fields with their names and values.
crates/hiroz/src/dynamic/message.rs:193
↓ 221 callersMethodbuild
Build the node
crates/hiroz-py/src/node.rs:132
↓ 156 callersMethodas_ref
(&self)
crates/rmw-zenoh-rs/src/type_support.rs:100
↓ 132 callersMethodpush
(&mut self, byte: u8)
crates/hiroz-cdr/src/buffer.rs:58
↓ 131 callersMethodcreate_node
Call `.build()` on the returned [`ZNodeBuilder`](crate::node::ZNodeBuilder) to produce the node. Requires `use hiroz::Builder;` in scope.
crates/hiroz/src/context.rs:637
↓ 112 callersMethodinsert
(&mut self, stamp: SystemTime, msg: T)
crates/hiroz/src/cache.rs:100
↓ 105 callersMethodClose
Close destroys the node. Owned callback subscribers are closed first so their Zenoh subscriptions are undeclared before the node handle is destroyed,
crates/hiroz-go/hiroz/node.go:143
↓ 104 callersMethodcreate_node
Create a node builder
crates/hiroz-py/src/context.rs:231
↓ 104 callersMethodlen
(&self)
crates/hiroz-cdr/src/buffer.rs:63
↓ 102 callersMethodas_str
Try to extract as a string reference.
crates/hiroz/src/dynamic/value.rs:69
↓ 94 callersMethodBuild
Build creates the node
crates/hiroz-go/hiroz/node.go:49
↓ 94 callersMethodbuild
Build the message schema.
crates/hiroz/src/dynamic/schema.rs:284
↓ 91 callersMethodlen
Number of messages currently in the cache.
crates/hiroz/src/cache.rs:243
↓ 88 callersMethodset
Set field value by name. Supports dot notation for nested fields (e.g., "linear.x").
crates/hiroz/src/dynamic/message.rs:132
↓ 87 callersMethodError
Error implements the error interface. Format: "hiroz error N: message"
crates/hiroz-go/hiroz/error.go:75
↓ 84 callersMethodget
Get the value of a parameter.
crates/hiroz/src/parameter/store.rs:89
↓ 81 callersMethodpush
Push an item to the queue, dropping the OLDEST if at capacity. Returns `true` if an item was dropped, `false` otherwise.
crates/hiroz/src/queue.rs:42
↓ 78 callersMethodis_empty
Check if buffer is empty.
crates/hiroz-cdr/src/buffer.rs:20
↓ 76 callersMethodparse
(&mut self)
crates/hiroz/src/graph.rs:176
↓ 74 callersMethodto_rihs_string
Convert type hash to RIHS01 string format
crates/hiroz-schema/src/lib.rs:29
↓ 72 callersMethodcontains
Check if a type is registered.
crates/hiroz/src/dynamic/registry.rs:50
↓ 68 callersMethodgraph
Get a reference to the graph for this node.
crates/hiroz/src/node.rs:933
↓ 67 callersFunctioncreate_hiroz_context_with_router
( router: &TestRouter, )
crates/hiroz-tests/tests/common/mod.rs:168
↓ 63 callersMethodset
Set a parameter value. Must be validated first.
crates/hiroz/src/parameter/store.rs:145
↓ 63 callersMethodwait
(&self, timeout: &rmw_time_t)
crates/rmw-zenoh-rs/src/wait_set.rs:27
↓ 61 callersMethodendpoint
Get the endpoint string for this router
crates/hiroz-tests/tests/common/mod.rs:151
↓ 59 callersMethodis_empty
`true` if the cache holds no messages.
crates/hiroz/src/cache.rs:248
↓ 52 callersMethodread
Read-only access to goal state.
crates/hiroz/src/action/state.rs:56
↓ 48 callersMethodborrow_data
(self)
crates/rmw-zenoh-rs/src/traits.rs:128
↓ 47 callersFunctioncheck_impl_id_ret
Check implementation_identifier and return the appropriate error code. Returns RMW_RET_OK if it matches, RMW_RET_INVALID_ARGUMENT if NULL, or RMW_RET_
crates/rmw-zenoh-rs/src/context.rs:14
↓ 45 callersFunctioncstr_to_str
Convert C string to Rust &str safely
crates/hiroz/src/ffi/mod.rs:39
↓ 45 callersMethodpublish
(&self, msg: &T)
crates/hiroz/src/pubsub.rs:460
↓ 44 callersMethodcount
(&self, kind: EndpointKind, name: impl AsRef<str>)
crates/hiroz/src/graph.rs:861
↓ 44 callersMethodsleep
(&self, duration: impl Into<ZDuration>)
crates/hiroz/src/time.rs:262
↓ 42 callersMethodlen
Number of registered schemas.
crates/hiroz/src/dynamic/registry.rs:60
↓ 41 callersFunctioncalculate_hash
Calculate RIHS01 hash for a TypeDescriptionMsg This computes the SHA-256 hash of the JSON-serialized type description, following the ROS 2 RIHS01 spe
crates/hiroz-schema/src/hash.rs:15
↓ 40 callersMethodIn
()
crates/hiroz-codegen-go/generator.go:24
↓ 40 callersMethodOut
()
crates/hiroz-codegen-go/generator.go:25
↓ 40 callersMethodwith_qos
Apply a QoS profile to the underlying subscriber.
crates/hiroz/src/cache.rs:305
↓ 39 callersMethodpublish
(&self, data: ZBytes)
crates/hiroz-py/src/traits.rs:41
↓ 37 callersFunctioncreate_hiroz_context_with_endpoint
Create a hiroz context configured to connect to a specific endpoint
crates/hiroz-tests/tests/common/mod.rs:175
↓ 37 callersMethodrecv_timeout
Receive with timeout. Returns `Some(item)` if an item was received within the timeout, `None` if the timeout expired.
crates/hiroz/src/queue.rs:70
↓ 35 callersMethodmessage
(&self)
crates/hiroz/src/service.rs:590
↓ 33 callersMethodsend_goal
Sends a goal to the action server. This method sends a goal to the action server and returns a `GoalHandle` that can be used to monitor the goal's pr
crates/hiroz/src/action/client.rs:407
↓ 32 callersMethodCreateNode
CreateNode creates a new node builder
crates/hiroz-go/hiroz/context.go:198
↓ 32 callersMethodextend_from_slice
(&mut self, data: &[u8])
crates/hiroz/src/shm.rs:407
↓ 32 callersFunctionnewHirozError
newHirozError creates a new HirozError with the given code and message. This is an internal constructor; callers outside the package use errors.Is wit
crates/hiroz-go/hiroz/error.go:92
↓ 31 callersMethodbuild_with_callback
Build a subscriber with a callback that processes deserialized messages directly. This method creates a subscriber that invokes the provided callback
crates/hiroz/src/pubsub.rs:895
↓ 30 callersMethodcall_with_timeout
Call the service and fail if no reply arrives before `timeout` elapses.
crates/hiroz/src/service.rs:215
↓ 30 callersMethodto_protocol_qos
Convert to hiroz-protocol's QosProfile for key expression generation
crates/hiroz/src/qos.rs:172
↓ 28 callersFunctionwait_for_ready
(duration: Duration)
crates/hiroz-tests/tests/common/mod.rs:190
↓ 27 callersMethodresult
Consumes the Active handle to prevent reuse. Waits for the goal to reach a terminal state, fetches the result, and cleans up the goal from the board.
crates/hiroz/src/action/client.rs:610
↓ 27 callersMethodtake
(&self, ros_message: *mut std::os::raw::c_void, taken: *mut bool)
crates/rmw-zenoh-rs/src/pubsub.rs:74
↓ 26 callersFunctionrmw_set_error_string
(error_string: *const std::os::raw::c_char)
crates/rmw-zenoh-rs/src/context.rs:38
↓ 24 callersMethodexecute
Begin executing this goal and transition to the "Executing" state. This updates the server state to executing and publishes a status update.
crates/hiroz/src/action/server.rs:975
↓ 24 callersFunctionmake_msg
(s: &str)
crates/hiroz-tests/tests/cache.rs:28
↓ 23 callersMethodEndpoint
Endpoint returns the router endpoint
crates/hiroz-go/interop_tests/common_test.go:80
↓ 23 callersMethodresolve_messages
Resolve a list of messages, calculating their type hashes and dependencies
crates/hiroz-codegen/src/resolver.rs:50
↓ 22 callersMethodaccept
Accept this goal and transition to the "Accepted" state. This sends an acceptance response to the client and updates the server state.
crates/hiroz/src/action/server.rs:890
↓ 22 callersMethodgoal_manager
Access the goal manager for advanced use cases and testing. # Warning This is a low-level API that gives direct access to the goal state. Use with c
crates/hiroz/src/action/server.rs:538
↓ 22 callersMethodinto_pyerr
(self)
crates/hiroz-py/src/error.rs:17
↓ 22 callersMethodremove
(&mut self, ke: &LivelinessKE)
crates/hiroz/src/graph.rs:139
↓ 22 callersFunctionsetup_test_node
Helper to create a test context and node
crates/hiroz/tests/graph.rs:19
↓ 22 callersMethodwith_connect_endpoints
Convenience method: connect to specific endpoints # Example ``` use hiroz::context::ZContextBuilder; use hiroz::Builder; let ctx = ZContextBuilder::
crates/hiroz/src/context.rs:175
↓ 21 callersMethodDisableMulticastScouting
DisableMulticastScouting disables multicast scouting (useful in Docker/cloud)
crates/hiroz-go/hiroz/context.go:78
↓ 21 callersMethodWithConnectEndpoints
WithConnectEndpoints sets Zenoh connect endpoints
crates/hiroz-go/hiroz/context.go:71
↓ 21 callersMethoddeclare_parameter
Declare a parameter with a default value and descriptor. Returns the actual initial value (which may differ from `default` if an override was set via
crates/hiroz/src/node.rs:982
↓ 21 callersMethodrecv_goal
(&self)
crates/hiroz/src/action/server.rs:575
↓ 20 callersMethodalign
(&mut self, alignment: usize)
crates/hiroz-cdr/src/primitives.rs:47
↓ 20 callersFunctionpublish_n
Publish `msgs` from a separate pub context on `topic`, waiting for the cache to be ready first. Returns when all messages have been published.
crates/hiroz-tests/tests/cache.rs:34
↓ 20 callersMethodsucceed
Mark this goal as succeeded with the given result. This transitions the goal to a terminal state and consumes the handle.
crates/hiroz/src/action/server.rs:1121
↓ 19 callersFunctionentity_get_endpoint
Get the endpoint entity if this is an endpoint
crates/hiroz/src/entity.rs:101
↓ 19 callersMethodextend_from_slice
(&mut self, data: &[u8])
crates/hiroz-cdr/src/buffer.rs:53
↓ 19 callersMethodget_entities_by_topic
( &self, kind: EndpointKind, topic: impl AsRef<str>, )
crates/hiroz/src/graph.rs:909
↓ 19 callersFunctionparse_liveliness
(ke_str: &str)
crates/hiroz-protocol/tests/key_expr.rs:48
↓ 19 callersMethodserialize
Serialize the message to bytes using the specified format.
crates/hiroz/src/dynamic/serialization/mod.rs:32
↓ 18 callersFunctioncheck_ros2_available
()
crates/hiroz-tests/tests/common/mod.rs:246
↓ 18 callersMethodcreate_publisher
( &self, topic: String, msg_type: &Bound<'_, PyAny>, qos: Option<&Bound<'_, Py
crates/hiroz-py/src/node.rs:190
↓ 18 callersMethodduration_since
(self, earlier: ZTime)
crates/hiroz/src/time.rs:106
↓ 18 callersMethodrmw_zenoh_env
(&self)
crates/hiroz-tests/tests/common/mod.rs:158
↓ 18 callersMethodto_cdr
Serialize to CDR format.
crates/hiroz/src/dynamic/serialization/mod.rs:83
↓ 18 callersMethodwrite
(self, data: list[int])
crates/hiroz-py/examples/pingpong.py:37
↓ 17 callersMethodcreate_subscriber
( &mut self, _py: Python, topic: String, msg_type: &Bound<'_, PyAny>,
crates/hiroz-py/src/node.rs:213
↓ 17 callersFunctionmake_node
Create a standalone lifecycle node (no router needed for unit-level tests).
crates/hiroz-tests/tests/lifecycle.rs:30
↓ 17 callersMethodread_bytes
(&mut self, count: usize)
crates/hiroz-cdr/src/primitives.rs:230
↓ 16 callersFunctionget_hash
(resolved: &HashMap<String, ResolvedMessage>, type_name: &str)
crates/hiroz-codegen/tests/hash_regression.rs:70
↓ 16 callersFunctiongid
(n: u8)
crates/hiroz/src/event.rs:361
↓ 16 callersMethodis_empty
Check if the registry is empty.
crates/hiroz/src/dynamic/registry.rs:65
↓ 16 callersMethodrecv
(&self, py: Python, timeout: Option<f64>)
crates/hiroz-py/src/pubsub.rs:98
↓ 16 callersMethodreply
(mut self, msg: &T::Response)
crates/hiroz/src/service.rs:565
↓ 16 callersMethodsaturating_sub
(self, duration: ZDuration)
crates/hiroz/src/time.rs:100
↓ 15 callersMethodCode
Code returns the FFI error code
crates/hiroz-go/hiroz/error.go:80
↓ 15 callersFunctioncreate_qos
Helper to create a QoS profile
crates/hiroz/tests/pubsub_qos.rs:54
↓ 15 callersMethodinsert
(&mut self, ke: LivelinessKE)
crates/hiroz/src/graph.rs:130
↓ 15 callersMethodrecv
Blocking receive - waits until an item is available.
crates/hiroz/src/queue.rs:57
↓ 15 callersFunctionstartZenohRouter
startZenohRouter starts a Zenoh router on a random port. Uses zenohd if available, falls back to the project's zenoh_router example.
crates/hiroz-go/interop_tests/common_test.go:26
next →1–100 of 3,252, ranked by callers