VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrf::DtVrfAttachWidgetLogic Class Reference
Inheritance diagram for makVrf::DtVrfAttachWidgetLogic:
Inheritance graph
[legend]

Public Member Functions

 DtVrfAttachWidgetLogic (makVrv::DtDe &de, DtVrfAttachWidgetInterface *iFace)
 
virtual ~DtVrfAttachWidgetLogic ()
 
virtual void setAttachMode (int mode)
 process a change in attach mode More...
 
virtual void detach ()
 Tell the current observer to detach from all attached objects. More...
 
virtual void attachNext ()
 Tell the current observer to attach to the next (allowed) object. More...
 
virtual void attachPrevious ()
 Tell the current observer to attach to the previous (allowed) object. More...
 
virtual void attachToSelected ()
 Tell the current observer to attach to the current selection. More...
 
virtual void determineAttachState ()
 
virtual void determineSelectionState ()
 
virtual void onSelectionChanged (const makVrv::DtSelectionManager::IdSet &selected, const makVrv::DtSelectionManager::IdSet &deselected)
 called by signal when selection state changes More...
 
virtual void onVrfAttachedToChanged (makVrv::DtObserver *)
 
- Public Member Functions inherited from makVrv::DtAttachWidgetLogic
virtual ~DtAttachWidgetLogic ()
 virtual DTOR More...
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 Do nothing constructor. More...
 
virtual ~DtVirtualBaseClass ()
 Virtual do nothing destructor. More...
 

Additional Inherited Members

- Public Types inherited from makVrv::DtAttachWidgetLogic
enum  AttachState { Unattached, SingleAttached, MultipleAttached, ObserverAttached }
 
enum  SelectionState { NoSelection, SingleSelection, MultipleSelection, ObserverSelection }
 
- Protected Member Functions inherited from makVrv::DtAttachWidgetLogic
virtual void attachToPart (const std::string &partName)
 Tell the current observer to attach to a part. More...
 
virtual void setHideAttachedModel (bool hide)
 Update the current observer's hide model state. More...
 
virtual void setAttachFilterType (int filterType)
 Cache the current attach filter for use in attach methods. More...
 
virtual void setCurrentObserver (const std::string &observerName)
 Set the observer to use in all other operations. More...
 
virtual void attachSelectedByMode (int mode)
 Tell the current observer to attach to the current selection in the specified attach mode. More...
 
virtual void observerChanged (const std::string &observerName, const DtUniqueID &id)
 
virtual void slot_activate (DtDe *subject)
 
virtual void slot_deactivate (DtDe *subject)
 
 DtAttachWidgetLogic (DtDe &de, DtAttachWidgetInterface &iFace)
 Constructor (protected - use ::create() ) More...
 
void setCurrentObserver (DtObserver *observer)
 Called by public setCurrentObserver() More...
 
void onAttachedToChanged (DtObserver *observer)
 called by signal when an observer's attachments change More...
 
void onHideModelChanged (DtObserver *observer)
 called by signal when an observer's hide model state changes More...
 
void updateAttachedNames ()
 Updates the names of the attached elements. More...
 
virtual void onObserverAboutToBeDestroyed (DtInputDriver *driver, DtObserver *observer)
 called by signal when an observer is destroyed More...
 
virtual void onCurrentObserverChanged (DtInputDriver *driver, DtObserver *observer)
 
void onAttachTypeChanged (DtObserver *observer)
 called by signal when an observer's attach type changes More...
 
void onCurrentAttachFilterTypeChanged (const DtAttachManager::ElementTypeList &filterType)
 
virtual void onIs2DChanged (int mode)
 
virtual void onObserverModeChanged (DtObserver *, int mode)
 
virtual void enableSingleAttachModes ()
 enable all attach modes More...
 
virtual void enableObserverAttachModes ()
 enable all attach modes More...
 
virtual void enableMultipleAttachModes ()
 enable only that attach modes that make sense for multiple attach More...
 
void determineAttachState ()
 Determine the current attach state. More...
 
void updateAttachStateToWidget ()
 Send current attach state to widget. More...
 
void determineSelectionState ()
 Determine the current selection state. More...
 
void updateSelectionStateToWidget ()
 Send current selection state to widget. More...
 
const
DtAttachManager::ElementTypeList
indexToAttachFilterType (int index)
 
int attachFilterTypeToIndex (const DtAttachManager::ElementTypeList &filterType)
 
void updateAttachableParts ()
 
- Protected Attributes inherited from makVrv::DtAttachWidgetLogic
DtDemyDe
 
DtAttachWidgetInterfacemyInterface
 
DtObservermyCurrentObserver
 
AttachState myAttachState
 
SelectionState mySelectionState
 
DtAttachManager::ElementTypeList myCurrentAttachFilterType
 
DtObserverObject::AttachType myAttachMode
 
DtSignalConnectionManager myConnections
 

Constructor & Destructor Documentation

makVrf::DtVrfAttachWidgetLogic::DtVrfAttachWidgetLogic ( makVrv::DtDe de,
DtVrfAttachWidgetInterface iFace 
)
virtual makVrf::DtVrfAttachWidgetLogic::~DtVrfAttachWidgetLogic ( )
virtual

Member Function Documentation

virtual void makVrf::DtVrfAttachWidgetLogic::setAttachMode ( int  mode)
virtual

process a change in attach mode

Reimplemented from makVrv::DtAttachWidgetLogic.

virtual void makVrf::DtVrfAttachWidgetLogic::detach ( )
virtual

Tell the current observer to detach from all attached objects.

Reimplemented from makVrv::DtAttachWidgetLogic.

virtual void makVrf::DtVrfAttachWidgetLogic::attachNext ( )
virtual

Tell the current observer to attach to the next (allowed) object.

Reimplemented from makVrv::DtAttachWidgetLogic.

virtual void makVrf::DtVrfAttachWidgetLogic::attachPrevious ( )
virtual

Tell the current observer to attach to the previous (allowed) object.

Reimplemented from makVrv::DtAttachWidgetLogic.

virtual void makVrf::DtVrfAttachWidgetLogic::attachToSelected ( )
virtual

Tell the current observer to attach to the current selection.

Reimplemented from makVrv::DtAttachWidgetLogic.

virtual void makVrf::DtVrfAttachWidgetLogic::determineAttachState ( )
virtual
virtual void makVrf::DtVrfAttachWidgetLogic::determineSelectionState ( )
virtual
virtual void makVrf::DtVrfAttachWidgetLogic::onSelectionChanged ( const makVrv::DtSelectionManager::IdSet selected,
const makVrv::DtSelectionManager::IdSet deselected 
)
virtual

called by signal when selection state changes

Reimplemented from makVrv::DtAttachWidgetLogic.

virtual void makVrf::DtVrfAttachWidgetLogic::onVrfAttachedToChanged ( makVrv::DtObserver )
virtual

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)