BIOSStream Class Reference
[Data Model]

#include <support/IOSStream.h>

Inheritance diagram for BIOSStream:

BnByteOutput BnByteInput BnInterface< IByteOutput > BnInterface< IByteInput > IByteOutput BBinder IByteInput BBinder IInterface IBinder IInterface IBinder SAtom SAtom SAtom SAtom List of all members.

Detailed Description

Byte input and output streams on an IOS device.


Public Member Functions

 BIOSStream (int32_t descriptor, uint32_t flags=0)
virtual int32_t FileDescriptor () const
virtual SValue Inspect (const sptr< IBinder > &caller, const SValue &which, uint32_t flags=0)
 Probe binder for interface information.
virtual ssize_t ReadV (const struct iovec *vector, ssize_t count, uint32_t flags=0)
virtual status_t Sync ()
 Make sure all data in the stream is written to its physical device.
virtual ssize_t WriteV (const struct iovec *vector, ssize_t count, uint32_t flags=0)
virtual ~BIOSStream ()


Constructor & Destructor Documentation

BIOSStream int32_t  descriptor,
uint32_t  flags = 0
 

~BIOSStream  )  [virtual]
 


Member Function Documentation

int32_t FileDescriptor  )  const [virtual]
 

SValue Inspect const sptr< IBinder > &  caller,
const SValue which,
uint32_t  flags = 0
[virtual]
 

Probe binder for interface information.

Return interfaces implemented by this binder object that are requested by which. This is a composition of all interfaces, expressed as { descriptor -> binder } mappings, which are selected through which.

Much more information on Inspect() can be found at Binder Inspect() Details.

Reimplemented from BnInterface< IByteOutput >.

ssize_t ReadV const struct iovec *  vector,
ssize_t  count,
uint32_t  flags = 0
[virtual]
 

status_t Sync  )  [virtual]
 

Make sure all data in the stream is written to its physical device.

Returns B_OK if the data is safely stored away, else an error code.

Implements IByteOutput.

ssize_t WriteV const struct iovec *  vector,
ssize_t  count,
uint32_t  flags = 0
[virtual]
 


The documentation for this class was generated from the following files: