Embedded Python Real-Time FrameWork : API
Build 20250616.1
|
Classes | |
class | pyRT.gatea.sys.GLcommon.Binding |
A collection of event handler functions and methods to Bind() and Unbind() the handlers to a particular event. More... | |
class | pyRT.gatea.sys.GLcommon.DSTCalendar |
DST Calendar as list of [ UnixTime, gmt_offset ] tuples. More... | |
class | pyRT.gatea.sys.GLcommon.GLelapsed |
Calculates the time elapsed in millis. More... | |
Namespaces | |
pyRT.gatea.sys.GLcommon | |
Commonly used routines. | |
Functions | |
def | pyRT.gatea.sys.GLcommon.AddDict |
Add dict d2 to d1. More... | |
def | pyRT.gatea.sys.GLcommon.CallStack |
Debugging : Dump Call Stack to list using traceback. More... | |
def | pyRT.gatea.sys.GLcommon.CallStack2 |
Debugging : Dump Call Stack to list using inspect. More... | |
def | pyRT.gatea.sys.GLcommon.CpuTime |
Return amount of CPU time used by process. More... | |
def | pyRT.gatea.sys.GLcommon.CurrentThreadID |
Return current thread ID. More... | |
def | pyRT.gatea.sys.GLcommon.DateTime |
Return string-ified time as YYYY-MM-DD HH:MM:SS. More... | |
def | pyRT.gatea.sys.GLcommon.DateTimeMs |
Return string-ified time as YYYY-MM-DD HH:MM:SS.mmm. More... | |
def | pyRT.gatea.sys.GLcommon.DateTimeUs |
Return string-ified time as YYYY-MM-DD HH:MM:SS.uuuuuu. More... | |
def | pyRT.gatea.sys.GLcommon.FmtIntToSize |
Formats integer quantities to user-defined lengths, appending K, G, T. More... | |
def | pyRT.gatea.sys.GLcommon.FmtQty |
Formats quantities into readable comma-separated thousands, hundreds, etc. More... | |
def | pyRT.gatea.sys.GLcommon.GetIdx |
Return a process-wide unique index. More... | |
def | pyRT.gatea.sys.GLcommon.HexDump |
Return hexDump of binary message. More... | |
def | pyRT.gatea.sys.GLcommon.InRange |
Return True if b is in the closed interval between a and c inclusive. More... | |
def | pyRT.gatea.sys.GLcommon.IsNone |
Return True if 'v' is None. More... | |
def | pyRT.gatea.sys.GLcommon.IsPY3 |
Return True if Python 3.x. More... | |
def | pyRT.gatea.sys.GLcommon.LOG |
Log a message Log a message in log file and optionally Console. More... | |
def | pyRT.gatea.sys.GLcommon.MicroTime |
Returns time.clock() if WIN32 and _bWin32Clock is True; time.time() if not. More... | |
def | pyRT.gatea.sys.GLcommon.ProgressBar |
def | pyRT.gatea.sys.GLcommon.PyClock |
PyVer-agnostic time.clock() More... | |
def | pyRT.gatea.sys.GLcommon.ReadFile |
Open and read file as ASCII. More... | |
def | pyRT.gatea.sys.GLcommon.RollLogFile |
Roll the log file. More... | |
def | pyRT.gatea.sys.GLcommon.SetDriftPerHr |
Set drift / hour to MicroTime() clock to compenstate for drifting time.clock() More... | |
def | pyRT.gatea.sys.GLcommon.SetLog |
Initialize Global Log File. More... | |
def | pyRT.gatea.sys.GLcommon.Str2HMS |
Break HH:MM:SS string into [ h, m, s ]. More... | |
def | pyRT.gatea.sys.GLcommon.Str2Time |
Convert string-ified YYYY-MM-DD HH:MM:SS.mmm to Unix Time. More... | |
def | pyRT.gatea.sys.GLcommon.Str2Time_OBSOLETE |
def | pyRT.gatea.sys.GLcommon.SubDict |
Subtract dict d2 from d1. More... | |
def | pyRT.gatea.sys.GLcommon.Time |
Return string-ified time as HH:MM:SS. More... | |
def | pyRT.gatea.sys.GLcommon.Time2Mark |
Return millis to user-supplied HH:MM:SS. More... | |
def | pyRT.gatea.sys.GLcommon.TimeMs |
Return string-ified time as HH:MM:SS.mmm. More... | |
def | pyRT.gatea.sys.GLcommon.TimeUs |
Return string-ified time as HH:MM:SS.uuuuuu. More... | |
def | pyRT.gatea.sys.GLcommon.tStart |
Returns ntp-anchroed time used for basis of MicroTime() clock. More... | |
def | pyRT.gatea.sys.GLcommon.uDrift |
Returns current calculated drift in MicroTime() clock. More... | |
def | pyRT.gatea.sys.GLcommon.uDriftPerSec |
Returns current calculated drift / sec from MicroTime() clock. More... | |
def | pyRT.gatea.sys.GLcommon.WithinRange |
Ensure b is in the closed interval between a and c inclusive. More... | |
def | pyRT.gatea.sys.GLcommon.Xdefaults |
Parse .Xdefaults type config file. More... | |