NorMIT-nav  22.09
An IGT application
cx::DataFactory Class Reference

#include <cxDataFactory.h>

Public Member Functions

 DataFactory (PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider)
 
DataPtr create (QString type, QString uid, QString name="")
 
template<class T >
boost::shared_ptr< T > createSpecific (QString uid, QString name="")
 

Detailed Description

Factory for creating cx::Data objects

Date
2014-02-22
Author
christiana

Definition at line 31 of file cxDataFactory.h.

Constructor & Destructor Documentation

◆ DataFactory()

cx::DataFactory::DataFactory ( PatientModelServicePtr  dataManager,
SpaceProviderPtr  spaceProvider 
)
explicit

Definition at line 34 of file cxDataFactory.cpp.

Member Function Documentation

◆ create()

DataPtr cx::DataFactory::create ( QString  type,
QString  uid,
QString  name = "" 
)

Definition at line 71 of file cxDataFactory.cpp.

◆ createSpecific()

template<class T >
boost::shared_ptr<T> cx::DataFactory::createSpecific ( QString  uid,
QString  name = "" 
)
inline

Definition at line 39 of file cxDataFactory.h.


The documentation for this class was generated from the following files: