コード例 #1
0
PFTestGoToRotation::~PFTestGoToRotation()
{
	int wasHolding = theHold.Holding();
	if (wasHolding) theHold.Suspend();
	DeleteAllRefsFromMe();
	if (wasHolding) theHold.Resume();
}
コード例 #2
0
ファイル: surfwrap.cpp プロジェクト: 2asoft/xray
SWrapObject::~SWrapObject()
{ pblock=NULL;
  DeleteAllRefsFromMe();
  if (cmesh) delete cmesh;
  vnorms.SetCount(0);vnorms.Shrink();
  fnorms.SetCount(0);fnorms.Shrink();
}
コード例 #3
0
ファイル: pbomb.cpp プロジェクト: DimondTheCat/xray
PBombObject::~PBombObject()
{	
	DeleteAllRefsFromMe();
	if (ff)
		delete ff;	
	if (mf)
		delete mf;	
}
コード例 #4
0
ファイル: touch.cpp プロジェクト: 2asoft/xray
TouchSensorObject::~TouchSensorObject()
{
    DeleteAllRefsFromMe();
    for (int i = 0; i < objects.Count(); i++) {
        TouchSensorObj *obj = objects[i];
        delete obj;
    }
}
コード例 #5
0
ファイル: wind.cpp プロジェクト: artemeliy/inf4715
WindObject::~WindObject()
{	
	if (mf)
		delete mf;	
	if (ff)
		delete ff;	
	DeleteAllRefsFromMe();
}
コード例 #6
0
ファイル: force.cpp プロジェクト: innovatelogic/ilogic-vm
ForceObject::~ForceObject()
{
    DeleteAllRefsFromMe();
    if (ff)
        delete ff;
    if (mf)
        delete mf;
}
コード例 #7
0
ファイル: morphobj.cpp プロジェクト: artemeliy/inf4715
void CreateMorphMode::End(IObjParam *i)
   {
   svNode = node;
   if (obj) obj->EndEditParams(i,END_EDIT_REMOVEUI,NULL);
   DeleteAllRefsFromMe();
   ip  = NULL;
   obj = NULL;
   }
コード例 #8
0
ファイル: switch.cpp プロジェクト: nixz/covise
SwitchObject::~SwitchObject()
{
    DeleteAllRefsFromMe();
    for (int i = 0; i < objects.Count(); i++)
    {
        SwitchObj *obj = objects[i];
        delete obj;
    }
}
コード例 #9
0
void CMaxMaterialCollection::FinalRelease()
{
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_PRE_OPEN);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_POST_OPEN);
    UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_OPEN_FAILED);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_PRE_MERGE);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_POST_MERGE);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_PRE_SAVE);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILE_POST_SAVE);
	UnRegisterNotification(NotifyProc, this, NOTIFY_PRE_IMPORT);
	UnRegisterNotification(NotifyProc, this, NOTIFY_POST_IMPORT);
	UnRegisterNotification(NotifyProc, this, NOTIFY_SYSTEM_PRE_NEW);
	UnRegisterNotification(NotifyProc, this, NOTIFY_SYSTEM_POST_NEW);
	UnRegisterNotification(NotifyProc, this, NOTIFY_SYSTEM_PRE_RESET);
	UnRegisterNotification(NotifyProc, this, NOTIFY_SYSTEM_POST_RESET);
	UnRegisterNotification(NotifyProc, this, NOTIFY_SCENE_UNDO);
	UnRegisterNotification(NotifyProc, this, NOTIFY_SCENE_REDO);
#ifdef SUSPEND_UNDO
	UnRegisterNotification(NotifyProc, this, NOTIFY_SCENE_PRE_UNDO);
	UnRegisterNotification(NotifyProc, this, NOTIFY_SCENE_PRE_REDO);
#endif

	UnRegisterNotification(NotifyProc, (void *)this, NOTIFY_MEDIT_SHOW);

#ifdef TP_SUSPEND_FOR_FILELINK
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_PRE_BIND		);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_POST_BIND	);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_PRE_DETACH	);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_POST_DETACH	);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_PRE_RELOAD	);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_POST_RELOAD	);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_PRE_ATTACH	);
	UnRegisterNotification(NotifyProc, this, NOTIFY_FILELINK_POST_ATTACH	);
