C# Класс TUIO.TuioTime

* The TuioTime class is a simple structure that is used to reprent the time that has elapsed since the session start. * The time is internally represented as seconds and fractions of microseconds which should be more than sufficient for gesture related timing requirements. * Therefore at the beginning of a typical TUIO session the static method initSession() will set the reference time for the session. * Another important static method getSessionTime will return a TuioTime object representing the time elapsed since the session start. * The class also provides various addtional convience method, which allow some simple time arithmetics. *
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Equals ( TuioTime ttime ) : bool
TuioTime ( ) : System
TuioTime ( TuioTime ttime ) : System
TuioTime ( long msec ) : System
TuioTime ( long sec, long usec ) : System
getMicroseconds ( ) : long
getSeconds ( ) : long
getSessionTime ( ) : TuioTime
getStartTime ( ) : TuioTime
getSystemTime ( ) : TuioTime
getTotalMilliseconds ( ) : long
initSession ( ) : void
operator ( ) : TuioTime
reset ( ) : void

Описание методов

Equals() публичный Метод

public Equals ( TuioTime ttime ) : bool
ttime TuioTime
Результат bool

TuioTime() публичный Метод

public TuioTime ( ) : System
Результат System

TuioTime() публичный Метод

public TuioTime ( TuioTime ttime ) : System
ttime TuioTime
Результат System

TuioTime() публичный Метод

public TuioTime ( long msec ) : System
msec long
Результат System

TuioTime() публичный Метод

public TuioTime ( long sec, long usec ) : System
sec long
usec long
Результат System

getMicroseconds() публичный Метод

public getMicroseconds ( ) : long
Результат long

getSeconds() публичный Метод

public getSeconds ( ) : long
Результат long

getSessionTime() публичный статический Метод

public static getSessionTime ( ) : TuioTime
Результат TuioTime

getStartTime() публичный статический Метод

public static getStartTime ( ) : TuioTime
Результат TuioTime

getSystemTime() публичный статический Метод

public static getSystemTime ( ) : TuioTime
Результат TuioTime

getTotalMilliseconds() публичный Метод

public getTotalMilliseconds ( ) : long
Результат long

initSession() публичный статический Метод

public static initSession ( ) : void
Результат void

operator() публичный статический Метод

public static operator ( ) : TuioTime
Результат TuioTime

reset() публичный Метод

public reset ( ) : void
Результат void