]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/conditn.tex
a bit more docs
[wxWidgets.git] / docs / latex / wx / conditn.tex
... / ...
CommitLineData
1\section{\class{wxCondition}}\label{wxcondition}
2
3TODO
4
5\wxheading{Derived from}
6
7None.
8
9\wxheading{See also}
10
11\helpref{wxThread}{wxthread}, \helpref{wxMutex}{wxmutex}
12
13\latexignore{\rtfignore{\wxheading{Members}}}
14
15\membersection{wxCondition::wxCondition}\label{wxconditionconstr}
16
17\func{}{wxCondition}{\void}
18
19Default constructor.
20
21\membersection{wxCondition::\destruct{wxCondition}}
22
23\func{}{\destruct{wxCondition}}{\void}
24
25Destroys the wxCondition object.
26
27\membersection{wxCondition::Broadcast}\label{wxconditionbroadcast}
28
29\func{void}{Broadcast}{\void}
30
31Broadcasts to all waiting objects.
32
33\membersection{wxCondition::Signal}\label{wxconditionsignal}
34
35\func{void}{Signal}{\void}
36
37Signals the object.
38
39\membersection{wxCondition::Wait}\label{wxconditionwait}
40
41\func{void}{Wait}{\param{wxMutex\&}{ mutex}}
42
43Waits indefinitely.
44
45\func{bool}{Wait}{\param{wxMutex\&}{ mutex}, \param{unsigned long}{ sec}, \param{unsigned long}{ nsec}}
46
47Waits until a signal is raised or the timeout has elapsed.
48
49\wxheading{Parameters}
50
51\docparam{mutex}{wxMutex object.}
52
53\docparam{sec}{Timeout in seconds}
54
55\docparam{nsec}{Timeout nanoseconds component (added to {\it sec}).}
56
57\wxheading{Return value}
58
59The second form returns if the signal was raised, or FALSE if there was a timeout.
60
61