![]() |
VR-Forces 4.0.4 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. | |
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.
typedef std::stack<DtCursor*> makVrv::DtCursorManager::CursorStack [protected] |
CTOR.
| virtual makVrv::DtCursorManager::~DtCursorManager | ( | ) | [virtual] |
DTOR.
| static DtCursorManager& makVrv::DtCursorManager::instance | ( | DtDe & | ) | [static] |
| static void makVrv::DtCursorManager::registerInstance | ( | DtDe & | , |
| DtCursorManager * | |||
| ) | [static] |
| virtual void makVrv::DtCursorManager::setCursor | ( | const DtCursor & | ) | [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 void makVrv::DtCursorManager::pushCursor | ( | const DtCursor & | ) | [virtual] |
Cursor manager will clone the incoming cursor and take control of the memory.
Reimplemented in makVrv::DtQtCursorManager.
| virtual void makVrv::DtCursorManager::pushCursor | ( | DtCursor::CursorShape | ) | [virtual] |
| virtual void makVrv::DtCursorManager::popCursor | ( | ) | [virtual] |
Pops the cursor.
Reimplemented in makVrv::DtQtCursorManager.
CursorStack makVrv::DtCursorManager::myCursorStack [protected] |
DtCursor* makVrv::DtCursorManager::myCurrentCursor [protected] |
DtDe& makVrv::DtCursorManager::myDe [protected] |