![]() |
mFrame
|
[Interface] 提供輸出串流的基本操作方法 更多...
#include <OutputStream.h>
公開方法(Public Methods) | |
virtual bool | abortWrite (void) override |
取消當前的輸出串流寫入 | |
virtual bool | writeBusy (void) override |
取得輸出串流是否為寫入忙碌 | |
virtual bool | write (ufm::lang::Readable &readable, void *attachment, ufm::io::CompletionHandler< int > *handler) override |
寫入資料到輸出串流 | |
bool | write (ufm::lang::Readable &readable, ufm::util::Future< int > &future) |
寫入資料到輸出串流,並使用Future來處理結果 | |
[Interface] 提供輸出串流的基本操作方法
|
pure virtual |
取消當前的輸出串流寫入
實作於 ufm::io::SerialPort::OutputStream, 及 ufm::io::SimpleOutputStream.
|
inline |
寫入資料到輸出串流,並使用Future來處理結果
readable | 可讀取的資料來源 |
future | 用於處理結果的Future物件 |
|
pure virtual |
寫入資料到輸出串流
readable | 可讀取的資料來源 |
attachment | 附加的資料 |
handler | 完成處理器 |
實作於 ufm::io::SerialPort::OutputStream, 及 ufm::io::SimpleOutputStream.
|
pure virtual |