![]() |
VR-Forces 4.0.4 Class Documentation
|
Component which makes windows. More...

Public Member Functions | |
| ~DtWindowFactory () | |
| DTOR. | |
| DtWindow * | createWindow (DtDe &de, DtWindowConfiguration &wc) |
| Create a window. | |
| void | setCreator (int index, DtWindowCreator *creator) |
| Set the function to create a window. | |
Static Public Member Functions | |
| static DtWindowFactory & | instance (DtDe &de) |
| Get the instance for this factory. | |
Protected Types | |
| typedef std::map< int, DtWindowCreator * > | CreatorFunctionMap |
Protected Member Functions | |
| DtWindowFactory () | |
| Protected CTOR. Use create() function. | |
Protected Attributes | |
| CreatorFunctionMap | myCreatorFunctionMap |
Private Types | |
| typedef DtWindow *(* | DtWindowCreatorFunction )(DtDe &, DtWindowConfiguration &) |
Component which makes windows.
This is not subclassed so there are no virtual methods.
typedef DtWindow*(* makVrv::DtWindowFactory::DtWindowCreatorFunction)(DtDe &, DtWindowConfiguration &) [private] |
typedef std::map<int, DtWindowCreator*> makVrv::DtWindowFactory::CreatorFunctionMap [protected] |
| makVrv::DtWindowFactory::DtWindowFactory | ( | ) | [protected] |
Protected CTOR. Use create() function.
| static DtWindowFactory& makVrv::DtWindowFactory::instance | ( | DtDe & | de | ) | [static] |
Get the instance for this factory.
Creates this factory if one doesn't exist (lazy creation).
| DtWindow* makVrv::DtWindowFactory::createWindow | ( | DtDe & | de, |
| DtWindowConfiguration & | wc | ||
| ) |
Create a window.
| void makVrv::DtWindowFactory::setCreator | ( | int | index, |
| DtWindowCreator * | creator | ||
| ) |
Set the function to create a window.