VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
makVrf::DtMapFocusHandlerManager Class Reference

This will manage the map focus handler to allow for the setting of the cursor based on a given id and the current handler.

Inheritance diagram for makVrf::DtMapFocusHandlerManager:
Inheritance graph
[legend]

Public Member Functions

 DtMapFocusHandlerManager (makVrv::DtDe &)
 
virtual ~DtMapFocusHandlerManager () override
 
virtual int selectionState (makVrv::DtUniqueID, int over) const
 
virtual int setCursorBasedOnItem (makVrv::DtUniqueID, int over)
 
virtual void setActiveMapFocusHandler (DtMapFocusHandler *)
 
DtMapFocusHandleractiveMapFocusHandler () const
 
virtual void setAllowCursorChange (bool b)
 
bool allowCursorChange () const
 
virtual void focusToNext (bool becauseOfRightClick=false)
 
virtual void resetCursor ()
 
virtual void cursorOverNoMapAreaObject ()
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtMapFocusHandlerManagerinstance (makVrv::DtDe &)
 
static void registerInstance (makVrv::DtDe &, DtMapFocusHandlerManager *)
 

Public Attributes

boost::signals2::signal< void(DtMapFocusHandler
*, DtMapFocusHandler *)> 
signal_mapFocusHandlerChanged
 

Protected Attributes

DtMapFocusHandlermyActiveMapFocusHandler
 
makVrv::DtDemyDe
 
makVrv::DtQtCursor myCurrentCursor
 
bool myAllowCursorChange
 
bool myChangedCursor
 
makVrv::DtUniqueID myLastItemChecked
 
makVrv::DtSignalConnectionManager myConnectionManager
 
makVrv::DtEventProcessorInterfacemyEventProcessor
 
int myLastAreaOver = 0
 

Constructor & Destructor Documentation

makVrf::DtMapFocusHandlerManager::DtMapFocusHandlerManager ( makVrv::DtDe )
virtual makVrf::DtMapFocusHandlerManager::~DtMapFocusHandlerManager ( )
overridevirtual

Member Function Documentation

static DtMapFocusHandlerManager& makVrf::DtMapFocusHandlerManager::instance ( makVrv::DtDe )
static
static void makVrf::DtMapFocusHandlerManager::registerInstance ( makVrv::DtDe ,
DtMapFocusHandlerManager  
)
static
virtual int makVrf::DtMapFocusHandlerManager::selectionState ( makVrv::DtUniqueID  ,
int  over 
) const
virtual

See DtMapFocusHandler for selection states.

virtual int makVrf::DtMapFocusHandlerManager::setCursorBasedOnItem ( makVrv::DtUniqueID  ,
int  over 
)
virtual
virtual void makVrf::DtMapFocusHandlerManager::setActiveMapFocusHandler ( DtMapFocusHandler )
virtual

Sets/gets the current active handler.

DtMapFocusHandler* makVrf::DtMapFocusHandlerManager::activeMapFocusHandler ( ) const
inline
virtual void makVrf::DtMapFocusHandlerManager::setAllowCursorChange ( bool  b)
virtual

If there is one, will also set the fact to allow the cursor change into the active handler.

bool makVrf::DtMapFocusHandlerManager::allowCursorChange ( ) const
inline
virtual void makVrf::DtMapFocusHandlerManager::focusToNext ( bool  becauseOfRightClick = false)
virtual

If there is an active handler, tell it to focus to the next item. If becauseOfRightClick is true then this is called because of a right click.

virtual void makVrf::DtMapFocusHandlerManager::resetCursor ( )
virtual

If the cursor has been set, resets it.

virtual void makVrf::DtMapFocusHandlerManager::cursorOverNoMapAreaObject ( )
virtual

Called when the cursor has moved over the map area and is currently not over an object.

Member Data Documentation

boost::signals2::signal<void (DtMapFocusHandler*, DtMapFocusHandler*)> makVrf::DtMapFocusHandlerManager::signal_mapFocusHandlerChanged

Signal sent with old and new handler.

DtMapFocusHandler* makVrf::DtMapFocusHandlerManager::myActiveMapFocusHandler
protected
makVrv::DtDe& makVrf::DtMapFocusHandlerManager::myDe
protected
makVrv::DtQtCursor makVrf::DtMapFocusHandlerManager::myCurrentCursor
protected
bool makVrf::DtMapFocusHandlerManager::myAllowCursorChange
protected
bool makVrf::DtMapFocusHandlerManager::myChangedCursor
protected
makVrv::DtUniqueID makVrf::DtMapFocusHandlerManager::myLastItemChecked
protected
makVrv::DtSignalConnectionManager makVrf::DtMapFocusHandlerManager::myConnectionManager
protected
makVrv::DtEventProcessorInterface* makVrf::DtMapFocusHandlerManager::myEventProcessor
protected
int makVrf::DtMapFocusHandlerManager::myLastAreaOver = 0
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)