|
ADTF
|
#include <stream_intf.h>
Inherits adtf::ucom::ant::IObject.
Inherited by adtf::ucom::ant::IStream.
Public Member Functions | |
| ADTF_IID (IOutputStream, "output_stream.ant.ucom.adtf.iid") | |
| virtual tResult | Write (const void *pvBuffer, size_t nBufferSize, size_t *pnBytesWritten=nullptr)=0 |
Public Member Functions inherited from adtf::ucom::ant::IObject | |
| ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Additional Inherited Members | |
Protected Member Functions inherited from adtf::ucom::ant::IObject | |
| ~IObject ()=default | |
| Protected destructor --> Only the final implementation can be destroyed! | |
An interface for writing data to a stream.
| adtf::ucom::ant::IOutputStream::ADTF_IID | ( | IOutputStream | , |
| "output_stream.ant.ucom.adtf.iid" | ) |
Marks the IOutputStream to be castable with the ucom_cast<>
|
pure virtual |
Write data to stream. The Write method writes data to a stream.
| pvBuffer | [in] Pointer to an existing buffer. |
| nBufferSize | [in] Size in bytes of the existing buffer. |
| pnBytesWritten | [in,out] Pointer to a variable that receives the number of bytes that actually have been written. |