#endif

	//and finally a mechanism for other parts of the system to actively suspend TP
	UnRegisterNotification(NotifyProc, this, NOTIFY_TOOLPALETTE_MTL_SUSPEND	);
	UnRegisterNotification(NotifyProc, this, NOTIFY_TOOLPALETTE_MTL_RESUME	);

	//for DID 642266, pre and post cloning 
	UnRegisterNotification(NotifyProc, this, NOTIFY_PRE_NODES_CLONED	);
	UnRegisterNotification(NotifyProc, this, NOTIFY_POST_NODES_CLONED	);

	DeleteAllRefsFromMe();

		
	if(shXmlMtlDllModule)
	{ 
		FreeLibrary(shXmlMtlDllModule);
		shXmlMtlDllModule = NULL;
	}

}
コード例 #10
0
ファイル: aup3dlg.cpp プロジェクト: 2asoft/xray
AudioP3Dlg::~AudioP3Dlg()
{
	DeleteAllRefsFromMe();
	ReleaseISpinner(iBaseX);
	ReleaseISpinner(iBaseY);
	ReleaseISpinner(iBaseZ);
	ReleaseISpinner(iTargetX);
	ReleaseISpinner(iTargetY);
	ReleaseISpinner(iTargetZ);
	ReleaseISpinner(iSamples);
	ReleaseISpinner(iThreshold);
}
コード例 #11
0
FloatLimitControlDlg::~FloatLimitControlDlg()
{
	ReleaseISpinner(mUpperLimitSpin);
	ReleaseISpinner(mLowerLimitSpin);
	ReleaseISpinner(mUpperWidthSpin);
	ReleaseISpinner(mLowerWidthSpin);

	LimitControlDlgManager::GetLimitCtrlDlgManager()->RemoveDialog(this);

	theHold.Suspend();
	DeleteAllRefsFromMe();
	theHold.Resume();
	GetCOREInterface()->UnRegisterTimeChangeCallback(this);
}
コード例 #12
0
ファイル: ellipse.cpp プロジェクト: artemeliy/inf4715
EllipseObject::~EllipseObject()
{
	DeleteAllRefsFromMe();
	myParamBlock = NULL;
	UnReadyInterpParameterBlock();
}
コード例 #13
0
ファイル: simpobj.cpp プロジェクト: artemeliy/inf4715
SimpleParticle::~SimpleParticle()
	{
	DeleteAllRefsFromMe();
	}
コード例 #14
0
ファイル: simpobj.cpp プロジェクト: artemeliy/inf4715
SimpleObject::~SimpleObject()
	{
	DeleteAllRefsFromMe();
	}
コード例 #15
0
ファイル: Luminaire.cpp プロジェクト: DimondTheCat/xray
LuminaireObject::~LuminaireObject() 
{ 
	DeleteAllRefsFromMe();
}
コード例 #16
0
ファイル: Notifier.cpp プロジェクト: artemeliy/inf4715
void NotifyMgr::DeleteThis() 
{
	//delete refs but' don't delete this, since it's static.
	DeleteAllRefsFromMe();
}  
コード例 #17
0
ファイル: composit.cpp プロジェクト: 2asoft/xray
void Composite::Reset() 
	{	
	DeleteAllRefsFromMe();
	compCD.MakeAutoParamBlocks(this);	// make and intialize paramblock2
	Init();
	}
コード例 #18
0
ファイル: moustrak.cpp プロジェクト: innovatelogic/ilogic-vm
void 
TrackMouseCallBack::end_track()
{
	DeleteAllRefsFromMe();
}
コード例 #19
0
StdDualVSImp::~StdDualVSImp()
{
	DeleteAllRefsFromMe();
	caches.SetCount(0);
}
コード例 #20
0
ファイル: donut.cpp プロジェクト: innovatelogic/ilogic-vm
DonutObject::~DonutObject()
	{
	DeleteAllRefsFromMe();
	pblock = NULL;
	UnReadyInterpParameterBlock();
	}
コード例 #21
0
ファイル: tapehelp.cpp プロジェクト: artemeliy/inf4715
TapeHelpObject::~TapeHelpObject()
{
    DeleteAllRefsFromMe();
    pblock = NULL;
}
コード例 #22
0
ファイル: refcheck.cpp プロジェクト: artemeliy/inf4715
// Destructor. Remove any references we have made.
NotifyMgr::~NotifyMgr() {
   DeleteAllRefsFromMe();
}
コード例 #23
0
plComponentBase::~plComponentBase()
{
    DeleteAllRefsFromMe();
}
コード例 #24
0
ファイル: navinfo.cpp プロジェクト: innovatelogic/ilogic-vm
NavInfoObject::~NavInfoObject()
{
    DeleteAllRefsFromMe();
}
コード例 #25
0
ファイル: tripatch.cpp プロジェクト: DimondTheCat/xray
TriPatchObject::~TriPatchObject()
	{
	DeleteAllRefsFromMe();
	pblock = NULL;
	}
コード例 #26
0
ファイル: backgrnd.cpp プロジェクト: 2asoft/xray
BackgroundObject::~BackgroundObject()
{
    DeleteAllRefsFromMe();
}
コード例 #27
0
ファイル: fog.cpp プロジェクト: innovatelogic/ilogic-vm
FogObject::~FogObject()
{
    DeleteAllRefsFromMe();
}
コード例 #28
0
ファイル: Notifier.cpp プロジェクト: artemeliy/inf4715
// Destructor. Remove any references we have made.
NotifyMgr::~NotifyMgr() {
	//RemoveAllReferences();
	DeleteAllRefsFromMe();
}
コード例 #29
0
ファイル: prothelp.cpp プロジェクト: innovatelogic/ilogic-vm
ProtHelpObject::~ProtHelpObject()
{
   DeleteAllRefsFromMe();
}
コード例 #30
0
ファイル: morphobj.cpp プロジェクト: artemeliy/inf4715
MorphObject::~MorphObject()
   {
   DeleteAllRefsFromMe();
   }