16 #ifndef ALEXA_CLIENT_SDK_PLAYLISTPARSER_INCLUDE_PLAYLISTPARSER_PLAYLISTPARSER_H_ 17 #define ALEXA_CLIENT_SDK_PLAYLISTPARSER_INCLUDE_PLAYLISTPARSER_PLAYLISTPARSER_H_ 21 #include <unordered_map> 30 namespace playlistParser {
45 static std::unique_ptr<PlaylistParser>
create(
46 std::shared_ptr<avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface> contentFetcherFactory);
50 std::shared_ptr<avsCommon::utils::playlistParser::PlaylistParserObserverInterface> observer,
51 std::vector<PlaylistType> playlistTypesToNotBeParsed = std::vector<PlaylistType>())
override;
66 std::shared_ptr<avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface> contentFetcherFactory);
75 void doDepthFirstSearch(
77 std::shared_ptr<avsCommon::utils::playlistParser::PlaylistParserObserverInterface> observer,
79 std::vector<PlaylistType> playlistTypesToNotBeParsed);
90 bool getPlaylistContent(
91 std::unique_ptr<avsCommon::sdkInterfaces::HTTPContentFetcherInterface> contentFetcher,
95 std::shared_ptr<avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface> m_contentFetcherFactory;
98 std::atomic<bool> m_shuttingDown;
112 #endif // ALEXA_CLIENT_SDK_PLAYLISTPARSER_INCLUDE_PLAYLISTPARSER_PLAYLISTPARSER_H_
::std::string string
Definition: gtest-port.h:1097
Single-thread executor implementation.
Definition: Executor.h:45
Definition: RequiresShutdown.h:32
static const int START_FAILURE
A return value that indicates a failure to start the playlist parsing.
Definition: PlaylistParser.h:54
void doShutdown() override
int parsePlaylist(std::string url, std::shared_ptr< avsCommon::utils::playlistParser::PlaylistParserObserverInterface > observer, std::vector< PlaylistType > playlistTypesToNotBeParsed=std::vector< PlaylistType >()) override
static std::unique_ptr< PlaylistParser > create(std::shared_ptr< avsCommon::sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface > contentFetcherFactory)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: PlaylistParserInterface.h:33
Definition: PlaylistParser.h:35