Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Aws::Rosbag::RollingRecorder Class Reference

#include <rolling_recorder.h>

Classes

struct  UploadRequestData
 

Public Member Functions

std::vector< std::string > GetRosBagsToDelete () const
 
bool InitializeRollingRecorder (RollingRecorderOptions rolling_recorder_options)
 
RollingRecorderoperator= (const RollingRecorder &other)=delete
 
RollingRecorderoperator= (RollingRecorder &&other)=delete
 
 RollingRecorder ()
 
 RollingRecorder (const RollingRecorder &other)=delete
 
 RollingRecorder (RollingRecorder &&other)=delete
 
void UpdateStatus (const RollingRecorderStatus &status)
 
bool ValidInputParam (RollingRecorderOptions rolling_recorder_options)
 
virtual ~RollingRecorder ()=default
 

Private Member Functions

void InitializeRollingRecorder ()
 
void StartOldRosBagsPeriodicRemoval ()
 

Private Attributes

RollingRecorderActionServer action_server_
 
ros::NodeHandle node_handle_
 
std::unique_ptr< Utils::PeriodicFileDeleterperiodic_file_deleter_
 
std::shared_ptr< UploadRequestDataupload_request_data_
 

Detailed Description

Rolling recorder is a node that responds to actions to record rosbag files

Definition at line 67 of file rolling_recorder.h.

Constructor & Destructor Documentation

Aws::Rosbag::RollingRecorder::RollingRecorder ( )
explicit

Definition at line 35 of file rolling_recorder.cpp.

Aws::Rosbag::RollingRecorder::RollingRecorder ( const RollingRecorder other)
delete
Aws::Rosbag::RollingRecorder::RollingRecorder ( RollingRecorder &&  other)
delete
virtual Aws::Rosbag::RollingRecorder::~RollingRecorder ( )
virtualdefault

Member Function Documentation

std::vector< std::string > Aws::Rosbag::RollingRecorder::GetRosBagsToDelete ( ) const

Returns a list of rosbag files that are no longer needed and can be deleted. Used by the periodic_file_deleter.

Definition at line 99 of file rolling_recorder.cpp.

bool Aws::Rosbag::RollingRecorder::InitializeRollingRecorder ( RollingRecorderOptions  rolling_recorder_options)

Initialize the rolling recorder action server

Definition at line 60 of file rolling_recorder.cpp.

void Aws::Rosbag::RollingRecorder::InitializeRollingRecorder ( )
private
RollingRecorder& Aws::Rosbag::RollingRecorder::operator= ( const RollingRecorder other)
delete
RollingRecorder& Aws::Rosbag::RollingRecorder::operator= ( RollingRecorder &&  other)
delete
void Aws::Rosbag::RollingRecorder::StartOldRosBagsPeriodicRemoval ( )
private
void Aws::Rosbag::RollingRecorder::UpdateStatus ( const RollingRecorderStatus status)

Used by the callback handler to communicate information back to the recorder.

Definition at line 94 of file rolling_recorder.cpp.

bool Aws::Rosbag::RollingRecorder::ValidInputParam ( RollingRecorderOptions  rolling_recorder_options)

To determine whether to start the rolling recorder action server based on whether the rolling recorder options are valid

Definition at line 40 of file rolling_recorder.cpp.

Member Data Documentation

RollingRecorderActionServer Aws::Rosbag::RollingRecorder::action_server_
private

Definition at line 113 of file rolling_recorder.h.

ros::NodeHandle Aws::Rosbag::RollingRecorder::node_handle_
private

Definition at line 112 of file rolling_recorder.h.

std::unique_ptr<Utils::PeriodicFileDeleter> Aws::Rosbag::RollingRecorder::periodic_file_deleter_
private

Definition at line 115 of file rolling_recorder.h.

std::shared_ptr<UploadRequestData> Aws::Rosbag::RollingRecorder::upload_request_data_
private

Definition at line 114 of file rolling_recorder.h.


The documentation for this class was generated from the following files:


rosbag_cloud_recorders
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:28