]>
Commit | Line | Data |
---|---|---|
1 | \section{\class{wxCondition}}\label{wxcondition} | |
2 | ||
3 | TODO | |
4 | ||
5 | \wxheading{Derived from} | |
6 | ||
7 | None. | |
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 | ||
19 | Default constructor. | |
20 | ||
21 | \membersection{wxCondition::\destruct{wxCondition}} | |
22 | ||
23 | \func{}{\destruct{wxCondition}}{\void} | |
24 | ||
25 | Destroys the wxCondition object. | |
26 | ||
27 | \membersection{wxCondition::Broadcast}\label{wxconditionbroadcast} | |
28 | ||
29 | \func{void}{Broadcast}{\void} | |
30 | ||
31 | Broadcasts to all waiting objects. | |
32 | ||
33 | \membersection{wxCondition::Signal}\label{wxconditionsignal} | |
34 | ||
35 | \func{void}{Signal}{\void} | |
36 | ||
37 | Signals the object. | |
38 | ||
39 | \membersection{wxCondition::Wait}\label{wxconditionwait} | |
40 | ||
41 | \func{void}{Wait}{\param{wxMutex\&}{ mutex}} | |
42 | ||
43 | Waits indefinitely. | |
44 | ||
45 | \func{bool}{Wait}{\param{wxMutex\&}{ mutex}, \param{unsigned long}{ sec}, \param{unsigned long}{ nsec}} | |
46 | ||
47 | Waits 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 | ||
59 | The second form returns if the signal was raised, or FALSE if there was a timeout. | |
60 | ||
61 |