HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SIM_ObjectSolveInfo.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
*/
7
8
#ifndef __SIM_ObjectSolveInfo_h__
9
#define __SIM_ObjectSolveInfo_h__
10
11
#include "
SIM_API.h
"
12
#include <
UT/UT_ValArray.h
>
13
14
class
SIM_Solver
;
15
class
SIM_Object
;
16
class
SIM_ObjectSolveInfo
;
17
class
SIM_Engine
;
18
19
typedef
UT_ValArray<SIM_ObjectSolveInfo *>
SIM_ObjectSolveInfoArray
;
20
21
/// This is a simple virtual base class for information that can be stored
22
/// on a SIM_Object during a solve. This object specific solve info is
23
/// automatically deleted by the engine at the end of a solve. All objects
24
/// involved in the solve in any way have this data cleared, so the solver
25
/// can use this data for objects being solved, feedback object, and one
26
/// way affector objects.
27
class
SIM_API
SIM_ObjectSolveInfo
28
{
29
public
:
30
SIM_ObjectSolveInfo
(
const
SIM_Solver
*createdbysolver,
31
const
SIM_Object
*
object
);
32
virtual
~
SIM_ObjectSolveInfo
();
33
34
const
SIM_Solver
*getCreatedBySolver()
const
;
35
36
static
void
clearAllSolveInfo(
const
SIM_Engine
*engine);
37
38
private
:
39
const
SIM_Solver
*myCreatedBySolver;
40
const
SIM_Object
*myObject;
41
42
static
bool
theClearingSolveInfos;
43
};
44
45
#endif
SIM_Engine
Definition:
SIM_Engine.h:65
SIM_ObjectSolveInfo
Definition:
SIM_ObjectSolveInfo.h:27
UT_ValArray< SIM_ObjectSolveInfo * >
SIM_API.h
SIM_Solver
Definition:
SIM_Solver.h:25
UT_ValArray.h
SIM_Object
Definition:
SIM_Object.h:33
SIM_API
#define SIM_API
Definition:
SIM_API.h:12
SIM_ObjectSolveInfoArray
UT_ValArray< SIM_ObjectSolveInfo * > SIM_ObjectSolveInfoArray
Definition:
SIM_ObjectSolveInfo.h:17
SIM
SIM_ObjectSolveInfo.h
Generated on Sat Dec 21 2024 02:48:44 for HDK by
1.8.6