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