8#ifndef _ADTF_UCOM_ANT_STREAM_INTERFACE_INCLUDES_HEADER_
9#define _ADTF_UCOM_ANT_STREAM_INTERFACE_INCLUDES_HEADER_
45 virtual tResult Read(
void* pvBuffer,
size_t nBufferSize,
size_t* pnBytesRead =
nullptr)
const = 0;
75 virtual tResult Write(
const void* pvBuffer,
size_t nBufferSize,
size_t* pnBytesWritten =
nullptr) = 0;
95 static const uint8_t m_ui8PlatformByteOrder;
99 typedef enum : uint8_t
#define UCOM_RESOLVE(...)
Resolve a path to a base class which is inherited multiple times.
Definition adtf_iid.h:46
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition object_intf.h:33
Definition stream_intf.h:54
ADTF_IID(IOutputStream, "output_stream.ant.ucom.adtf.iid")
virtual tResult Write(const void *pvBuffer, size_t nBufferSize, size_t *pnBytesWritten=nullptr)=0
Definition stream_intf.h:84
~IStream()=default
Protected destructor --> Only the final implementation can be destroyed!
virtual tResult Seek(tFilePos nPos, tSeekOrigin eOrigin, tFilePos *pNewPos=nullptr) const =0
ADTF_IID(IStream, "stream.ant.ucom.adtf.iid")
virtual tResult Flush()=0
virtual tResult Reset()=0
@ SF_NONE
no flags set.
Definition stream_intf.h:115
tSeekOrigin
Stream seek origin.
Definition stream_intf.h:100
@ SO_Current
The position is relative to the current stream position.
Definition stream_intf.h:105
@ SO_End
The position is relative to end of the stream.
Definition stream_intf.h:108
@ SO_Begin
The position origin is the beginning of the stream.
Definition stream_intf.h:102
Namespace for all functionality of the ADTF UCOM SDK provided since v3.0.
Definition test_runtime.h:14
Namespace for the ADTF uCOM SDK.
Definition adtf_system.h:324
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14