JEMRIS  2.8.3
open-source MRI simulations
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
CoilPrototypeFactory Class Reference

This interface knows about coil prototypes. More...

#include <CoilPrototypeFactory.h>

+ Inheritance diagram for CoilPrototypeFactory:
+ Collaboration diagram for CoilPrototypeFactory:

Public Member Functions

 CoilPrototypeFactory ()
 Constructor. More...
 
virtual ~CoilPrototypeFactory ()
 Destructor.
 
CoilClone (DOMNode *node)
 
CoilClone (string name)
 
map< string, Coil * > * getList ()
 Get list of all coil prototypes. More...
 
- Public Member Functions inherited from PrototypeFactory
 PrototypeFactory ()
 Default constructor.
 
virtual ~PrototypeFactory ()
 Default destructor.
 
PrototypeClone (DOMNode *node)
 
PrototypeClone (string name)
 
map< string, Prototype * > * getList ()
 Get Pointer to list of clonable prototypes. More...
 

Protected Member Functions

Coilget (string name)
 
int upper (int c)
 
- Protected Member Functions inherited from PrototypeFactory
Prototypeget (string name)
 Get pointer to Prototype by name. More...
 
int upper (int c)
 

Private Attributes

map< string, Coil * > m_Clonables
 Coil protoype list.
 

Additional Inherited Members

- Protected Attributes inherited from PrototypeFactory
map< string, Prototype * > m_Clonables
 

Detailed Description

This interface knows about coil prototypes.

Constructor & Destructor Documentation

◆ CoilPrototypeFactory()

CoilPrototypeFactory::CoilPrototypeFactory ( )

Constructor.

Will initialise with the available Prototypes. Every available coil type needs to be registered here. Also include the header of the module in the coilprototypefactory.cpp

Member Function Documentation

◆ Clone() [1/2]

Coil * CoilPrototypeFactory::Clone ( DOMNode *  node)
@brief Clone a coil by node type
Parameters
nodeDOMNode containing coil attributes.
Returns
The pointer to the cloned Coil
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Clone() [2/2]

Coil * CoilPrototypeFactory::Clone ( string  name)
@brief Clone a coil by name
Parameters
nameof the coil
Returns
The pointer to the cloned Coil
+ Here is the call graph for this function:

◆ get()

Coil * CoilPrototypeFactory::get ( string  name)
protected

Get Coil

Parameters
name
+ Here is the caller graph for this function:

◆ getList()

map<string, Coil*>* CoilPrototypeFactory::getList ( )
inline

Get list of all coil prototypes.

Returns
Pointer to the coil prototype list.

◆ upper()

int CoilPrototypeFactory::upper ( int  c)
protected

Upper case

Parameters
cChar to be converted.
Returns
Converted char.

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

-- last change 11.06.2019 | Tony Stoecker | Imprint | Data Protection --