LeviLamina
Loading...
Searching...
No Matches
StreamInterface.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/ArrayView.h"
7#include "mc/external/webrtc/StreamResult.h"
8#include "mc/external/webrtc/StreamState.h"
9
10namespace webrtc {
11
12class StreamInterface {
13public:
14 // member variables
15 // NOLINTBEGIN
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 StreamInterface& operator=(StreamInterface const&);
23 StreamInterface(StreamInterface const&);
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~StreamInterface();
29
30 virtual ::webrtc::StreamState GetState() const = 0;
31
32 virtual ::webrtc::StreamResult Read(::webrtc::ArrayView<uchar> data, uint64& read, int& error) = 0;
33
34 virtual ::webrtc::StreamResult Write(::webrtc::ArrayView<uchar const> data, uint64& written, int& error) = 0;
35
36 virtual void Close() = 0;
37
38 virtual bool Flush();
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
45
46 MCNAPI ::webrtc::StreamResult WriteAll(::webrtc::ArrayView<uchar const> data, uint64& written, int& error);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCNAPI void* $ctor();
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCNAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI bool $Flush();
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
75
76} // namespace webrtc
Definition ArrayView.h:8
MCAPI void * $ctor()
MCAPI::webrtc::StreamResult WriteAll(::webrtc::ArrayView< uchar const > data, uint64 &written, int &error)
static MCAPI void ** $vftable()
Definition Alias.h:14