2013-11-09 18:13:28 +00:00
|
|
|
#ifndef FLUIDMEDIUMINTERFACE_H
|
|
|
|
#define FLUIDMEDIUMINTERFACE_H
|
|
|
|
|
|
|
|
#include "software_global.h"
|
|
|
|
|
|
|
|
namespace paysages {
|
|
|
|
namespace software {
|
|
|
|
|
2016-01-03 18:21:23 +00:00
|
|
|
/**
|
|
|
|
* Interface to a fluid medium compatible class.
|
2013-11-09 18:13:28 +00:00
|
|
|
*/
|
2015-11-09 21:30:46 +00:00
|
|
|
class SOFTWARESHARED_EXPORT FluidMediumInterface {
|
|
|
|
public:
|
2016-01-03 18:21:23 +00:00
|
|
|
/**
|
2013-11-11 14:42:11 +00:00
|
|
|
* Return true if the object may change the fluid medium on the given segment.
|
|
|
|
* When returning true, the object may alter 'segment' to limit its influence.
|
2013-11-09 18:13:28 +00:00
|
|
|
*/
|
2015-11-09 21:30:46 +00:00
|
|
|
virtual bool checkInfluence(SpaceSegment &segment) const = 0;
|
2013-11-09 18:13:28 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // FLUIDMEDIUMINTERFACE_H
|