Get Support
Digital Barriers EdgeVis Decoder SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
SDKs
EdgeVisDecoderSDK
PassThruStream.h
Go to the documentation of this file.
1
2
// Copyright (c) 2016 Digital Barriers
4
35
36
#pragma once
37
38
#include "
Stream.h
"
39
40
namespace
EdgeVisDecoderSDK
41
{
42
class
PassThruStreamImpl;
43
44
class
PassThruStream :
public
Stream
45
{
46
public
:
47
DB_EDGEVIS_SDK
virtual
~PassThruStream();
48
49
DB_EDGEVIS_SDK PassThruStream();
50
51
PassThruStream(std::weak_ptr<EncoderImpl> encoder,
const
std::wstring& name = L
""
);
52
53
PassThruStream(std::weak_ptr<PassThruStreamImpl> pimpl);
54
55
PassThruStream(
const
Stream &other);
56
57
public
:
58
64
DB_EDGEVIS_SDK
virtual
bool
IsConnected
()
const
;
65
73
DB_EDGEVIS_SDK
bool
SendData
(byte_array data);
74
93
DB_EDGEVIS_SDK int32_t
GetBytesFree
()
const
;
94
101
DB_EDGEVIS_SDK int32_t
GetBufferSize
()
const
;
102
103
DB_EDGEVIS_SDK Stream* AsStream();
104
};
105
}
Stream.h
EdgeVisDecoderSDK::PassThruStream::SendData
DB_EDGEVIS_SDK bool SendData(byte_array data)
Send some data on this pass thru stream,.
EdgeVisDecoderSDK::PassThruStream::GetBytesFree
DB_EDGEVIS_SDK int32_t GetBytesFree() const
A frame of data will be transmitted to the Encoder.
EdgeVisDecoderSDK::PassThruStream::IsConnected
virtual DB_EDGEVIS_SDK bool IsConnected() const
Determines if the stream is currently connected (in use).
EdgeVisDecoderSDK::PassThruStream::GetBufferSize
DB_EDGEVIS_SDK int32_t GetBufferSize() const
Get the size of the pass thru stream buffer.
EdgeVisDecoderSDK
The EdgeVis Decoder SDK namespace.
Generated on
for Digital Barriers EdgeVis Decoder SDK by
1.18.0