CASToR  2.0
Tomographic Reconstruction (PET/SPECT/CT)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Macros
vDynamicModel.hh File Reference

Declaration of class vDynamicModel. More...

#include "gVariables.hh"
#include "oImageDimensionsAndQuantification.hh"
#include "oOptimizerManager.hh"

Go to the source code of this file.

Classes

class  vDynamicModel
 This is the mother class of dynamic model classes. More...
 

Macros

#define FUNCTION_DYNAMICMODEL(CLASS)   static vDynamicModel *make_dynamic_model() { return new CLASS(); };
 
#define CLASS_DYNAMICMODEL(NAME, CLASS)
 

Detailed Description

Declaration of class vDynamicModel.

Definition in file vDynamicModel.hh.

Macro Definition Documentation

#define CLASS_DYNAMICMODEL (   NAME,
  CLASS 
)
Value:
class NAME##DynamicModelCreator \
{ \
public: \
NAME##DynamicModelCreator() \
{ sAddonManager::GetInstance()->mp_listOfDynamicModels[#NAME] = CLASS::make_dynamic_model; } \
}; \
static NAME##DynamicModelCreator DynamicModelCreator##NAME;
static sAddonManager * GetInstance()
std::map< string, maker_dynamic_model > mp_listOfDynamicModels

Definition at line 225 of file vDynamicModel.hh.

#define FUNCTION_DYNAMICMODEL (   CLASS)    static vDynamicModel *make_dynamic_model() { return new CLASS(); };

Definition at line 221 of file vDynamicModel.hh.