Class tcustomapplication
Unit
Declaration
type tcustomapplication = class(tmsecomponent)
Description
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tcustomapplication
Overview
Fields
![]() |
flockcount: integer; |
![]() |
foptions: applicationoptionsty; |
![]() |
fthread: threadty; |
![]() |
fstate: applicationstatesty; |
![]() |
fwaitcount: integer; |
![]() |
fserial: card32; |
![]() |
fnoignorewaitevents: integer; |
![]() |
fonterminatedlist: tnotifylist; |
![]() |
fonterminatequerylist: tonterminatequerylist; |
![]() |
fonidlelist: tonidlelist; |
![]() |
fonapplicationeventlist: tonapplicationeventlist; |
![]() |
ftimertriggercount: integer; |
Methods
![]() |
procedure receiveevent(const event: tobjectevent); override; |
![]() |
procedure flusheventbuffer; |
![]() |
procedure doidle; |
![]() |
procedure sethighrestimer(const avalue: boolean); virtual; abstract; |
![]() |
procedure dopostevent(const aevent: tmseevent); virtual; abstract; |
![]() |
function getevents: integer; virtual; abstract; |
![]() |
procedure doeventloop(const once: boolean); virtual; abstract; |
![]() |
procedure incidlecount; |
![]() |
procedure dobeforerun; virtual; |
![]() |
procedure doafterrun; virtual; |
![]() |
procedure dowakeup(sender: tobject); |
![]() |
procedure internalinitialize; virtual; |
![]() |
procedure internaldeinitialize; virtual; |
![]() |
procedure objecteventdestroyed(const sender: tobjectevent); virtual; |
![]() |
procedure resettimertrigger; |
![]() |
constructor create(aowner: tcomponent); override; |
![]() |
destructor destroy; override; |
![]() |
procedure beforedestruction() override; |
![]() |
procedure initialize; |
![]() |
procedure deinitialize; |
![]() |
procedure beginhighrestimer; |
![]() |
procedure endhighrestimer; |
![]() |
function procid: procidty; |
![]() |
function getserial(): card32; |
![]() |
function createdatamodule(instanceclass: msecomponentclassty; var reference): tmsecomponent; |
![]() |
procedure run; |
![]() |
function running: boolean; |
![]() |
procedure processmessages; virtual; |
![]() |
function idle: boolean; virtual; |
![]() |
function modallevel: integer; virtual; abstract; |
![]() |
procedure postevent(event: tmseevent; const aoptions: posteventoptionsty = []); |
![]() |
function checkoverload(const asleepus: integer = 100000): boolean; |
![]() |
procedure handleexception(sender: tobject = nil; const leadingtext: msestring = ''); |
![]() |
procedure showexception(e: exception; const leadingtext: msestring = ''); virtual; abstract; |
![]() |
procedure errormessage(const amessage: msestring); virtual; abstract; |
![]() |
procedure registeronterminated(const method: notifyeventty); |
![]() |
procedure unregisteronterminated(const method: notifyeventty); |
![]() |
procedure registeronterminate(const method: terminatequeryeventty); |
![]() |
procedure unregisteronterminate(const method: terminatequeryeventty); |
![]() |
procedure registeronidle(const method: idleeventty); |
![]() |
procedure unregisteronidle(const method: idleeventty); |
![]() |
procedure registerapplicationeventhandler( const method: applicationeventhandlereventty); |
![]() |
procedure unregisterapplicationeventhandler( const method: applicationeventhandlereventty); |
![]() |
procedure settimer(const us: integer); virtual; |
![]() |
function islockedthread: boolean; |
![]() |
function islockedmainthread: boolean; |
![]() |
function trylock: boolean; |
![]() |
function lock: boolean; |
![]() |
function unlock: boolean; |
![]() |
function unlockall: integer virtual; |
![]() |
procedure relockall(count: integer) virtual; |
![]() |
procedure lockifnotmainthread; |
![]() |
procedure unlockifnotmainthread; |
![]() |
function synchronize(const proc: proceventty; const quiet: boolean = false; const aoptions: posteventoptionsty = []): boolean; |
![]() |
function synchronize(const proc: synchronizeeventty; const data: pointer; const quiet: boolean = false; const aoptions: posteventoptionsty = []): boolean; |
![]() |
function synchronize(const proc: synchronizeprocty; const data: pointer; const quiet: boolean = false; const aoptions: posteventoptionsty = []): boolean; |
![]() |
procedure queueasynccall(const proc: proceventty; const aoptions: posteventoptionsty = []); |
![]() |
procedure queueasynccall(const proc: synchronizeeventty; const data: pointer; const aoptions: posteventoptionsty = []); |
![]() |
procedure queueasynccall(const proc: synchronizeprocty; const data: pointer; const aoptions: posteventoptionsty = []); |
![]() |
procedure releaseobject(const aobject: tobject); |
![]() |
function ismainthread: boolean; |
![]() |
function islockthread: boolean; |
![]() |
procedure waitforthread(athread: tmsethread); |
![]() |
function semwait(var sem: semty; timeoutusec: integer): syserrorty; |
![]() |
procedure wakeupmainthread; |
![]() |
procedure langchanged; virtual; |
![]() |
procedure beginwait(const aprocessmessages: boolean = false); virtual; |
![]() |
procedure endwait; virtual; |
![]() |
function waitescaped: boolean; virtual; |
![]() |
procedure idlesleep(const asleepus: integer); |
![]() |
function candefocus(const caller: tobject=nil): boolean; virtual; |
Properties
![]() |
property eventlist: teventlist read feventlist; |
![]() |
property highrestimer: boolean read gethighrestimer; |
![]() |
property applicationname: msestring read fapplicationname
write fapplicationname; |
![]() |
property terminated: boolean read getterminated write setterminated; |
![]() |
property mainthread: threadty read fthread; |
![]() |
property lockthread: threadty read flockthread; |
![]() |
property lockcount: integer read flockcount; |
![]() |
property exceptioncount: integer read fexceptioncount; |
![]() |
property options: applicationoptionsty read foptions write foptions; |
![]() |
property onexception: exceptioneventty read fonexception write fonexception; |
Description
Fields
![]() |
flockcount: integer; |
![]() |
foptions: applicationoptionsty; |
![]() |
fthread: threadty; |
![]() |
fstate: applicationstatesty; |
![]() |
fwaitcount: integer; |
![]() |
fserial: card32; |
![]() |
fnoignorewaitevents: integer; |
![]() |
fonterminatedlist: tnotifylist; |
![]() |
fonterminatequerylist: tonterminatequerylist; |
![]() |
fonidlelist: tonidlelist; |
![]() |
fonapplicationeventlist: tonapplicationeventlist; |
![]() |
ftimertriggercount: integer; |
Methods
![]() |
procedure receiveevent(const event: tobjectevent); override; |
![]() |
procedure flusheventbuffer; |
![]() |
procedure doidle; |
![]() |
procedure sethighrestimer(const avalue: boolean); virtual; abstract; |
![]() |
procedure dopostevent(const aevent: tmseevent); virtual; abstract; |
![]() |
function getevents: integer; virtual; abstract; |
![]() |
procedure doeventloop(const once: boolean); virtual; abstract; |
![]() |
procedure incidlecount; |
![]() |
procedure dobeforerun; virtual; |
![]() |
procedure doafterrun; virtual; |
![]() |
procedure dowakeup(sender: tobject); |
![]() |
procedure internalinitialize; virtual; |
![]() |
procedure internaldeinitialize; virtual; |
![]() |
procedure objecteventdestroyed(const sender: tobjectevent); virtual; |
![]() |
procedure resettimertrigger; |
![]() |
constructor create(aowner: tcomponent); override; |
![]() |
destructor destroy; override; |
![]() |
procedure beforedestruction() override; |
![]() |
procedure initialize; |
![]() |
procedure deinitialize; |
![]() |
procedure beginhighrestimer; |
![]() |
procedure endhighrestimer; |
![]() |
function procid: procidty; |
![]() |
function getserial(): card32; |
![]() |
function createdatamodule(instanceclass: msecomponentclassty; var reference): tmsecomponent; |
![]() |
procedure run; |
![]() |
function running: boolean; |
![]() |
procedure processmessages; virtual; |
![]() |
function idle: boolean; virtual; |
![]() |
function modallevel: integer; virtual; abstract; |
![]() |
procedure postevent(event: tmseevent; const aoptions: posteventoptionsty = []); |
![]() |
function checkoverload(const asleepus: integer = 100000): boolean; |
![]() |
procedure handleexception(sender: tobject = nil; const leadingtext: msestring = ''); |
![]() |
procedure showexception(e: exception; const leadingtext: msestring = ''); virtual; abstract; |
![]() |
procedure errormessage(const amessage: msestring); virtual; abstract; |
![]() |
procedure registeronterminated(const method: notifyeventty); |
![]() |
procedure unregisteronterminated(const method: notifyeventty); |
![]() |
procedure registeronterminate(const method: terminatequeryeventty); |
![]() |
procedure unregisteronterminate(const method: terminatequeryeventty); |
![]() |
procedure registeronidle(const method: idleeventty); |
![]() |
procedure unregisteronidle(const method: idleeventty); |
![]() |
procedure registerapplicationeventhandler( const method: applicationeventhandlereventty); |
![]() |
procedure unregisterapplicationeventhandler( const method: applicationeventhandlereventty); |
![]() |
procedure settimer(const us: integer); virtual; |
![]() |
function islockedthread: boolean; |
![]() |
function islockedmainthread: boolean; |
![]() |
function trylock: boolean; |
![]() |
function lock: boolean; |
![]() |
function unlock: boolean; |
![]() |
function unlockall: integer virtual; |
![]() |
procedure relockall(count: integer) virtual; |
![]() |
procedure lockifnotmainthread; |
![]() |
procedure unlockifnotmainthread; |
![]() |
function synchronize(const proc: proceventty; const quiet: boolean = false; const aoptions: posteventoptionsty = []): boolean; |
![]() |
function synchronize(const proc: synchronizeeventty; const data: pointer; const quiet: boolean = false; const aoptions: posteventoptionsty = []): boolean; |
![]() |
function synchronize(const proc: synchronizeprocty; const data: pointer; const quiet: boolean = false; const aoptions: posteventoptionsty = []): boolean; |
![]() |
procedure queueasynccall(const proc: proceventty; const aoptions: posteventoptionsty = []); |
![]() |
procedure queueasynccall(const proc: synchronizeeventty; const data: pointer; const aoptions: posteventoptionsty = []); |
![]() |
procedure queueasynccall(const proc: synchronizeprocty; const data: pointer; const aoptions: posteventoptionsty = []); |
![]() |
procedure releaseobject(const aobject: tobject); |
![]() |
function ismainthread: boolean; |
![]() |
function islockthread: boolean; |
![]() |
procedure waitforthread(athread: tmsethread); |
![]() |
function semwait(var sem: semty; timeoutusec: integer): syserrorty; |
![]() |
procedure wakeupmainthread; |
![]() |
procedure langchanged; virtual; |
![]() |
procedure beginwait(const aprocessmessages: boolean = false); virtual; |
![]() |
procedure endwait; virtual; |
![]() |
function waitescaped: boolean; virtual; |
![]() |
procedure idlesleep(const asleepus: integer); |
![]() |
function candefocus(const caller: tobject=nil): boolean; virtual; |
Properties
![]() |
property eventlist: teventlist read feventlist; |
![]() |
property highrestimer: boolean read gethighrestimer; |
![]() |
property applicationname: msestring read fapplicationname
write fapplicationname; |
![]() |
property terminated: boolean read getterminated write setterminated; |
![]() |
property mainthread: threadty read fthread; |
![]() |
property lockthread: threadty read flockthread; |
![]() |
property lockcount: integer read flockcount; |
![]() |
property exceptioncount: integer read fexceptioncount; |
![]() |
property options: applicationoptionsty read foptions write foptions; |
![]() |
property onexception: exceptioneventty read fonexception write fonexception; |
Generated by PasDoc 0.16.0.

