00001 00022 #ifndef REGIMETRANSITIONINTERFACE_H 00023 #define REGIMETRANSITIONINTERFACE_H 00024 00025 #include "plugininterface.h" 00026 #include "calculatefunctions.h" 00027 #include "data.h" 00028 00030 class RegimeTransitionInterface : public PluginInterface 00031 { 00032 public: 00033 virtual ~RegimeTransitionInterface() {}; 00034 virtual double calculateRegimeTransition(Data *data, FrictionFunctions *frictionFunctions, CalculateFunctions *calculateFunctions, double tolerance, double Usg) = 0; 00035 virtual regimetype_t calculateRegime(Data *data, FrictionFunctions *frictionFunctions, CalculateFunctions *calculateFunctions, double tolerance, double Usg, double Usl) = 0; 00036 virtual QString transitionDescription() const = 0; 00037 virtual QString tooltip() const = 0; 00038 virtual QString statustip() const = 0; 00039 virtual bool transitionAnnular() const = 0; 00040 virtual bool transitionStratified() const = 0; 00041 virtual bool transitionDispersed() const = 0; 00042 virtual bool transitionSlug() const = 0; 00043 }; 00044 00045 Q_DECLARE_INTERFACE(RegimeTransitionInterface, "com.MariusStene.MultiPhase.RegimeTransitionInterface/1.0"); 00046 00047 #endif // REGIMETRANSITIONINTERFACE_H