![]() |
VR-Forces 4.6 Class Documentation
|
Simple class used to set, push or pop the current cursor. More...

Public Member Functions | |
| DtCursorManager (DtDe &) | |
| CTOR. | |
| virtual | ~DtCursorManager () |
| DTOR. | |
| virtual void | setCursor (const DtCursor &) |
| Cursor manager will clone the incoming cursor and take control of the memory. | |
| const DtCursor & | currentCursor () const |
| virtual void | pushCursor (const DtCursor &) |
| Cursor manager will clone the incoming cursor and take control of the memory. | |
| virtual void | pushCursor (DtCursor::CursorShape) |
| virtual void | popCursor () |
| Pops the cursor. | |
| int | cursorCount () const |
| Number of cursors currently on stack. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtCursorManager & | instance (DtDe &) |
| static void | registerInstance (DtDe &, DtCursorManager *) |
Protected Types | |
| typedef std::stack< DtCursor * > | CursorStack |
Protected Attributes | |
| CursorStack | myCursorStack |
| DtCursor * | myCurrentCursor |
| DtDe & | myDe |
Simple class used to set, push or pop the current cursor.
Core implementation will do nothing more than keep track of the current cursor.
|
protected |
| makVrv::DtCursorManager::DtCursorManager | ( | DtDe & | ) |
CTOR.
|
virtual |
DTOR.
|
static |
|
static |
|
virtual |
Cursor manager will clone the incoming cursor and take control of the memory.
Reimplemented in makVrv::DtQtCursorManager.
| const DtCursor& makVrv::DtCursorManager::currentCursor | ( | ) | const |
|
virtual |
Cursor manager will clone the incoming cursor and take control of the memory.
Reimplemented in makVrv::DtQtCursorManager.
|
virtual |
|
virtual |
Pops the cursor.
Reimplemented in makVrv::DtQtCursorManager.
|
inline |
Number of cursors currently on stack.
|
protected |
|
protected |
|
protected |