8 #ifndef __SIM_DopDescription_h__
9 #define __SIM_DopDescription_h__
37 typedef void (*SIM_SyncNodeVersion)(
OP_Node *node,
const char *old_version,
38 const char *cur_version,
45 typedef bool (*SIM_UpdateParmsFlags)(
OP_Node *node);
55 const char *dopenglish,
57 const char *datatypename,
66 bool getCreateDop()
const;
102 void setLCDDataTypeName(
const char *lcddatatype);
104 const UT_String &getLCDDataTypeName()
const;
107 void setDefaultShareData(
int share);
109 int getDefaultShareData()
const;
111 void setDefaultUniqueDataName(
int unique);
113 int getDefaultUniqueDataName()
const;
116 { myCreatePerParmUpdateMenus = createmenus; }
119 {
return myCreatePerParmUpdateMenus; }
131 void setObsoleteParmResolver(SIM_ObsoleteParmResolver resolver);
133 void resolveObsoleteParms(
OP_Node *node,
136 void setSyncNodeVersion(SIM_SyncNodeVersion callback);
138 void syncNodeVersion(
OP_Node *node,
const char *old_version,
139 const char *cur_version,
bool *node_deleted)
const;
141 void setOpVersionCallback(SIM_GetOpVersion callback);
146 void setUpdateParmsFlags(SIM_UpdateParmsFlags callback);
148 bool updateParmsFlags(
OP_Node *node)
const;
151 {
return myInitialTemplateFlag; }
153 { myInitialTemplateFlag = flagval; }
157 if (!myLiveInputComputer)
159 return (*myLiveInputComputer)(node,
time);
181 SIM_ObsoleteParmResolver myObsoleteParmResolver;
182 SIM_SyncNodeVersion mySyncNodeVersionCallback;
183 SIM_GetOpVersion myGetOpVersionCallback;
184 SIM_UpdateParmsFlags myUpdateParmsCallback;
186 int myDefaultShareData;
187 int myDefaultUniqueDataName;
188 bool myCreatePerParmUpdateMenus;
189 bool myPureApplyData;
190 bool myInitialTemplateFlag;
191 SIM_ComputeLiveInput myLiveInputComputer;
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
bool getPureApplyData() const
GT_API const UT_StringHolder time
void setLiveInputComputer(SIM_ComputeLiveInput computer)
const char * getBypassDataTypeName() const
void getDescriptiveNameParm(UT_String &parm) const
void setPureApplyData(bool pureapply)
GLuint const GLchar * name
bool getCreatePerParmUpdateMenus() const
get whether each parm gets an update menu.
int computeLiveInput(int defval, const OP_Node *node, double time) const
GT_API const UT_StringHolder version
bool getInitialTemplateFlag() const
LeafData & operator=(const LeafData &)=delete
void setBypassDataTypeName(const char *name)
void setCreatePerParmUpdateMenus(bool createmenus)
Set whether each parm gets an update menu. The default is on.
void setInitialTemplateFlag(bool flagval)
void setDescriptiveNameParm(const char *parm)