mFrame
載入中...
搜尋中...
無符合項目
mframe::io::CompletionHandler< R > 結構 樣版 參考文件abstract
類別mframe::io::CompletionHandler< R >的繼承圖:
mframe::lang::Interface

公開方法(Public Methods)

virtual void completed (R &result, void *attachment) override
 Invoked when an operation has completed.
 
virtual void failed (void *attachment) override
 Invoked when an operation fails.
 
- 公開方法(Public Methods) 繼承自 mframe::lang::Interface
virtual ~Interface (void)=default
 Destroy the struct object.
 
virtual mframe::lang::ObjectgetObject (void) override
 取得類Object
 

函式成員說明文件

◆ completed()

template<typename R = Interface>
virtual void mframe::io::CompletionHandler< R >::completed ( R & result,
void * attachment )
pure virtual

Invoked when an operation has completed.

參數
resultThe result of the I/O operation.
attachmentThe object attached to the I/O operation when it was initiated.

實作於 mframe::sys::Svchost, 及 mframe::util::PFuture.

◆ failed()

template<typename R = Interface>
virtual void mframe::io::CompletionHandler< R >::failed ( void * attachment)
pure virtual

Invoked when an operation fails.

參數
attachmentThe object attached to the I/O operation when it was initiated.

實作於 mframe::sys::Svchost, 及 mframe::util::PFuture.


此結構(structure) 文件是由下列檔案中產生: