#include <bagger.h>
Definition at line 88 of file bagger.h.
◆ Bagger()
◆ attemptRecordCleanup()
| void Bagger::attemptRecordCleanup |
( |
| ) |
|
◆ getBagNameFromRecordOptions()
| std::string Bagger::getBagNameFromRecordOptions |
( |
std::string |
record_opts | ) |
|
|
private |
Utility function which infers the most likely rosbag name for the passed record options.
Definition at line 215 of file bagger.cpp.
◆ getCurrentWorkingDirectory()
| std::string Bagger::getCurrentWorkingDirectory |
( |
| ) |
|
|
private |
Utility function which returns the current working directory of the executing program.
Definition at line 341 of file bagger.cpp.
◆ getMatchingFilePathsInDirectory()
| std::vector< boost::filesystem::path > Bagger::getMatchingFilePathsInDirectory |
( |
const boost::filesystem::path & |
dir_path, |
|
|
std::string |
match_string |
|
) |
| |
|
private |
Searches the passed directory for any file paths that contain the passed match string. Returns a vector of paths containing all such matches
Definition at line 321 of file bagger.cpp.
◆ onBagStateSrv()
| bool Bagger::onBagStateSrv |
( |
bagger::SetBagState::Request & |
request, |
|
|
bagger::SetBagState::Response & |
response |
|
) |
| |
|
private |
Callback for receipt of set bag state service calls.
Definition at line 109 of file bagger.cpp.
◆ publishBaggingStates()
| void Bagger::publishBaggingStates |
( |
| ) |
|
|
private |
Convenience function for publishing the recording states for each record profile.
Definition at line 192 of file bagger.cpp.
◆ removeSuffix()
| std::string Bagger::removeSuffix |
( |
std::string |
s, |
|
|
std::string |
suffix |
|
) |
| |
|
private |
Returns a version of the passed string with the passed suffix removed.
Definition at line 334 of file bagger.cpp.
◆ bag_state_service_
Service for starting / stopping rosbag record processes.
Definition at line 93 of file bagger.h.
◆ bagging_state_publisher_
For publishing the names and states of each record profile rosbag record process.
Definition at line 91 of file bagger.h.
◆ node_handle_
◆ private_node_handle_
◆ profile_name_to_record_options_map_
| std::map<std::string, std::string> Bagger::profile_name_to_record_options_map_ |
|
private |
◆ profile_name_to_record_process_map_
| std::map<std::string, RecordProcess> Bagger::profile_name_to_record_process_map_ |
|
private |
The documentation for this class was generated from the following files: