Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Methods of Class Condition


Condition
Condition();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


~Condition
~Condition();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


set
void set();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


reset
void reset();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO


wait
Result wait(
const TimeValue * pTimeout = 0 );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Blocks the calling thread until condition is set.

check
sal_Bool check();

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO YES NO

Summary
Checks if the condition is set without blocking.

Condition
Condition(
const Condition & );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
The underlying oslCondition has no reference count.

Description
Since the underlying oslCondition is not a reference counted object, copy
constructed Condition may work on an already destructed oslCondition object.


Condition
Condition(
oslCondition condition );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
The underlying oslCondition has no reference count.

Description
When destructed, the Condition object destroys the undelying oslCondition,
which might cause severe problems in case it's a temporary object.
 

operator=
Condition & operator=(
const Condition & );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
This assignment operator is private for the same reason as
the copy constructor.

operator=
Condition & operator=(
oslCondition );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO NO

Summary
This assignment operator is private for the same reason as
the constructor taking a oslCondition argument.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.