|
| 1 | +from typing import ClassVar, Dict, List |
| 2 | + |
| 3 | +import datetime |
| 4 | + |
| 5 | +class BagMetadata: |
| 6 | + bag_size: int |
| 7 | + compression_format: str |
| 8 | + compression_mode: str |
| 9 | + custom_data: Dict[str,str] |
| 10 | + duration: object |
| 11 | + files: List[FileInformation] |
| 12 | + message_count: int |
| 13 | + relative_file_paths: List[str] |
| 14 | + ros_distro: str |
| 15 | + starting_time: object |
| 16 | + storage_identifier: str |
| 17 | + topics_with_message_count: List[TopicInformation] |
| 18 | + version: int |
| 19 | + def __init__(self, version: int = ..., bag_size: int = ..., storage_identifier: str = ..., relative_file_paths: List[str] = ..., files: List[FileInformation] = ..., duration: object = ..., starting_time: object = ..., message_count: int = ..., topics_with_message_count: List[TopicInformation] = ..., compression_format: str = ..., compression_mode: str = ..., custom_data: Dict[str,str] = ..., ros_distro: str = ...) -> None: ... |
| 20 | + |
| 21 | +class ConverterOptions: |
| 22 | + input_serialization_format: str |
| 23 | + output_serialization_format: str |
| 24 | + def __init__(self, input_serialization_format: str = ..., output_serialization_format: str = ...) -> None: ... |
| 25 | + |
| 26 | +class Duration: |
| 27 | + def __init__(self, seconds: int, nanoseconds: int) -> None: ... |
| 28 | + |
| 29 | +class FileInformation: |
| 30 | + duration: datetime.timedelta |
| 31 | + message_count: int |
| 32 | + path: str |
| 33 | + starting_time: object |
| 34 | + def __init__(self, path: str, starting_time: object, duration: object, message_count: int) -> None: ... |
| 35 | + |
| 36 | +class MessageDefinition: |
| 37 | + encoded_message_definition: str |
| 38 | + encoding: str |
| 39 | + topic_type: str |
| 40 | + type_hash: str |
| 41 | + def __init__(self, topic_type: str, encoding: str, encoded_message_definition: str, type_hash: str) -> None: ... |
| 42 | + |
| 43 | +class MetadataIo: |
| 44 | + def __init__(self) -> None: ... |
| 45 | + def deserialize_metadata(self, arg0: str) -> BagMetadata: ... |
| 46 | + def metadata_file_exists(self, arg0: str) -> bool: ... |
| 47 | + def read_metadata(self, arg0: str) -> BagMetadata: ... |
| 48 | + def serialize_metadata(self, arg0: BagMetadata) -> str: ... |
| 49 | + def write_metadata(self, arg0: str, arg1: BagMetadata) -> None: ... |
| 50 | + |
| 51 | +class QoS: |
| 52 | + def __init__(self, history_depth: int) -> None: ... |
| 53 | + def avoid_ros_namespace_conventions(self, arg0: bool) -> QoS: ... |
| 54 | + def best_effort(self) -> QoS: ... |
| 55 | + def deadline(self, arg0: Duration) -> QoS: ... |
| 56 | + def durability(self, arg0: rmw_qos_durability_policy_t) -> QoS: ... |
| 57 | + def durability_volatile(self) -> QoS: ... |
| 58 | + def history(self, arg0: rmw_qos_history_policy_t) -> QoS: ... |
| 59 | + def keep_all(self) -> QoS: ... |
| 60 | + def keep_last(self, arg0: int) -> QoS: ... |
| 61 | + def lifespan(self, arg0: Duration) -> QoS: ... |
| 62 | + def liveliness(self, arg0: rmw_qos_liveliness_policy_t) -> QoS: ... |
| 63 | + def liveliness_lease_duration(self, arg0: Duration) -> QoS: ... |
| 64 | + def reliability(self, arg0: rmw_qos_reliability_policy_t) -> QoS: ... |
| 65 | + def reliable(self) -> QoS: ... |
| 66 | + def transient_local(self) -> QoS: ... |
| 67 | + |
| 68 | +class ReadOrder: |
| 69 | + reverse: bool |
| 70 | + sort_by: ReadOrderSortBy |
| 71 | + def __init__(self, sort_by: ReadOrderSortBy = ..., reverse: bool = ...) -> None: ... |
| 72 | + |
| 73 | +class ReadOrderSortBy: |
| 74 | + __doc__: ClassVar[str] = ... # read-only |
| 75 | + __members__: ClassVar[dict] = ... # read-only |
| 76 | + File: ClassVar[ReadOrderSortBy] = ... |
| 77 | + PublishedTimestamp: ClassVar[ReadOrderSortBy] = ... |
| 78 | + ReceivedTimestamp: ClassVar[ReadOrderSortBy] = ... |
| 79 | + __entries: ClassVar[dict] = ... |
| 80 | + def __init__(self, value: int) -> None: ... |
| 81 | + def __eq__(self, other: object) -> bool: ... |
| 82 | + def __getstate__(self) -> int: ... |
| 83 | + def __hash__(self) -> int: ... |
| 84 | + def __index__(self) -> int: ... |
| 85 | + def __int__(self) -> int: ... |
| 86 | + def __ne__(self, other: object) -> bool: ... |
| 87 | + def __setstate__(self, state: int) -> None: ... |
| 88 | + @property |
| 89 | + def name(self) -> str: ... |
| 90 | + @property |
| 91 | + def value(self) -> int: ... |
| 92 | + |
| 93 | +class StorageFilter: |
| 94 | + topics: List[str] |
| 95 | + topics_regex: str |
| 96 | + topics_regex_to_exclude: str |
| 97 | + def __init__(self, topics: List[str] = ..., topics_regex: str = ..., topics_regex_to_exclude: str = ...) -> None: ... |
| 98 | + |
| 99 | +class StorageOptions: |
| 100 | + custom_data: Dict[str,str] |
| 101 | + end_time_ns: int |
| 102 | + max_bagfile_duration: int |
| 103 | + max_bagfile_size: int |
| 104 | + max_cache_size: int |
| 105 | + snapshot_mode: bool |
| 106 | + start_time_ns: int |
| 107 | + storage_config_uri: str |
| 108 | + storage_id: str |
| 109 | + storage_preset_profile: str |
| 110 | + uri: str |
| 111 | + def __init__(self, uri: str, storage_id: str = ..., max_bagfile_size: int = ..., max_bagfile_duration: int = ..., max_cache_size: int = ..., storage_preset_profile: str = ..., storage_config_uri: str = ..., snapshot_mode: bool = ..., start_time_ns: int = ..., end_time_ns: int = ..., custom_data: Dict[str,str] = ...) -> None: ... |
| 112 | + |
| 113 | +class TopicInformation: |
| 114 | + message_count: int |
| 115 | + topic_metadata: TopicMetadata |
| 116 | + def __init__(self, topic_metadata: TopicMetadata, message_count: int) -> None: ... |
| 117 | + |
| 118 | +class TopicMetadata: |
| 119 | + id: int |
| 120 | + name: str |
| 121 | + offered_qos_profiles: List[QoS] |
| 122 | + serialization_format: str |
| 123 | + type: str |
| 124 | + type_description_hash: str |
| 125 | + def __init__(self, id: int, name: str, type: str, serialization_format: str, offered_qos_profiles: List[QoS] = ..., type_description_hash: str = ...) -> None: ... |
| 126 | + def equals(self, arg0: TopicMetadata) -> bool: ... |
| 127 | + |
| 128 | +class rmw_qos_durability_policy_t: |
| 129 | + __doc__: ClassVar[str] = ... # read-only |
| 130 | + __members__: ClassVar[dict] = ... # read-only |
| 131 | + RMW_QOS_POLICY_DURABILITY_SYSTEM_DEFAULT: ClassVar[rmw_qos_durability_policy_t] = ... |
| 132 | + RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL: ClassVar[rmw_qos_durability_policy_t] = ... |
| 133 | + RMW_QOS_POLICY_DURABILITY_UNKNOWN: ClassVar[rmw_qos_durability_policy_t] = ... |
| 134 | + RMW_QOS_POLICY_DURABILITY_VOLATILE: ClassVar[rmw_qos_durability_policy_t] = ... |
| 135 | + __entries: ClassVar[dict] = ... |
| 136 | + def __init__(self, value: int) -> None: ... |
| 137 | + def __eq__(self, other: object) -> bool: ... |
| 138 | + def __getstate__(self) -> int: ... |
| 139 | + def __hash__(self) -> int: ... |
| 140 | + def __index__(self) -> int: ... |
| 141 | + def __int__(self) -> int: ... |
| 142 | + def __ne__(self, other: object) -> bool: ... |
| 143 | + def __setstate__(self, state: int) -> None: ... |
| 144 | + @property |
| 145 | + def name(self) -> str: ... |
| 146 | + @property |
| 147 | + def value(self) -> int: ... |
| 148 | + |
| 149 | +class rmw_qos_history_policy_t: |
| 150 | + __doc__: ClassVar[str] = ... # read-only |
| 151 | + __members__: ClassVar[dict] = ... # read-only |
| 152 | + RMW_QOS_POLICY_HISTORY_KEEP_ALL: ClassVar[rmw_qos_history_policy_t] = ... |
| 153 | + RMW_QOS_POLICY_HISTORY_KEEP_LAST: ClassVar[rmw_qos_history_policy_t] = ... |
| 154 | + RMW_QOS_POLICY_HISTORY_SYSTEM_DEFAULT: ClassVar[rmw_qos_history_policy_t] = ... |
| 155 | + RMW_QOS_POLICY_HISTORY_UNKNOWN: ClassVar[rmw_qos_history_policy_t] = ... |
| 156 | + __entries: ClassVar[dict] = ... |
| 157 | + def __init__(self, value: int) -> None: ... |
| 158 | + def __eq__(self, other: object) -> bool: ... |
| 159 | + def __getstate__(self) -> int: ... |
| 160 | + def __hash__(self) -> int: ... |
| 161 | + def __index__(self) -> int: ... |
| 162 | + def __int__(self) -> int: ... |
| 163 | + def __ne__(self, other: object) -> bool: ... |
| 164 | + def __setstate__(self, state: int) -> None: ... |
| 165 | + @property |
| 166 | + def name(self) -> str: ... |
| 167 | + @property |
| 168 | + def value(self) -> int: ... |
| 169 | + |
| 170 | +class rmw_qos_liveliness_policy_t: |
| 171 | + __doc__: ClassVar[str] = ... # read-only |
| 172 | + __members__: ClassVar[dict] = ... # read-only |
| 173 | + RMW_QOS_POLICY_LIVELINESS_AUTOMATIC: ClassVar[rmw_qos_liveliness_policy_t] = ... |
| 174 | + RMW_QOS_POLICY_LIVELINESS_MANUAL_BY_TOPIC: ClassVar[rmw_qos_liveliness_policy_t] = ... |
| 175 | + RMW_QOS_POLICY_LIVELINESS_SYSTEM_DEFAULT: ClassVar[rmw_qos_liveliness_policy_t] = ... |
| 176 | + RMW_QOS_POLICY_LIVELINESS_UNKNOWN: ClassVar[rmw_qos_liveliness_policy_t] = ... |
| 177 | + __entries: ClassVar[dict] = ... |
| 178 | + def __init__(self, value: int) -> None: ... |
| 179 | + def __eq__(self, other: object) -> bool: ... |
| 180 | + def __getstate__(self) -> int: ... |
| 181 | + def __hash__(self) -> int: ... |
| 182 | + def __index__(self) -> int: ... |
| 183 | + def __int__(self) -> int: ... |
| 184 | + def __ne__(self, other: object) -> bool: ... |
| 185 | + def __setstate__(self, state: int) -> None: ... |
| 186 | + @property |
| 187 | + def name(self) -> str: ... |
| 188 | + @property |
| 189 | + def value(self) -> int: ... |
| 190 | + |
| 191 | +class rmw_qos_reliability_policy_t: |
| 192 | + __doc__: ClassVar[str] = ... # read-only |
| 193 | + __members__: ClassVar[dict] = ... # read-only |
| 194 | + RMW_QOS_POLICY_RELIABILITY_BEST_EFFORT: ClassVar[rmw_qos_reliability_policy_t] = ... |
| 195 | + RMW_QOS_POLICY_RELIABILITY_RELIABLE: ClassVar[rmw_qos_reliability_policy_t] = ... |
| 196 | + RMW_QOS_POLICY_RELIABILITY_SYSTEM_DEFAULT: ClassVar[rmw_qos_reliability_policy_t] = ... |
| 197 | + RMW_QOS_POLICY_RELIABILITY_UNKNOWN: ClassVar[rmw_qos_reliability_policy_t] = ... |
| 198 | + __entries: ClassVar[dict] = ... |
| 199 | + def __init__(self, value: int) -> None: ... |
| 200 | + def __eq__(self, other: object) -> bool: ... |
| 201 | + def __getstate__(self) -> int: ... |
| 202 | + def __hash__(self) -> int: ... |
| 203 | + def __index__(self) -> int: ... |
| 204 | + def __int__(self) -> int: ... |
| 205 | + def __ne__(self, other: object) -> bool: ... |
| 206 | + def __setstate__(self, state: int) -> None: ... |
| 207 | + @property |
| 208 | + def name(self) -> str: ... |
| 209 | + @property |
| 210 | + def value(self) -> int: ... |
| 211 | + |
| 212 | +def get_default_storage_id() -> str: ... |
0 commit comments