Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZettaScaleLabs/hiroz
/ functions
Functions
3,252 in github.com/ZettaScaleLabs/hiroz
⨍
Functions
3,252
◇
Types & classes
1,045
↓ 6 callers
Method
values
Get the internal values vector (for serialization).
crates/hiroz/src/dynamic/message.rs:183
↓ 6 callers
Function
wait_for_count
Poll the received-buffer length until it reaches `expected` or `timeout` elapses. Returns the final length.
crates/hiroz/tests/pubsub_qos.rs:742
↓ 6 callers
Method
with_threshold
Set the message size threshold for using SHM. Messages with serialized size >= this threshold will use SHM. Messages smaller will use regular memory
crates/hiroz/src/shm.rs:164
↓ 6 callers
Method
write_bool
(&mut self, v: bool)
crates/hiroz-cdr/src/primitives.rs:65
↓ 6 callers
Method
write_f64
(&mut self, v: f64)
crates/hiroz-cdr/src/primitives.rs:136
↓ 6 callers
Method
write_sequence_length
(&mut self, len: usize)
crates/hiroz-cdr/src/primitives.rs:161
↓ 5 callers
Method
CreateActionServer
CreateActionServer creates a new action server builder
crates/hiroz-go/hiroz/action.go:265
↓ 5 callers
Method
CreateServiceServer
CreateServiceServer creates a new service server builder
crates/hiroz-go/hiroz/service.go:73
↓ 5 callers
Method
DeserializeCDR
(data []byte)
crates/hiroz-go/testdata/add_two_ints_srv.go:31
↓ 5 callers
Method
Message
Message returns the error message without the code
crates/hiroz-go/hiroz/error.go:85
↓ 5 callers
Method
Publish
Publish publishes a message
crates/hiroz-go/hiroz/publisher.go:70
↓ 5 callers
Method
PublishFeedback
PublishFeedback publishes feedback for the goal
crates/hiroz-go/hiroz/action.go:423
↓ 5 callers
Function
QosDurationInfinite
QosDurationInfinite returns an infinite duration (the default for QoS time constraints). The encoding follows the ROS 2 / DDS convention for "infinit
crates/hiroz-go/hiroz/qos.go:66
↓ 5 callers
Method
TypeHash
TypeHash returns the ROS 2 type hash (RIHS01 format)
crates/hiroz-go/hiroz/types.go:9
↓ 5 callers
Method
add_local_entity
Add a local entity to the graph for immediate discovery This is used to make local publishers/subscriptions/services/clients immediately visible in gr
crates/hiroz/src/graph.rs:674
↓ 5 callers
Method
advance
(&self, delta: ZDuration)
crates/hiroz/src/time.rs:215
↓ 5 callers
Method
build
(self)
crates/hiroz/src/context.rs:471
↓ 5 callers
Method
build
(self)
crates/hiroz/src/lifecycle/node.rs:227
↓ 5 callers
Method
build_config
Build the Zenoh config. Also available via the [`Builder`](crate::Builder) trait.
crates/hiroz/src/config.rs:589
↓ 5 callers
Method
cancel
Request cancellation of this goal.
crates/hiroz-py/src/action.rs:352
↓ 5 callers
Method
cancel
Requests cancellation of this goal. # Returns The cancellation response from the server.
crates/hiroz/src/action/client.rs:598
↓ 5 callers
Function
common_overrides
Common overrides shared between router and session configs (10 settings)
crates/hiroz/src/config.rs:139
↓ 5 callers
Method
create_dyn_sub_auto
Create a dynamic subscriber with automatic schema discovery. This method queries publishers on the topic for their type description and returns a rea
crates/hiroz/src/node.rs:1126
↓ 5 callers
Function
create_point_schema
Create a Point schema matching geometry_msgs/msg/Point
crates/hiroz/src/dynamic/tests/interop_tests.rs:17
↓ 5 callers
Method
declare_parameter
( &self, name: &str, default: ParameterValue, descriptor: ParameterDescriptor,
crates/hiroz/src/parameter/service.rs:103
↓ 5 callers
Function
encode_reply
( query: &Query, resp: &T, )
crates/hiroz/src/lifecycle/node.rs:407
↓ 5 callers
Method
expire_goals
Expires goals that have passed their expiration time. This method checks all goals with `expires_at` timestamps and removes: - Accepted/Executing goa
crates/hiroz/src/action/server.rs:744
↓ 5 callers
Function
fast_bytes
(value: &T)
crates/hiroz/src/msg.rs:934
↓ 5 callers
Method
field_path_indices
Get field path indices for dot notation (e.g., "linear.x"). Returns a vector of field indices for navigating nested messages.
crates/hiroz/src/dynamic/schema.rs:179
↓ 5 callers
Function
generate_base_type_tokens_with_context
Generate base type tokens (with external type support)
crates/hiroz-codegen/src/generator/rust.rs:888
↓ 5 callers
Method
generate_proto_files
Generate .proto files from resolved ROS messages
crates/hiroz-codegen/src/protobuf_generator.rs:21
↓ 5 callers
Method
get_service_names_and_types
(&self)
crates/hiroz/src/graph.rs:959
↓ 5 callers
Method
get_state
Query the current state of the remote lifecycle node.
crates/hiroz/src/lifecycle/client.rs:140
↓ 5 callers
Method
get_topic_names_and_types
Get all topic names and their types. Returns list of (topic_name, type_name) tuples.
crates/hiroz-py/src/graph.rs:16
↓ 5 callers
Method
get_type_info
(&self)
crates/rmw-zenoh-rs/src/type_support.rs:199
↓ 5 callers
Function
is_zbuf_field
Check if a field uses ZBuf (uint8[] or byte[])
crates/hiroz-codegen/src/generator/rust.rs:1360
↓ 5 callers
Function
make_server_and_client
( server_name: &str, client_name: &str, )
crates/hiroz/src/parameter/client.rs:316
↓ 5 callers
Function
msgspec_decode
Decode msgpack bytes to a Python object of the given class using `msgspec.msgpack.decode(bytes, type=cls)`.
crates/hiroz-py/src/action.rs:55
↓ 5 callers
Function
nested_type_desc
Helper to create a TypeDescription with a nested field referencing another type
crates/hiroz-codegen/src/hashing.rs:420
↓ 5 callers
Method
node_exists
Check if a node exists in the graph Returns true if the node exists, false otherwise
crates/hiroz/src/graph.rs:1091
↓ 5 callers
Method
publish
Publish a message. Silently dropped (with one warning) when deactivated.
crates/hiroz/src/lifecycle/publisher.rs:58
↓ 5 callers
Function
python_executable
()
crates/hiroz-tests/tests/common/mod.rs:283
↓ 5 callers
Method
remove_local_entity
Remove a local entity from the graph
crates/hiroz/src/graph.rs:778
↓ 5 callers
Method
saturating_add
(self, duration: ZDuration)
crates/hiroz/src/time.rs:94
↓ 5 callers
Method
schema
Get the dynamic schema used by this publisher. Returns `None` if the publisher was not created with `.with_dyn_schema()`.
crates/hiroz/src/pubsub.rs:614
↓ 5 callers
Method
setStatus
setStatus atomically updates the goal status
crates/hiroz-go/hiroz/action.go:113
↓ 5 callers
Function
setup_test
Helper function to create test setup
crates/hiroz/tests/action/goal_handle.rs:32
↓ 5 callers
Function
setup_test_with_client_server
Helper function to create test setup with client and server
crates/hiroz/tests/action/wait.rs:48
↓ 5 callers
Method
shutdown
Shutdown the context and release all resources
crates/hiroz-py/src/context.rs:226
↓ 5 callers
Function
to_lc_state
(s: State)
crates/hiroz/src/lifecycle/node.rs:427
↓ 5 callers
Function
to_ros2_json
Serialize to ROS2-compatible JSON format ROS2 uses JSON with spaces after colons and commas: `{"key": "value", "key2": 2}` This matches Python's defa
crates/hiroz-schema/src/hash.rs:31
↓ 5 callers
Method
trigger_transition
Trigger a specific lifecycle transition.
crates/hiroz/src/lifecycle/node.rs:128
↓ 5 callers
Function
type_description_msg_to_schema
Convert a TypeDescriptionMsg back to a MessageSchema.
crates/hiroz/src/dynamic/type_description.rs:237
↓ 5 callers
Method
with_dyn_schema
Set the dynamic message schema for runtime-typed publishers. When a schema is set and the node has a type description service enabled, the schema wil
crates/hiroz/src/pubsub.rs:281
↓ 5 callers
Method
with_shm_enabled
Enable Zenoh shared memory transport with default pool size (48 MiB). SHM transparently accelerates large message transfers between nodes on the same
crates/hiroz-py/src/context.rs:149
↓ 5 callers
Method
write_bytes
(&mut self, bytes: &[u8])
crates/hiroz/src/shm.rs:390
↓ 5 callers
Method
write_i32
(&mut self, v: i32)
crates/hiroz-cdr/src/primitives.rs:96
↓ 4 callers
Method
CreatePublisher
CreatePublisher creates a new publisher builder
crates/hiroz-go/hiroz/node.go:124
↓ 4 callers
Method
SerializeCDR
()
crates/hiroz-go/testdata/pose_msg.go:144
↓ 4 callers
Method
SerializeCDR
()
crates/hiroz-go/testdata/add_two_ints_srv.go:53
↓ 4 callers
Method
SerializeCDR
SerializeCDR serializes the message to CDR format
crates/hiroz-go/testdata/string_msg.go:32
↓ 4 callers
Method
Status
Status returns the current status of the goal
crates/hiroz-go/hiroz/action.go:108
↓ 4 callers
Function
add_two_ints_request_schema
Minimal example_interfaces/srv/AddTwoInts_Request — two int64 fields
crates/hiroz-schema/tests/type_hash.rs:33
↓ 4 callers
Method
as_slice
Get the payload as a byte slice. # Safety The returned slice is valid as long as `self` is alive.
crates/hiroz-py/src/payload_view.rs:73
↓ 4 callers
Function
build_config
Build a Zenoh config from a set of overrides
crates/hiroz/src/config.rs:305
↓ 4 callers
Function
calculate_service_type_hash
Calculate RIHS01 hash for a service (Request + Response + Event) Based on ROS2 RIHS01 specification
crates/hiroz-codegen/src/hashing.rs:32
↓ 4 callers
Method
call
call makes a synchronous service call with a default timeout of DefaultServiceTimeout. The request is serialized via CDR, sent, and the raw response b
crates/hiroz-go/hiroz/service.go:170
↓ 4 callers
Method
call_raw
Send a request and wait for the response with a timeout.
crates/hiroz/src/ffi/service.rs:63
↓ 4 callers
Method
cancel_server
(&self)
crates/hiroz/src/action/server.rs:511
↓ 4 callers
Method
canceled
Mark the goal as canceled with the given result.
crates/hiroz-py/src/action.rs:580
↓ 4 callers
Function
check_python_venv_available
()
crates/hiroz-tests/tests/common/mod.rs:303
↓ 4 callers
Method
clone
(&self)
crates/hiroz/src/action/client.rs:359
↓ 4 callers
Method
create_action_client
Create an action client. `goal_type`, `result_type`, `feedback_type` must be msgspec classes with `__msgtype__` and `__hash__` attributes (from `hiro
crates/hiroz-py/src/node.rs:313
↓ 4 callers
Method
create_client
Create a service client
crates/hiroz-py/src/node.rs:266
↓ 4 callers
Function
create_context
Build a context connected to a Zenoh router. Pass an explicit endpoint (from `--endpoint`) or fall back to `tcp/127.0.0.1:7447`.
crates/hiroz/examples/parameters/common.rs:13
↓ 4 callers
Method
create_dyn_pub
Create a dynamic publisher for the given topic. If this node has a type description service enabled, the schema will be automatically registered, all
crates/hiroz/src/node.rs:1075
↓ 4 callers
Function
create_point_schema
()
crates/hiroz/src/dynamic/tests/serialization_tests.rs:10
↓ 4 callers
Function
create_point_schema
()
crates/hiroz/src/dynamic/tests/pubsub_tests.rs:17
↓ 4 callers
Method
create_raw_service_client
( &self, service: &str, type_name: &str, type_hash: &str, )
crates/hiroz/src/node.rs:657
↓ 4 callers
Method
create_raw_service_server
( &self, service: &str, type_name: &str, type_hash: &str, )
crates/hiroz/src/node.rs:722
↓ 4 callers
Method
create_server
Create a service server
crates/hiroz-py/src/node.rs:426
↓ 4 callers
Function
ctx
()
crates/hiroz-codegen/tests/codegen_snapshot.rs:37
↓ 4 callers
Method
deactivate
Trigger the `deactivate` transition.
crates/hiroz/src/lifecycle/node.rs:109
↓ 4 callers
Function
decode_request
(query: &Query)
crates/hiroz/src/lifecycle/node.rs:388
↓ 4 callers
Function
example_script
(name: &str)
crates/hiroz-tests/tests/common/mod.rs:292
↓ 4 callers
Function
fast_deserialize
(bytes: &[u8])
crates/hiroz/src/msg.rs:938
↓ 4 callers
Function
fieldToGoBaseTypeInPkg
(field FieldDefinition, currentPkg string)
crates/hiroz-codegen-go/generator.go:679
↓ 4 callers
Function
fieldToGoTypeInPkg
(field FieldDefinition, currentPkg string)
crates/hiroz-codegen-go/generator.go:839
↓ 4 callers
Function
format_qos_detail
Format QoS profile for TUI display
crates/hiroz-console/src/app/render/common.rs:35
↓ 4 callers
Function
generate_json5
Build-time JSON5 generator with comments Generates a JSON5 file with inline comments explaining each override. Converts path notation (e.g., "connect
crates/hiroz/src/config.rs:359
↓ 4 callers
Function
generate_user_messages
High-level API for user crates to generate messages from `HIROZ_MSG_PATH`. This function: 1. Discovers user packages from the `HIROZ_MSG_PATH` enviro
crates/hiroz-codegen/src/lib.rs:657
↓ 4 callers
Method
get_entities_by_node
(&self, kind: EndpointKind, node: NodeKey)
crates/hiroz/src/graph.rs:923
↓ 4 callers
Method
get_entities_by_service
( &self, kind: EndpointKind, service_name: impl AsRef<str>, )
crates/hiroz/src/graph.rs:945
↓ 4 callers
Method
get_node_names
Get all node names. Returns list of (name, namespace) tuples.
crates/hiroz-py/src/graph.rs:22
↓ 4 callers
Method
get_node_names
Get all node names and namespaces discovered in the graph Returns a vector of tuples (node_name, node_namespace)
crates/hiroz/src/graph.rs:1104
↓ 4 callers
Function
get_resolved
(msgs: &'a [ResolvedMessage], name: &str)
crates/hiroz-codegen/tests/codegen_snapshot.rs:48
↓ 4 callers
Function
init
()
crates/hiroz/examples/parameters/common.rs:6
↓ 4 callers
Method
into_zbuf
Convert the writer into a ZBuf containing the serialized data. This consumes the writer and returns a ZBuf backed by the SHM buffer. Only the written
crates/hiroz/src/shm.rs:377
↓ 4 callers
Method
is_empty
Check if any rules are defined
crates/hiroz/src/context.rs:69
↓ 4 callers
Function
is_valid_topic_component
Validate that a topic name component (between slashes) is valid Components must start with a letter or underscore, followed by alphanumeric or undersc
crates/hiroz/src/topic_name.rs:38
← previous
next →
301–400 of 3,252, ranked by callers