streamer.h
Go to the documentation of this file.
1 /*
2  * Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License").
5  * You may not use this file except in compliance with the License.
6  * A copy of the License is located at
7  *
8  * http://aws.amazon.com/apache2.0
9  *
10  * or in the "license" file accompanying this file. This file is distributed
11  * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12  * express or implied. See the License for the specific language governing
13  * permissions and limitations under the License.
14  */
15 #pragma once
16 
17 #include <ros/ros.h>
19 
20 namespace Aws {
21 namespace Kinesis {
30 constexpr uint32_t kDefaultNumberOfSpinnerThreads = 1;
31 
33 {
34 public:
35  StreamerNode(const std::string & ns);
36 
37  ~StreamerNode() = default;
38 
40 
42 
43  void Spin();
44 
45  void set_subscription_installer(std::shared_ptr<RosStreamSubscriptionInstaller> subscription_installer);
46 
47 private:
48  std::shared_ptr<Aws::Client::ParameterReaderInterface> parameter_reader_;
49  std::shared_ptr<RosStreamSubscriptionInstaller> subscription_installer_;
50  std::shared_ptr<KinesisStreamManager> stream_manager_;
52 };
53 
54 } // namespace Kinesis
55 } // namespace Aws
void set_subscription_installer(std::shared_ptr< RosStreamSubscriptionInstaller > subscription_installer)
Definition: streamer.cpp:122
constexpr uint32_t kDefaultNumberOfSpinnerThreads
Definition: streamer.h:30
std::shared_ptr< KinesisStreamManager > stream_manager_
Definition: streamer.h:50
enum Aws::Kinesis::kinesis_manager_status_e KinesisManagerStatus
StreamerNode(const std::string &ns)
Definition: streamer.cpp:47
std::shared_ptr< Aws::Client::ParameterReaderInterface > parameter_reader_
Definition: streamer.h:48
StreamDefinitionProvider stream_definition_provider_
Definition: streamer.h:51
KinesisManagerStatus Initialize()
Definition: streamer.cpp:64
std::shared_ptr< RosStreamSubscriptionInstaller > subscription_installer_
Definition: streamer.h:49
KinesisManagerStatus InitializeStreamSubscriptions()
Definition: streamer.cpp:93


kinesis_video_streamer
Author(s): AWS RoboMaker
autogenerated on Fri Mar 5 2021 03:29:15