caret_analyze.value_objects.publisher module

class caret_analyze.value_objects.publisher.PublisherStructValue(node_name: str, topic_name: str, callback_values: tuple[CallbackStructValue, ...] | None, construction_order: int)

Bases: ValueObject, Summarizable

Structured publisher value.

property callback_names: tuple[str, ...] | None

Get callback names.

Returns

tuple[str, …] | None

Callback names.

property callbacks: tuple[CallbackStructValue, ...] | None

Get callbacks.

Returns

tuple[CallbackStructValue, …] | None

Callbacks.

property construction_order: int

Get construction order.

Returns

int

Construction order.

property node_name: str

Get node name.

Returns

str

Node name.

property summary: Summary

Get summary.

Returns

Summary

Summary.

property topic_name: str

Get topic name.

Returns

str

Topic name.

class caret_analyze.value_objects.publisher.PublisherValue(topic_name: str, node_name: str, node_id: str, callback_ids: tuple[str, ...] | None, construction_order: int)

Bases: ValueObject

Publisher value.

property callback_ids: tuple[str, ...] | None

Get callback ids.

Returns

tuple[str, …]

Callback ids.

property construction_order: int

Get construction order.

Returns

int

Construction order.

property node_id: str

Get node id.

Returns

str

Node id.

property node_name: str

Get node name.

Returns

str

Node id.

property topic_name: str

Get topic name.

Returns

str

Topic name.