9 #ifndef lgrDisArtPart_H_
10 #define lgrDisArtPart_H_
18 #include <vlpi/artPartSpec.h>
23 class DtLgrArtPartList;
39 virtual ~DtLgrArtPart();
42 DtLgrArtPart(
const DtArtPartSpec& spec );
45 DtLgrArtPart(
const DtLgrArtPart& src );
48 DtLgrArtPart& operator=(
const DtLgrArtPart& src );
51 friend class DtLgrArtPartList;
55 virtual bool setUsingParam(
int paramType,
bool yesNo =
true );
56 virtual bool usingParam(
int paramType )
const;
61 virtual bool setParamValue(
int paramType,
float value );
62 virtual bool paramValue(
int paramType,
float& value )
const;
65 virtual int numParams()
const;
68 inline void setPartType(
int val );
69 inline int partType()
const;
72 inline void setPartNum(
int val );
73 inline int partNum()
const;
76 inline void setPartAttachedTo(
int val );
77 inline int partAttachedTo()
const;
80 virtual int firstValidParamType()
const;
83 virtual int nextValidParamType(
int paramType )
const;
91 static bool artParamIsRate(
int paramType );
93 static int computePartType(
int partPlusParam );
95 static int computeParameterType(
int partPlusParam );
98 float myParamVals[DtMAX_PARAMS_PER_PART+1];
99 unsigned int myParamSetMask;
102 int myPartAttachedTo;
106 inline void DtLgrArtPart::setPartType(
int val )
112 inline int DtLgrArtPart::partType()
const
118 inline void DtLgrArtPart::setPartNum(
int val )
124 inline int DtLgrArtPart::partNum()
const
130 inline void DtLgrArtPart::setPartAttachedTo(
int val )
132 myPartAttachedTo = val;
136 inline int DtLgrArtPart::partAttachedTo()
const
138 return myPartAttachedTo;
Defines IMPORT/EXPORT macros for lgrSim library.
#define DT_DLL_LGRSIM
Definition: lgrSim.h:21