22 #include <rosgraph_msgs/Log.h> 23 #include <unordered_set> 26 namespace CloudWatchLogs {
73 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
74 double & publish_frequency);
85 std::string & log_group);
96 std::string & log_stream);
107 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
108 bool & subscribe_to_rosout);
120 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
121 int8_t & min_log_verbosity);
133 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
134 bool & publish_topic_names);
149 bool subscribe_to_rosout,
150 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
151 const boost::function<
void(
const rosgraph_msgs::Log::ConstPtr &)>& callback,
153 std::vector<ros::Subscriber> & subscriptions);
164 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
165 std::unordered_set<std::string> & ignore_nodes);
176 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
188 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
200 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
214 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
215 const std::string & option_key,
216 const std::string & default_value,
217 std::string & option_value);
230 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
231 const std::string & option_key,
232 const size_t & default_value,
233 size_t & option_value);
246 const std::shared_ptr<Aws::Client::ParameterReaderInterface>& parameter_reader,
247 const std::string & option_key,
248 const bool & default_value,
249 bool & option_value);
constexpr int kNodeSubQueueSize
Aws::AwsError ReadIgnoreNodesSet(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, std::unordered_set< std::string > &ignore_nodes)
Aws::AwsError ReadSubscribeToRosout(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, bool &subscribe_to_rosout)
Aws::AwsError ReadMinLogVerbosity(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, int8_t &min_log_verbosity)
Aws::AwsError ReadPublishFrequency(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, double &publish_frequency)
Aws::AwsError ReadSubscriberList(bool subscribe_to_rosout, const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, const boost::function< void(const rosgraph_msgs::Log::ConstPtr &)> &callback, ros::NodeHandle &nh, std::vector< ros::Subscriber > &subscriptions)
void ReadFileManagerStrategyOptions(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, Aws::FileManagement::FileManagerStrategyOptions &file_manager_strategy_options)
constexpr char kNodeParamFileMaxQueueSize[]
constexpr char kNodeParamMinLogVerbosityKey[]
constexpr char kNodeParamPublishFrequencyKey[]
constexpr int8_t kNodeMinLogVerbosityDefaultValue
constexpr char kNodeParamSubscribeToRosoutKey[]
constexpr char kNodeParamFilePrefix[]
void ReadUploaderOptions(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, Aws::DataFlow::UploaderOptions &uploader_options)
Aws::AwsError ReadLogStream(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, std::string &log_stream)
constexpr bool kNodeSubscribeToRosoutDefaultValue
Aws::AwsError ReadPublishTopicNames(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, bool &publish_topic_names)
constexpr char kNodeRosoutAggregatedTopicName[]
constexpr char kNodeParamBatchTriggerPublishSize[]
constexpr bool kNodePublishTopicNamesDefaultValue
constexpr double kNodePublishFrequencyDefaultValue
Aws::AwsError ReadLogGroup(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, std::string &log_group)
constexpr char kNodeParamBatchMaxQueueSize[]
constexpr char kNodeParamLogGroupNameKey[]
constexpr char kNodeParamDeleteStaleData[]
void ReadCloudWatchOptions(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, Aws::CloudWatchLogs::CloudWatchOptions &cloudwatch_options)
constexpr char kNodeParamPublishTopicNamesKey[]
constexpr char kNodeLogStreamNameDefaultValue[]
constexpr char kNodeParamMaximumFileSize[]
constexpr char kNodeParamLogTopicsListKey[]
constexpr char kNodeParamIgnoreNodesKey[]
void ReadOption(const std::shared_ptr< Aws::Client::ParameterReaderInterface > ¶meter_reader, const std::string &option_key, const std::string &default_value, std::string &option_value)
constexpr char kNodeParamFileExtension[]
constexpr char kNodeParamLogStreamNameKey[]
constexpr char kNodeParamStorageLimit[]
constexpr char kNodeParamFileUploadBatchSize[]
constexpr char kNodeParamStreamMaxQueueSize[]
constexpr char kNodeLogGroupNameDefaultValue[]
constexpr char kNodeParamStorageDirectory[]