VR-Forces 4.0.4 Class Documentation
include/vrvDiGuy/DtDiGuyFunctionRegistration.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtDiGuyFunctionRegistration.h,v $ $Revision: 1.8 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtDiGuyFunctionRegistration_H_
00014 #define DtDiGuyFunctionRegistration_H_
00015 
00016 #include <vrvDiGuy/vrvDiGuy.h>
00017 
00018 namespace makVrv
00019 {
00020    class DtDe;
00021 
00025    class DT_DLL_VRVDIGUY DtDiGuyFunctionRegistration
00026    {
00027    public:
00028       //Get the di guy registration.
00029       //The IG pointer is only needed for the first call which is executed
00030       //automatically in makVrv::igDtGuy::init(DtDe& de) for the module.
00031       static DtDiGuyFunctionRegistration& instance(DtDe* de = 0);
00032       
00033       ~DtDiGuyFunctionRegistration();
00034 
00036       void registerIg(DtDe& de);
00037 
00039       void unregisterIg();
00040 
00042       DtDe* currentIg();
00043       
00045       void initialize();
00046 
00047    protected:
00048 
00049       DtDiGuyFunctionRegistration(DtDe*);
00050 
00051       DtDe* myDe;
00052       bool myInit;
00053    };
00054 }
00055 
00056 #endif
00057 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)