00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Jeff Lait 00008 * Side Effects Software Inc. 00009 * 477 Richmond Street West, Suite 1001 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 */ 00014 00015 #ifndef __SIM_RelationshipSink_h__ 00016 #define __SIM_RelationshipSink_h__ 00017 00018 #include "SIM_API.h" 00019 #include "SIM_RelationshipData.h" 00020 00021 /// This class defines a sink relationship between objects. Sink 00022 /// relationships are useful for solvers that destroy some physical 00023 /// entity as part of the solve process. An example of this would be 00024 /// the fluid solver which may use another DOP object as a fluid sink 00025 /// to destroy fluid. 00026 class SIM_API SIM_RelationshipSink : public SIM_RelationshipData 00027 { 00028 protected: 00029 explicit SIM_RelationshipSink(const SIM_DataFactory *factory); 00030 virtual ~SIM_RelationshipSink(); 00031 00032 private: 00033 static const SIM_DopDescription *getSinkDopDescription(); 00034 00035 DECLARE_STANDARD_GETCASTTOTYPE(); 00036 DECLARE_DATAFACTORY(SIM_RelationshipSink, 00037 SIM_RelationshipData, 00038 "Sink Relationship", 00039 getSinkDopDescription()); 00040 }; 00041 00042 #endif 00043
1.5.9