CustusX  2023.01.05-dev+develop.0da12
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

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

Definition at line 34 of file cxDataFactory.cpp.

Member Function Documentation

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

Definition at line 71 of file cxDataFactory.cpp.

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: