YANE-Framework 1.1.0
Public Types | Public Member Functions | Public Attributes | Protected Attributes

yane::ModelQt2::ModelLoader Class Reference

Class to load an application library which has been built separately. More...

Collaboration diagram for yane::ModelQt2::ModelLoader:
[legend]

List of all members.

Public Types

typedef yane::Model::Model *(* T_MODELFUNC )()
 Function pointer type of a model creator.
typedef QWidget *(* T_MODELWIDGETFUNC )(yane::Model::Model *, QWidget *)
 Function pointer type of a model widget creator.
typedef
yane::MPC::ModelShootingData *(* 
T_SHOOTINGDATAFUNC )(yane::Model::Model *)
 Function pointer type of a shooting data creator.

Public Member Functions

 ModelLoader (const QString &filename)
 Constructor.
 ~ModelLoader ()
 Destructor.

Public Attributes

T_MODELFUNC createModel
 Model object creator.
T_MODELWIDGETFUNC createModelWidget
 Model widget creator.
T_SHOOTINGDATAFUNC createShootingData
 Shootingdata object creator.

Protected Attributes

void * _lib
 Name of the application library.

Detailed Description

ModelLoader


Constructor & Destructor Documentation

yane::ModelQt2::ModelLoader::ModelLoader ( const QString &  filename)
Parameters:
filenameName of the application library