Audacity 3.2.0
|
#include <RequestPayload.h>
Public Types | |
enum class | SeekDirection { Start , Current , End } |
Public Member Functions | |
virtual | ~RequestPayloadStream () |
virtual bool | HasData () const =0 |
return true on if stream is not empty More... | |
virtual int64_t | GetDataSize () const =0 |
May return 0 even if HasData() returns true. More... | |
virtual bool | Seek (int64_t offset, SeekDirection direction)=0 |
returns true on success More... | |
virtual int64_t | Read (void *buffer, int64_t size)=0 |
returns number of bytes read More... | |
Definition at line 19 of file RequestPayload.h.
|
strong |
Enumerator | |
---|---|
Start | |
Current | |
End |
Definition at line 30 of file RequestPayload.h.
|
virtual |
Definition at line 179 of file RequestPayload.cpp.
|
pure virtual |
May return 0 even if HasData() returns true.
Implemented in audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::EmptyRequestPayloadStream, audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::MemoryRequestPayloadStream, and audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::FileRequestPayloadStream.
|
pure virtual |
return true on if stream is not empty
Implemented in audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::EmptyRequestPayloadStream, audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::MemoryRequestPayloadStream, and audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::FileRequestPayloadStream.
|
pure virtual |
returns number of bytes read
Implemented in audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::EmptyRequestPayloadStream, audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::MemoryRequestPayloadStream, and audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::FileRequestPayloadStream.
Referenced by audacity::network_manager::anonymous_namespace{CurlResponse.cpp}::DataStreamRead().
|
pure virtual |
returns true on success
Implemented in audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::EmptyRequestPayloadStream, audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::MemoryRequestPayloadStream, and audacity::network_manager::anonymous_namespace{RequestPayload.cpp}::FileRequestPayloadStream.
Referenced by audacity::network_manager::anonymous_namespace{CurlResponse.cpp}::DataStreamSeek().