VPTissue Reference Manual
Blad/components/ComponentFactory.h
Go to the documentation of this file.
1 #ifndef BLAD_COMPONENT_FACTORY_H_INCLUDED
2 #define BLAD_COMPONENT_FACTORY_H_INCLUDED
3 /*
4  * Copyright 2011-2016 Universiteit Antwerpen
5  *
6  * Licensed under the EUPL, Version 1.1 or as soon they will be approved by
7  * the European Commission - subsequent versions of the EUPL (the "Licence");
8  * You may not use this work except in compliance with the Licence.
9  * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl5
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the Licence is distributed on an "AS IS" basis,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the Licence for the specific language governing
15  * permissions and limitations under the Licence.
16  */
23 #include "model/ComponentTraits.h"
24 
25 namespace SimPT_Sim { struct CoreData; }
26 
27 namespace SimPT_Blad {
28 
29 using namespace std;
30 using namespace SimPT_Sim;
31 using boost::property_tree::ptree;
32 
37 {
38 public:
40  virtual CellChemistryComponent CreateCellChemistry(const CoreData& cd) const override final;
41 
43  virtual CellColorComponent CreateCellColor(const string& select, const ptree&) const override final;
44 
46  virtual CellDaughtersComponent CreateCellDaughters(const CoreData& cd) const override final;
47 
49  virtual CellHousekeepComponent CreateCellHousekeep(const CoreData& cd) const override final;
50 
52  virtual CellSplitComponent CreateCellSplit(const CoreData& cd) const override final;
53 
55  virtual CellToCellTransportComponent CreateCellToCellTransport(const CoreData& cd) const override final;
56 
57 public:
59  virtual std::vector<std::string> ListCellChemistry() const override final;
60 
62  virtual std::vector<std::string> ListCellColor() const override final;
63 
65  virtual std::vector<std::string> ListCellDaughters() const override final;
66 
68  virtual std::vector<std::string> ListCellHousekeep() const override final;
69 
71  virtual std::vector<std::string> ListCellSplit() const override final;
72 
74  virtual std::vector<std::string> ListCellToCellTransport() const override final;
75 };
76 
77 } // namespace
78 
79 #endif // end_of_include_guard
Namespace for components of the Blad model group.
Core data with mesh, parameters, random engine and time data.
Definition: CoreData.h:38
STL namespace.
Interface of Component Factory.
std::function< std::tuple< bool, bool, std::array< double, 3 >>(Cell *)> CellSplitComponent
CellSplit component interface.
Interface for ComponentFactory.
Component factory for the Blad model group.
std::function< void(Cell *, Cell *)> CellDaughtersComponent
CellDaughters component interface.
Namespace for the core simulator.
std::function< void(Cell *, double *)> CellChemistryComponent
CellChemistry component interface.
std::function< void(Cell *)> CellHousekeepComponent
CellHousekeep component interface.
Model component .
std::function< std::array< double, 3 >(Cell *)> CellColorComponent
CellColor component interface.
std::function< void(Wall *, double *, double *)> CellToCellTransportComponent
CellToCellTransport component interface.