Classes | |
class | OutgoingMessage |
class | OutgoingQueue |
class | PeriodicFileDeleter |
class | Recorder |
struct | RecorderOptions |
class | RosbagRecorder |
Enumerations | |
enum | RosbagRecorderRunResult { STARTED = 0, SKIPPED } |
Functions | |
file_uploader_msgs::UploadFilesGoal | ConstructRosBagUploaderGoal (std::string destination, std::vector< std::string > &ros_bags_to_upload) |
Aws::Rosbag::RecorderErrorCode | DeleteFile (const std::string &file_path) |
delete a file More... | |
bool | ExpandAndCreateDir (const std::string &dir, std::string &expanded_dir) |
template<typename RecorderFeedbackT , typename RecorderStatusT > | |
void | GenerateFeedback (uint8_t stage, ros::Time time_of_feedback, RecorderFeedbackT &recorder_feedback, RecorderStatusT &recording_status) |
template<typename RecorderResultT > | |
void | GenerateResult (uint8_t stage, std::string message, RecorderResultT &recorder_result) |
ros::Time | GetRosBagStartTime (const std::string &file_path) |
Get the time a rosbag started. More... | |
std::vector< std::string > | GetRosbagsToUpload (const std::string &write_directory, const std::function< bool(rosbag::View &)> &select_file) |
boost::posix_time::time_duration | GetUTCOffset () |
template<typename GoalHandleT , typename SimpleClientGoalStateT , typename RecorderResultT > | |
void | HandleRecorderUploadResult (GoalHandleT &goal_handle, const SimpleClientGoalStateT &end_state, bool upload_finished, RecorderResultT &recorder_result) |
template<typename GoalHandleT , typename UploadClientT > | |
bool | UploadFiles (GoalHandleT &goal_handle, const double upload_time_out, UploadClientT &upload_client, std::vector< std::string > &ros_bags_to_upload) |
Enumerator | |
---|---|
STARTED | |
SKIPPED |
Definition at line 34 of file rosbag_recorder.h.
file_uploader_msgs::UploadFilesGoal Aws::Rosbag::Utils::ConstructRosBagUploaderGoal | ( | std::string | destination, |
std::vector< std::string > & | ros_bags_to_upload | ||
) |
Definition at line 34 of file s3_client_utils.cpp.
Aws::Rosbag::RecorderErrorCode Aws::Rosbag::Utils::DeleteFile | ( | const std::string & | file_path | ) |
delete a file
Delete file at file_path.
file_path | path to the file to be deleted |
Definition at line 93 of file file_utils.cpp.
bool Aws::Rosbag::Utils::ExpandAndCreateDir | ( | const std::string & | dir, |
std::string & | expanded_dir | ||
) |
Perform shell-like expansion on a directory path string and create that directory
dir | directory path string to be expanded and created | |
[out] | expanded_dir | the expanded directory path string |
Definition at line 57 of file file_utils.cpp.
void Aws::Rosbag::Utils::GenerateFeedback | ( | uint8_t | stage, |
ros::Time | time_of_feedback, | ||
RecorderFeedbackT & | recorder_feedback, | ||
RecorderStatusT & | recording_status | ||
) |
Definition at line 35 of file s3_client_utils.h.
void Aws::Rosbag::Utils::GenerateResult | ( | uint8_t | stage, |
std::string | message, | ||
RecorderResultT & | recorder_result | ||
) |
Definition at line 84 of file s3_client_utils.h.
ros::Time Aws::Rosbag::Utils::GetRosBagStartTime | ( | const std::string & | file_path | ) |
Get the time a rosbag started.
file_path | path to rosbag file |
Definition at line 119 of file file_utils.cpp.
std::vector< std::string > Aws::Rosbag::Utils::GetRosbagsToUpload | ( | const std::string & | write_directory, |
const std::function< bool(rosbag::View &)> & | select_file | ||
) |
Definition at line 181 of file file_utils.cpp.
boost::posix_time::time_duration Aws::Rosbag::Utils::GetUTCOffset | ( | ) |
Definition at line 111 of file file_utils.cpp.
void Aws::Rosbag::Utils::HandleRecorderUploadResult | ( | GoalHandleT & | goal_handle, |
const SimpleClientGoalStateT & | end_state, | ||
bool | upload_finished, | ||
RecorderResultT & | recorder_result | ||
) |
Definition at line 91 of file s3_client_utils.h.
bool Aws::Rosbag::Utils::UploadFiles | ( | GoalHandleT & | goal_handle, |
const double | upload_time_out, | ||
UploadClientT & | upload_client, | ||
std::vector< std::string > & | ros_bags_to_upload | ||
) |
Definition at line 47 of file s3_client_utils.h.