HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GAS_Error.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GAS_Error.h ( GAS Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GAS_Error__
12 #define __GAS_Error__
13 
14 #include "GAS_SubSolver.h"
15 #include "GAS_Utils.h"
16 
18 {
19 public:
20  GET_DATA_FUNC_S("message", Message);
21  GET_DATA_FUNC_B("doemit", GenerateError);
22 
23 protected:
24  explicit GAS_Error(const SIM_DataFactory* factory);
25  virtual ~GAS_Error();
26 
27  virtual bool solveGasSubclass(SIM_Engine& engine,
28  SIM_Object* obj,
29  SIM_Time time,
30  SIM_Time timestep);
31 
32 private:
33  static const SIM_DopDescription* getDopDescription();
34 
38  "Gas Error",
39  getDopDescription());
40 };
41 
42 #endif
43 
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:45
GT_API const UT_StringHolder time
#define GAS_API
Definition: GAS_API.h:10
virtual bool solveGasSubclass(SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep)=0
GLhandleARB obj
Definition: glew.h:6236
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:58
#define GET_DATA_FUNC_B(DataName, FuncName)
#define GET_DATA_FUNC_S(DataName, FuncName)