Protected Member Functions | Protected Attributes | List of all members
MetricsCollectorFixture Class Reference
Inheritance diagram for MetricsCollectorFixture:
Inheritance graph
[legend]

Protected Member Functions

ros_monitoring_msgs::MetricData BasicMetricData ()
 
void Initialize (std::map< std::string, std::string > metric_dimensions)
 
void SendMetricMessages (int num_msgs, ros_monitoring_msgs::MetricData &metric_data_proto)
 
void SetUp () override
 
void TearDown () override
 

Protected Attributes

Aws::CloudWatchMetrics::CloudWatchOptions cloudwatch_options
 
Aws::Client::ClientConfiguration config
 
const std::string kMetricName1 = "CWMetricsNodeTestMetric"
 
const std::string kMetricsTopic = "metrics"
 
const std::string kMetricUnit1 = "sec"
 
std::shared_ptr< MetricBatcherMockmetric_batcher
 
const std::string metric_namespace = "test_namespace"
 
std::shared_ptr< MetricPublisherMockmetric_publisher
 
std::shared_ptr< MetricServiceMockmetric_service
 
std::shared_ptr< MetricsCollectormetrics_collector
 
std::shared_ptr< ros::Publishermetrics_pub
 
std::shared_ptr< ros::NodeHandlenode_handle
 
Aws::SDKOptions sdk_options
 

Detailed Description

Definition at line 84 of file cloudwatch_metrics_collector_test.cpp.

Member Function Documentation

ros_monitoring_msgs::MetricData MetricsCollectorFixture::BasicMetricData ( )
inlineprotected

Definition at line 166 of file cloudwatch_metrics_collector_test.cpp.

void MetricsCollectorFixture::Initialize ( std::map< std::string, std::string >  metric_dimensions)
inlineprotected

Definition at line 111 of file cloudwatch_metrics_collector_test.cpp.

void MetricsCollectorFixture::SendMetricMessages ( int  num_msgs,
ros_monitoring_msgs::MetricData &  metric_data_proto 
)
inlineprotected

Definition at line 150 of file cloudwatch_metrics_collector_test.cpp.

void MetricsCollectorFixture::SetUp ( )
inlineoverrideprotected

Definition at line 104 of file cloudwatch_metrics_collector_test.cpp.

void MetricsCollectorFixture::TearDown ( )
inlineoverrideprotected

Definition at line 142 of file cloudwatch_metrics_collector_test.cpp.

Member Data Documentation

Aws::CloudWatchMetrics::CloudWatchOptions MetricsCollectorFixture::cloudwatch_options
protected

Definition at line 94 of file cloudwatch_metrics_collector_test.cpp.

Aws::Client::ClientConfiguration MetricsCollectorFixture::config
protected

Definition at line 92 of file cloudwatch_metrics_collector_test.cpp.

const std::string MetricsCollectorFixture::kMetricName1 = "CWMetricsNodeTestMetric"
protected

Definition at line 88 of file cloudwatch_metrics_collector_test.cpp.

const std::string MetricsCollectorFixture::kMetricsTopic = "metrics"
protected

Definition at line 87 of file cloudwatch_metrics_collector_test.cpp.

const std::string MetricsCollectorFixture::kMetricUnit1 = "sec"
protected

Definition at line 89 of file cloudwatch_metrics_collector_test.cpp.

std::shared_ptr<MetricBatcherMock> MetricsCollectorFixture::metric_batcher
protected

Definition at line 98 of file cloudwatch_metrics_collector_test.cpp.

const std::string MetricsCollectorFixture::metric_namespace = "test_namespace"
protected

Definition at line 90 of file cloudwatch_metrics_collector_test.cpp.

std::shared_ptr<MetricPublisherMock> MetricsCollectorFixture::metric_publisher
protected

Definition at line 97 of file cloudwatch_metrics_collector_test.cpp.

std::shared_ptr<MetricServiceMock> MetricsCollectorFixture::metric_service
protected

Definition at line 96 of file cloudwatch_metrics_collector_test.cpp.

std::shared_ptr<MetricsCollector> MetricsCollectorFixture::metrics_collector
protected

Definition at line 99 of file cloudwatch_metrics_collector_test.cpp.

std::shared_ptr<ros::Publisher> MetricsCollectorFixture::metrics_pub
protected

Definition at line 102 of file cloudwatch_metrics_collector_test.cpp.

std::shared_ptr<ros::NodeHandle> MetricsCollectorFixture::node_handle
protected

Definition at line 101 of file cloudwatch_metrics_collector_test.cpp.

Aws::SDKOptions MetricsCollectorFixture::sdk_options
protected

Definition at line 93 of file cloudwatch_metrics_collector_test.cpp.


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


cloudwatch_metrics_collector
Author(s): AWS RoboMaker
autogenerated on Fri Mar 5 2021 03:38:40