36 #ifndef ABSTRACTVESSELNETWORKCOMPONENT_HPP_ 37 #define ABSTRACTVESSELNETWORKCOMPONENT_HPP_ 42 #include <boost/enable_shared_from_this.hpp> 43 #include "ChasteSerialization.hpp" 44 #include "ClassIsAbstract.hpp" 45 #include "UblasVectorInclude.hpp" 46 #include "UnitCollection.hpp" 47 #include "SmartPointers.hpp" 48 #include "AbstractVesselNetworkComponentProperties.hpp" 53 template<
unsigned DIM>
66 template<
class Archive>
67 void serialize(Archive & ar,
const unsigned int version)
106 virtual unsigned GetId()
const;
134 virtual units::quantity<unit::length>
GetRadius()
const;
140 virtual void SetId(
unsigned id);
147 virtual void SetOutputData(
const std::string& rKey,
double value);
153 virtual void SetRadius(units::quantity<unit::length> radius);
virtual void SetOutputData(const std::string &rKey, double value)
virtual std::map< std::string, double > GetOutputData()=0
virtual ~AbstractVesselNetworkComponent()
units::quantity< unit::length > mRadius
virtual void SetId(unsigned id)
std::map< std::string, double > mOutputData
void serialize(Archive &ar, const unsigned int version)
virtual unsigned GetId() const
AbstractVesselNetworkComponent()
virtual double GetOutputDataValue(const std::string &rKey)
virtual units::quantity< unit::length > GetRadius() const
virtual void SetRadius(units::quantity< unit::length > radius)
virtual std::vector< std::string > GetOutputDataKeys()
friend class boost::serialization::access