Important: The information in this document is obsolete and should not be used for new development.
GetStreamStatus
Retrieves the current status flags for this Cyberdog stream.
StreamStatus GetStreamStatus ();
- return value
- A set of status flags, expressed as a 16-bit integer.
DISCUSSION
This method returns the current status of the stream as a set of flags. You can use the logical&operator to determine whether a particular flag is set. The following example callsGetStreamStatusand then tests thekCDDataAvailableflag:
StreamStatus status; status = fStream->GetStreamStatus (ev); if (status & kCDDataAvailable) { ... }GetStreamStatusmay be called at interrupt time.If you subclass
CyberStream, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheStreamStatustype (page 179).