mFrame
載入中...
搜尋中...
無符合項目
mframe::lang::StringFormat 類別 參考文件final
類別mframe::lang::StringFormat的繼承圖:
mframe::lang::Object mframe::lang::Interface

公開方法(Public Methods)

virtual ~StringFormat (void) override
 Destroy the String Format object.
 
- 公開方法(Public Methods) 繼承自 mframe::lang::Object
 Object (void)
 Construct a new Object object.
 
virtual ~Object (void) override
 Destroy the Object object.
 
void * operator new (size_t n)
 
void * operator new (size_t n, void *p)
 
mframe::lang::ObjectgetObject (void) override
 取得類Object
 
void delay (int milliseconds) const
 函數 delay 等待內核滴答中指定的時間段。 對於1的值,系統等待直到下一個計時器滴答發生。 實際時間延遲最多可能比指定時間少一個計時器滴答聲,即在下一個系統滴答聲發生之前立即調用 osDelay(1),線程會立即重新安排。
 
bool equals (Object *object) const
 函數 delay 等待內核滴答中指定的時間段。 對於1的值,系統等待直到下一個計時器滴答發生。 實際時間延遲最多可能比指定時間少一個計時器滴答聲,即在下一個系統滴答聲發生之前立即調用 osDelay(1),線程會立即重新安排。
 
bool equals (Object &object) const
 函數 delay 等待內核滴答中指定的時間段。 對於1的值,系統等待直到下一個計時器滴答發生。 實際時間延遲最多可能比指定時間少一個計時器滴答聲,即在下一個系統滴答聲發生之前立即調用 osDelay(1),線程會立即重新安排。
 
void wait (void) const
 導致當前線程等待,直到另一個線程調用此對象的notify()方法或notifyAll()方法,或指定的時間 已過。
 
bool wait (int timeout) const
 導致當前線程等待,直到另一個線程調用此對象的 notify()方法或 notifyAll()方法,或其他一些線 程中斷當前線程,或一定量的實時時間。
 
bool yield (void) const
 函數yield()將控制權傳遞給處於READY狀態且具有相同優先級的下一個線程。 如果在READY狀態下沒有其他優先級相同的線程,則當前線程繼續執行,不會發生線程切換。
 
int lock (void) const
 核心鎖定,在調用unlock以前將不會進行執行緒切換
 
int unlock (void) const
 核心解鎖。
 
mframe::sys::ThreadcurrentThread (void) const
 取得當前的執行緒
 
virtual int hashcode (void) const
 返回對象的哈希碼值。支持這種方法是為了散列表,如HashMap提供的那樣。
 
- 公開方法(Public Methods) 繼承自 mframe::lang::Interface
virtual ~Interface (void)=default
 Destroy the struct object.
 

靜態公開方法(Static Public Methods)

static int pointerVa (void *buffer, size_t bufferSize, const char *format, va_list args)
 
static int memoryVa (const mframe::lang::Memory &memory, const char *format, va_list args)
 
static int writeBufferVa (mframe::lang::Appendable &appendable, const char *format, va_list args)
 
static int pointer (void *buffer, uint32 bufferSize, const char *format,...)
 
static int memory (const mframe::lang::Memory &memory, const char *format,...)
 
static int writeBuffer (mframe::lang::Appendable &appendable, const char *format,...)
 
static int scanVa (const char *src, const char *format, va_list args)
 
static int scan (const char *src, const char *format,...)
 
static int size (const char *src)
 
static bool isEmpty (const char *src)
 

函式成員說明文件

◆ memory()

static int mframe::lang::StringFormat::memory ( const mframe::lang::Memory & memory,
const char * format,
... )
static
參數
memory
format
...
傳回值
int

◆ memoryVa()

static int mframe::lang::StringFormat::memoryVa ( const mframe::lang::Memory & memory,
const char * format,
va_list args )
static
參數
memory
format
arg
傳回值
int

◆ pointer()

static int mframe::lang::StringFormat::pointer ( void * buffer,
uint32 bufferSize,
const char * format,
... )
static
參數
buffer
bufferSize
format
...
傳回值
int

◆ pointerVa()

static int mframe::lang::StringFormat::pointerVa ( void * buffer,
size_t bufferSize,
const char * format,
va_list args )
static
參數
buffer
bufferSize
format
arg
傳回值
int

◆ scan()

static int mframe::lang::StringFormat::scan ( const char * src,
const char * format,
... )
static
參數
src
format
...
傳回值
int

◆ scanVa()

static int mframe::lang::StringFormat::scanVa ( const char * src,
const char * format,
va_list args )
static
參數
src
format
args
傳回值
int

◆ writeBuffer()

static int mframe::lang::StringFormat::writeBuffer ( mframe::lang::Appendable & appendable,
const char * format,
... )
static
參數
writeBuffer
format
...
傳回值
int

◆ writeBufferVa()

static int mframe::lang::StringFormat::writeBufferVa ( mframe::lang::Appendable & appendable,
const char * format,
va_list args )
static
參數
appendable
format
arg
傳回值
int

此類別(class) 文件是由下列檔案中產生: