Typedefs | Functions | Variables
aws_ros_logger_test.cpp File Reference
#include <aws_ros1_common/sdk_utils/logging/aws_ros_logger.h>
#include <gtest/gtest.h>
#include <ros/callback_queue.h>
#include <ros/ros.h>
#include <rosgraph_msgs/Log.h>
#include <unistd.h>
#include <iostream>
Include dependency graph for aws_ros_logger_test.cpp:

Go to the source code of this file.

Typedefs

typedef std::shared_ptr< AWSLogSystemaws_logger_t
 

Functions

void CreateTestLog (aws_logger_t logger, const char *tag, const char *message, Aws::Utils::Logging::LogLevel log_level)
 
int main (int argc, char **argv)
 
void RosoutLoggerCallback (const rosgraph_msgs::Log &published_log)
 
 TEST (AWSROSLoggerTest, TestLogMethod)
 

Variables

std::atomic< int > message_count
 

Typedef Documentation

typedef std::shared_ptr<AWSLogSystem> aws_logger_t

Definition at line 33 of file aws_ros_logger_test.cpp.

Function Documentation

void CreateTestLog ( aws_logger_t  logger,
const char *  tag,
const char *  message,
Aws::Utils::Logging::LogLevel  log_level 
)

Definition at line 37 of file aws_ros_logger_test.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 67 of file aws_ros_logger_test.cpp.

void RosoutLoggerCallback ( const rosgraph_msgs::Log &  published_log)

Definition at line 54 of file aws_ros_logger_test.cpp.

TEST ( AWSROSLoggerTest  ,
TestLogMethod   
)

Definition at line 44 of file aws_ros_logger_test.cpp.

Variable Documentation

std::atomic<int> message_count

Definition at line 35 of file aws_ros_logger_test.cpp.



aws_ros1_common
Author(s): AWS RoboMaker
autogenerated on Thu Mar 4 2021 03:25:44