7#ifndef MFRAME_90F75476_6982_4BDD_B9ED_0A250FE9C324
8#define MFRAME_90F75476_6982_4BDD_B9ED_0A250FE9C324
17#include "./../func/Runnable.h"
18#include "./../io/InputStream.h"
19#include "./../io/PrintStream.h"
20#include "./../lang/Object.h"
21#include "./../sys/Svcexec.h"
22#include "./../sys/SystemProvider.h"
23#include "./../util/Application.h"
96 virtual void run(
void)
override;
111 this->vDelay = value;
141 return this->vSvcexec.
execute(task);
194 return *Svchost::vInstance;
物件基底類別
Definition Object.h:63
bool execute(ufm::func::Runnable &task)
在服務主機中執行使用者事件
Definition Svcexec.h:84
系統服務主機
Definition Svchost.h:49
bool flush(void)
Flushes this stream by writing any buffered output to the underlying stream.
Svchost & setServiceDelay(int value)
設定服務執行時間週期,預設10ms執行一次
Definition Svchost.h:110
virtual void run(void) override
執行方法
bool execute(ufm::func::Runnable &task)
在服務主機中執行使用者事件
Definition Svchost.h:140
virtual ~Svchost(void) override
釋放Svchost對象資源的解構子
int getServiceDelay(void)
獲取當前設定的服務延遲時間
Definition Svchost.h:120
static void instantiation(SystemProvider &provider)
類單例實例化。
static Svchost & getInstance(void)
取得CoreChip的實例
Definition Svchost.h:193
uint32 seconds(void) const
取得當前時間(微秒,64位)
Definition Svchost.h:166
uint64 microseconds(void) const
取得當前時間(微秒,64位)
Definition Svchost.h:157
應用程式管理器 管理所有應用程式實例的生命週期,包括創建、初始化、執行、停止、銷毀。 以 PArraySet 儲存並管理。
Definition Application.h:42
系統功能相關的命名空間
Definition Object.h:31
[Interface] 可執行函數式介面
Definition Runnable.h:40
virtual uint64 microseconds(void) const override
取得啟動至今的微秒數
virtual uint32 seconds(void) const override
取得啟動至今的秒數
系統資源提供者抽象介面
Definition SystemProvider.h:44
virtual ufm::lang::Clock & clock(void) override
取得系統時鐘 (Clock)