MCPcopy Create free account

hub / github.com/ZettaScaleLabs/hiroz / functions

Functions3,252 in github.com/ZettaScaleLabs/hiroz

↓ 6 callersMethodvalues
Get the internal values vector (for serialization).
crates/hiroz/src/dynamic/message.rs:183
↓ 6 callersFunctionwait_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 callersMethodwith_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 callersMethodwrite_bool
(&mut self, v: bool)
crates/hiroz-cdr/src/primitives.rs:65
↓ 6 callersMethodwrite_f64
(&mut self, v: f64)
crates/hiroz-cdr/src/primitives.rs:136
↓ 6 callersMethodwrite_sequence_length
(&mut self, len: usize)
crates/hiroz-cdr/src/primitives.rs:161
↓ 5 callersMethodCreateActionServer
CreateActionServer creates a new action server builder
crates/hiroz-go/hiroz/action.go:265
↓ 5 callersMethodCreateServiceServer
CreateServiceServer creates a new service server builder
crates/hiroz-go/hiroz/service.go:73
↓ 5 callersMethodDeserializeCDR
(data []byte)
crates/hiroz-go/testdata/add_two_ints_srv.go:31
↓ 5 callersMethodMessage
Message returns the error message without the code
crates/hiroz-go/hiroz/error.go:85
↓ 5 callersMethodPublish
Publish publishes a message
crates/hiroz-go/hiroz/publisher.go:70
↓ 5 callersMethodPublishFeedback
PublishFeedback publishes feedback for the goal
crates/hiroz-go/hiroz/action.go:423
↓ 5 callersFunctionQosDurationInfinite
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 callersMethodTypeHash
TypeHash returns the ROS 2 type hash (RIHS01 format)
crates/hiroz-go/hiroz/types.go:9
↓ 5 callersMethodadd_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 callersMethodadvance
(&self, delta: ZDuration)
crates/hiroz/src/time.rs:215
↓ 5 callersMethodbuild
(self)
crates/hiroz/src/context.rs:471
↓ 5 callersMethodbuild
(self)
crates/hiroz/src/lifecycle/node.rs:227
↓ 5 callersMethodbuild_config
Build the Zenoh config. Also available via the [`Builder`](crate::Builder) trait.
crates/hiroz/src/config.rs:589
↓ 5 callersMethodcancel
Request cancellation of this goal.
crates/hiroz-py/src/action.rs:352
↓ 5 callersMethodcancel
Requests cancellation of this goal. # Returns The cancellation response from the server.
crates/hiroz/src/action/client.rs:598
↓ 5 callersFunctioncommon_overrides
Common overrides shared between router and session configs (10 settings)
crates/hiroz/src/config.rs:139
↓ 5 callersMethodcreate_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 callersFunctioncreate_point_schema
Create a Point schema matching geometry_msgs/msg/Point
crates/hiroz/src/dynamic/tests/interop_tests.rs:17
↓ 5 callersMethoddeclare_parameter
( &self, name: &str, default: ParameterValue, descriptor: ParameterDescriptor,
crates/hiroz/src/parameter/service.rs:103
↓ 5 callersFunctionencode_reply
( query: &Query, resp: &T, )
crates/hiroz/src/lifecycle/node.rs:407
↓ 5 callersMethodexpire_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 callersFunctionfast_bytes
(value: &T)
crates/hiroz/src/msg.rs:934
↓ 5 callersMethodfield_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 callersFunctiongenerate_base_type_tokens_with_context
Generate base type tokens (with external type support)
crates/hiroz-codegen/src/generator/rust.rs:888
↓ 5 callersMethodgenerate_proto_files
Generate .proto files from resolved ROS messages
crates/hiroz-codegen/src/protobuf_generator.rs:21
↓ 5 callersMethodget_service_names_and_types
(&self)
crates/hiroz/src/graph.rs:959
↓ 5 callersMethodget_state
Query the current state of the remote lifecycle node.
crates/hiroz/src/lifecycle/client.rs:140
↓ 5 callersMethodget_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 callersMethodget_type_info
(&self)
crates/rmw-zenoh-rs/src/type_support.rs:199
↓ 5 callersFunctionis_zbuf_field
Check if a field uses ZBuf (uint8[] or byte[])
crates/hiroz-codegen/src/generator/rust.rs:1360
↓ 5 callersFunctionmake_server_and_client
( server_name: &str, client_name: &str, )
crates/hiroz/src/parameter/client.rs:316
↓ 5 callersFunctionmsgspec_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 callersFunctionnested_type_desc
Helper to create a TypeDescription with a nested field referencing another type
crates/hiroz-codegen/src/hashing.rs:420
↓ 5 callersMethodnode_exists
Check if a node exists in the graph Returns true if the node exists, false otherwise
crates/hiroz/src/graph.rs:1091
↓ 5 callersMethodpublish
Publish a message. Silently dropped (with one warning) when deactivated.
crates/hiroz/src/lifecycle/publisher.rs:58
↓ 5 callersFunctionpython_executable
()
crates/hiroz-tests/tests/common/mod.rs:283
↓ 5 callersMethodremove_local_entity
Remove a local entity from the graph
crates/hiroz/src/graph.rs:778
↓ 5 callersMethodsaturating_add
(self, duration: ZDuration)
crates/hiroz/src/time.rs:94
↓ 5 callersMethodschema
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 callersMethodsetStatus
setStatus atomically updates the goal status
crates/hiroz-go/hiroz/action.go:113
↓ 5 callersFunctionsetup_test
Helper function to create test setup
crates/hiroz/tests/action/goal_handle.rs:32
↓ 5 callersFunctionsetup_test_with_client_server
Helper function to create test setup with client and server
crates/hiroz/tests/action/wait.rs:48
↓ 5 callersMethodshutdown
Shutdown the context and release all resources
crates/hiroz-py/src/context.rs:226
↓ 5 callersFunctionto_lc_state
(s: State)
crates/hiroz/src/lifecycle/node.rs:427
↓ 5 callersFunctionto_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 callersMethodtrigger_transition
Trigger a specific lifecycle transition.
crates/hiroz/src/lifecycle/node.rs:128
↓ 5 callersFunctiontype_description_msg_to_schema
Convert a TypeDescriptionMsg back to a MessageSchema.
crates/hiroz/src/dynamic/type_description.rs:237
↓ 5 callersMethodwith_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 callersMethodwith_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 callersMethodwrite_bytes
(&mut self, bytes: &[u8])
crates/hiroz/src/shm.rs:390
↓ 5 callersMethodwrite_i32
(&mut self, v: i32)
crates/hiroz-cdr/src/primitives.rs:96
↓ 4 callersMethodCreatePublisher
CreatePublisher creates a new publisher builder
crates/hiroz-go/hiroz/node.go:124
↓ 4 callersMethodSerializeCDR
()
crates/hiroz-go/testdata/pose_msg.go:144
↓ 4 callersMethodSerializeCDR
()
crates/hiroz-go/testdata/add_two_ints_srv.go:53
↓ 4 callersMethodSerializeCDR
SerializeCDR serializes the message to CDR format
crates/hiroz-go/testdata/string_msg.go:32
↓ 4 callersMethodStatus
Status returns the current status of the goal
crates/hiroz-go/hiroz/action.go:108
↓ 4 callersFunctionadd_two_ints_request_schema
Minimal example_interfaces/srv/AddTwoInts_Request — two int64 fields
crates/hiroz-schema/tests/type_hash.rs:33
↓ 4 callersMethodas_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 callersFunctionbuild_config
Build a Zenoh config from a set of overrides
crates/hiroz/src/config.rs:305
↓ 4 callersFunctioncalculate_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 callersMethodcall
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 callersMethodcall_raw
Send a request and wait for the response with a timeout.
crates/hiroz/src/ffi/service.rs:63
↓ 4 callersMethodcancel_server
(&self)
crates/hiroz/src/action/server.rs:511
↓ 4 callersMethodcanceled
Mark the goal as canceled with the given result.
crates/hiroz-py/src/action.rs:580
↓ 4 callersFunctioncheck_python_venv_available
()
crates/hiroz-tests/tests/common/mod.rs:303
↓ 4 callersMethodclone
(&self)
crates/hiroz/src/action/client.rs:359
↓ 4 callersMethodcreate_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 callersMethodcreate_client
Create a service client
crates/hiroz-py/src/node.rs:266
↓ 4 callersFunctioncreate_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 callersMethodcreate_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 callersFunctioncreate_point_schema
()
crates/hiroz/src/dynamic/tests/serialization_tests.rs:10
↓ 4 callersFunctioncreate_point_schema
()
crates/hiroz/src/dynamic/tests/pubsub_tests.rs:17
↓ 4 callersMethodcreate_raw_service_client
( &self, service: &str, type_name: &str, type_hash: &str, )
crates/hiroz/src/node.rs:657
↓ 4 callersMethodcreate_raw_service_server
( &self, service: &str, type_name: &str, type_hash: &str, )
crates/hiroz/src/node.rs:722
↓ 4 callersMethodcreate_server
Create a service server
crates/hiroz-py/src/node.rs:426
↓ 4 callersFunctionctx
()
crates/hiroz-codegen/tests/codegen_snapshot.rs:37
↓ 4 callersMethoddeactivate
Trigger the `deactivate` transition.
crates/hiroz/src/lifecycle/node.rs:109
↓ 4 callersFunctiondecode_request
(query: &Query)
crates/hiroz/src/lifecycle/node.rs:388
↓ 4 callersFunctionexample_script
(name: &str)
crates/hiroz-tests/tests/common/mod.rs:292
↓ 4 callersFunctionfast_deserialize
(bytes: &[u8])
crates/hiroz/src/msg.rs:938
↓ 4 callersFunctionfieldToGoBaseTypeInPkg
(field FieldDefinition, currentPkg string)
crates/hiroz-codegen-go/generator.go:679
↓ 4 callersFunctionfieldToGoTypeInPkg
(field FieldDefinition, currentPkg string)
crates/hiroz-codegen-go/generator.go:839
↓ 4 callersFunctionformat_qos_detail
Format QoS profile for TUI display
crates/hiroz-console/src/app/render/common.rs:35
↓ 4 callersFunctiongenerate_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 callersFunctiongenerate_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 callersMethodget_entities_by_node
(&self, kind: EndpointKind, node: NodeKey)
crates/hiroz/src/graph.rs:923
↓ 4 callersMethodget_entities_by_service
( &self, kind: EndpointKind, service_name: impl AsRef<str>, )
crates/hiroz/src/graph.rs:945
↓ 4 callersMethodget_node_names
Get all node names. Returns list of (name, namespace) tuples.
crates/hiroz-py/src/graph.rs:22
↓ 4 callersMethodget_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 callersFunctionget_resolved
(msgs: &'a [ResolvedMessage], name: &str)
crates/hiroz-codegen/tests/codegen_snapshot.rs:48
↓ 4 callersFunctioninit
()
crates/hiroz/examples/parameters/common.rs:6
↓ 4 callersMethodinto_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 callersMethodis_empty
Check if any rules are defined
crates/hiroz/src/context.rs:69
↓ 4 callersFunctionis_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
← previousnext →301–400 of 3,252, ranked by callers