// generated from rosidl_adapter/resource/srv.idl.em // with input from rosbag2_interfaces/srv/SplitBagfile.srv // generated code does not contain a copyright notice #include "builtin_interfaces/msg/Time.idl" module rosbag2_interfaces { module srv { module SplitBagfile_Request_Constants { const int32 SPLIT_MODE_NODE_TIME = 0; const int32 SPLIT_MODE_PUBLISH_TIME = 1; const int32 SPLIT_MODE_RECEIVE_TIME = 2; }; @verbatim (language="comment", text= "Split mode to interpret split_time:" "\n" "0 = node_time, 1 = publish_time, 2 = receive_time.") struct SplitBagfile_Request { @verbatim (language="comment", text= "Timestamp in the future when to split bag file." "\n" "If empty or time in the past, split bag file immediately.") builtin_interfaces::msg::Time split_time; @verbatim (language="comment", text= "Split mode to use for the split_time request.") int32 split_mode; @verbatim (language="comment", text= "Topic name to use for timestamp-based split evaluation." "\n" "If empty, evaluate using messages from all topics.") string tracking_topic_name; }; module SplitBagfile_Response_Constants { const int32 RETURN_CODE_SUCCESS = 0; const int32 RETURN_CODE_NOT_RECORDING = 1; const int32 RETURN_CODE_INVALID_SPLIT_MODE = 2; const int32 RETURN_CODE_INVALID_TRACKING_TOPIC = 3; const int32 RETURN_CODE_SPLIT_FAILED = 4; }; @verbatim (language="comment", text= "Return codes for SplitBagfile response.") struct SplitBagfile_Response { @verbatim (language="comment", text= "Return code. Use RETURN_CODE_SUCCESS on success; otherwise use one of the error codes.") int32 return_code; @verbatim (language="comment", text= "Error string. Empty if no error occurred.") string error_string; }; }; };