1 \section{\class{wxCondition
}}\label{wxcondition
}
5 \wxheading{Derived from
}
11 \helpref{wxThread
}{wxthread
},
\helpref{wxMutex
}{wxmutex
}
13 \latexignore{\rtfignore{\wxheading{Members
}}}
15 \membersection{wxCondition::wxCondition
}\label{wxconditionconstr
}
17 \func{}{wxCondition
}{\void}
21 \membersection{wxCondition::
\destruct{wxCondition
}}
23 \func{}{\destruct{wxCondition
}}{\void}
25 Destroys the wxCondition object.
27 \membersection{wxCondition::Broadcast
}\label{wxconditionbroadcast
}
29 \func{void
}{Broadcast
}{\void}
31 Broadcasts to all waiting objects.
33 \membersection{wxCondition::Signal
}\label{wxconditionsignal
}
35 \func{void
}{Signal
}{\void}
39 \membersection{wxCondition::Wait
}\label{wxconditionwait
}
41 \func{void
}{Wait
}{\param{wxMutex\&
}{ mutex
}}
45 \func{bool
}{Wait
}{\param{wxMutex\&
}{ mutex
},
\param{unsigned long
}{ sec
},
\param{unsigned long
}{ nsec
}}
47 Waits until a signal is raised or the timeout has elapsed.
49 \wxheading{Parameters
}
51 \docparam{mutex
}{wxMutex object.
}
53 \docparam{sec
}{Timeout in seconds
}
55 \docparam{nsec
}{Timeout nanoseconds component (added to
{\it sec
}).
}
57 \wxheading{Return value
}
59 The second form returns if the signal was raised, or FALSE if there was a timeout.