9 #ifndef CMZN_SELECTION_HPP__ 
   10 #define CMZN_SELECTION_HPP__ 
   12 #include "zinc/selection.h" 
   28     cmzn_selectionevent_id id;
 
   36     explicit Selectionevent(cmzn_selectionevent_id in_selection_event_id) :
 
   37         id(in_selection_event_id)
 
   41         id(cmzn_selectionevent_access(selectionEvent.id))
 
   67         cmzn_selectionevent_id temp_id = cmzn_selectionevent_access(selectionEvent.id);
 
   70             cmzn_selectionevent_destroy(&
id);
 
   80             cmzn_selectionevent_destroy(&
id);
 
   99     cmzn_selectionevent_id 
getId()
 const 
  116         return static_cast<ChangeFlag>(cmzn_selectionevent_get_change_flags(
id));
 
  136     static void C_callback(cmzn_selectionevent_id selectionevent_id, 
void *callbackVoid)
 
  138         Selectionevent selectionevent(cmzn_selectionevent_access(selectionevent_id));
 
  140         (*callback)(selectionevent);
 
  143   virtual void operator()(
const Selectionevent &selectionevent) = 0;
 
  163     cmzn_selectionnotifier_id id;
 
  172         id(in_selectionnotifier_id)
 
  176         id(cmzn_selectionnotifier_access(selectionNotifier.id))
 
  181         cmzn_selectionnotifier_id temp_id = cmzn_selectionnotifier_access(selectionNotifier.id);
 
  184             cmzn_selectionnotifier_destroy(&
id);
 
  194             cmzn_selectionnotifier_destroy(&
id);
 
  213     cmzn_selectionnotifier_id 
getId()
 const 
  230         return cmzn_selectionnotifier_set_callback(
 
  231             id, callback.C_callback, static_cast<void*>(&callback));
 
  242         return cmzn_selectionnotifier_clear_callback(
id);
 
bool isValid() const 
Definition: selection.hpp:203
 
bool isValid() const 
Definition: selection.hpp:89
 
Definition: selection.hpp:51
 
int setCallback(Selectioncallback &callback)
Definition: selection.hpp:228
 
Information about changes to the selection group in the scene. 
Definition: selection.hpp:25
 
ChangeFlags getChangeFlags() const 
Definition: selection.hpp:114
 
Manages individual user notification of changes to the selection group. 
Definition: selection.hpp:160
 
int clearCallback()
Definition: selection.hpp:240
 
cmzn_selectionnotifier_id getId() const 
Definition: selection.hpp:213
 
Definition: selection.hpp:53
 
ChangeFlag
Definition: selection.hpp:47
 
Base class functor for Selection notifier callbacks: 
Definition: selection.hpp:129
 
Definition: selection.hpp:55
 
int ChangeFlags
Definition: selection.hpp:63
 
Definition: selection.hpp:49
 
cmzn_selectionevent_id getId() const 
Definition: selection.hpp:99