-
Key: DDS-168
-
Legacy Issue Number: 7067
-
Status: closed
-
Source: THALES ( Virginie Watine)
-
Summary:
Issue [THALES]
{ ... readonly attribute boolean concerns_contained; [addition] ... }
As notification_scope has been removed from the ObjectHome (cf. issue ref-1049), it is necessary to pass the information whether the modification of objects inside a Selection should be appreciated only on the object basis, or on the object + its contained objects basis
clarification is requested regarding when the SelectionListener is activated
Proposal [THALES]
add a parameter concerns_contained when the Selection is created and add this characteristic in the selection attributes
add a paragraph to specify when the Selection Listener is activated
in SelectionListener::on_object_out, the ObjectRoot may no more exist, therefore passing the ObjectReference is better
Concrete changes
in IDL
local interface Selection;
{ ... [the following method is no more commented out for it will not be redefined in the derived implied IDL] void on_object_out ( in ObjectReference the_ref); [instead in ObjectRoot the_object] }
local interface SelectionListener;
in section 3.1.6.3.7 Selection
in the table, attribute list, add the following entry (as third attribute)
concerns_contained boolean
in the following text, starting with "It has the following attributes:"
add the following text at the end of the second bullet:
"; it is given at Selection creation time(cf. ObjectHome::create_selection)"
add a bullet in third position, with the following content:
"a boolean concerns_contained that indicates whether the Selection considers the modification of one of its members based on its content only (FALSE) or based on it content or the content of its contained objects (TRUE); it is given at Selection creation time(cf. ObjectHome::create_selection);"
add at the end of the section, the following paragraph:
"The SelectionListener is activated when the composition of the Selection is modified or when one of its members is modified. A member can be considered as modified, either only when it is itself modified or when itself or one of its contained objects is modifie (depending on the value of concerns_contained). Modifications in the Selection are considered with respects to the state of the Selection last time it was examined, i.e.:
add one bullet with the following text:
" at each incoming updates processing if autro_refresh is TRUE;"
add a second bullet with the following text:
"at each explicit call to refresh, if auto-refresh is FALSE." -
Reported: DDS 1.0b1 — Thu, 4 Mar 2004 05:00 GMT
-
Disposition: Resolved — DDS 1.0
-
Disposition Summary:
see below
-
Updated: Fri, 6 Mar 2015 21:40 GMT