Public Member Functions | Private Attributes | List of all members
MockRosbagRecorder Class Reference
Inheritance diagram for MockRosbagRecorder:
Inheritance graph
[legend]

Public Member Functions

Utils::RecorderOptions getOptions ()
 
 MOCK_CONST_METHOD0 (IsActive, bool())
 
 MockRosbagRecorder ()
 
Utils::RosbagRecorderRunResult Run (const Utils::RecorderOptions &recorder_options, const std::function< void()> &pre_record, const std::function< void(int)> &post_record)
 
void SetRosbagRecorderExitCode (int exit_code)
 
void SetRosbagRecorderReturnCode (Utils::RosbagRecorderRunResult return_code)
 
 ~MockRosbagRecorder ()
 
- Public Member Functions inherited from Aws::Rosbag::Utils::RosbagRecorder< Utils::Recorder >
virtual bool IsActive () const
 
 RosbagRecorder ()
 
virtual ~RosbagRecorder ()=default
 

Private Attributes

Utils::RecorderOptions options_
 
Utils::RosbagRecorderRunResult return_code_
 
int rosbag_recorder_exit_code_
 

Detailed Description

Definition at line 55 of file duration_recorder_action_server_handler_test.cpp.

Constructor & Destructor Documentation

MockRosbagRecorder::MockRosbagRecorder ( )
inline
MockRosbagRecorder::~MockRosbagRecorder ( )
inline

Member Function Documentation

Utils::RecorderOptions MockRosbagRecorder::getOptions ( )
inline
MockRosbagRecorder::MOCK_CONST_METHOD0 ( IsActive  ,
bool()   
)
Utils::RosbagRecorderRunResult MockRosbagRecorder::Run ( const Utils::RecorderOptions recorder_options,
const std::function< void()> &  pre_record,
const std::function< void(int)> &  post_record 
)
inlinevirtual
void MockRosbagRecorder::SetRosbagRecorderExitCode ( int  exit_code)
inline
void MockRosbagRecorder::SetRosbagRecorderReturnCode ( Utils::RosbagRecorderRunResult  return_code)
inline

Member Data Documentation

Utils::RecorderOptions MockRosbagRecorder::options_
private
Utils::RosbagRecorderRunResult MockRosbagRecorder::return_code_
private
int MockRosbagRecorder::rosbag_recorder_exit_code_
private

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


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