(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.