nx_metadata_sdk  1.0
Metadata SDK
i_stream_reader_2.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2 
3 #pragma once
4 
5 #include <camera/camera_plugin.h>
6 #include <nx/sdk/archive/i_codec_info.h>
7 #include <nx/sdk/i_list.h>
8 #include <nx/sdk/ptr.h>
9 
10 namespace nx {
11 namespace sdk {
12 namespace archive {
13 
14 // #TODO #akulikov Refactor this class along with DtsArchiveReader.
15 
16 // FBE3E8A5-E70C-4E1A-BB13-B77C218EF325
17 static const nxpl::NX_GUID IID_StreamReader2 = { { 0xFB, 0xE3, 0xE8, 0xA5, 0xE7, 0x0C, 0x4E, 0x1A, 0xBB, 0x13, 0xB7, 0x7C, 0x21, 0x8E, 0xF3, 0x25 } };
18 
19 class StreamReader2: public nxcip::StreamReader
20 {
21  protected: virtual const IList<ICodecInfo>* getCodecList() const = 0;
22  public: Ptr<const IList<ICodecInfo>> codecList() const { return toPtr(getCodecList()); }
23 };
24 
25 } // namespace archive
26 } // namespace sdk
27 } // namespace nx
Definition: ptr.h:18
Definition: i_stream_reader_2.h:19
Definition: apple_utils.h:6
Definition: i_list.h:9