このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XWeak
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: uno ::

interface XWeak
Description
the server-味方する interface to a weak 反対する.

This interface is proxy to the adapted 反対する. ーするために make it possible to have weak 言及/関連s to 反対するs, the XAdapter interface must be 器具/実施するd to 供給する a weak adapter for the (弁護士の)依頼人s.

概念 of weak 言及/関連ing:

This module 明示するs the interfaces for 器具/実施するing and using weak 言及/関連s.

The sense of weak 言及/関連s is to 持つ/拘留する a 言及/関連 to an 反対する without 影響する/感情ing the lifetime of the 反対する. That means that a weak 言及/関連 may become 無効の, at any time, if the 言及/関連d 反対する dies.

The に引き続いて interfaces 述べる one way to 扱う weak 言及/関連s by 供給するing a weak adapter. The weak 反対する has to 供給する this adapter if anyone wants to 持つ/拘留する a weak 言及/関連. To separate their lifetimes, the adapter and the 初めの 反対する must not 株 the same 言及/関連 反対する. The weak 言及/関連 is in fact only a hard 言及/関連 to the adapter, which knows - but does not 持つ/拘留する - the 初めの 反対する. That means that the 実施 and synchronization of weak 言及/関連ing is the 責任/義務 of the 反対する. The に引き続いて interfaces are 伴う/関わるd in the 概念 of weak 言及/関連ing:

XWeak
is the server-味方する interface of the referred 反対する. This referred 反対する must support the XAdapter interface.
XReference
is a (弁護士の)依頼人-味方する interface which must be 器具/実施するd by the 支えるもの/所有者 of any weak 言及/関連. It is used for notification when the adapted 反対する dies.

Developers Guide
ProUNO - Lifetime of UNO 反対するs
WritingUNO - XWeak
ProUNO - C++ - Using Weak 言及/関連s
WritingUNO - 核心 Interfaces to 器具/実施する

Methods' 要約
queryAdapter queries the weak adapter.  
Methods' 詳細(に述べる)s
queryAdapter
XAdapter
queryAdapter();

Description
queries the weak adapter.

It is important that the adapter must know, but not 持つ/拘留する the adapted 反対する. If the adapted 反対する dies, all 言及/関連s to the adapter have to be 通知するd to 解放(する) the adapter.

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.