VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDiGuyFunctionRegistration.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvDiGuy/vrvDiGuy.h>
13 #include <string>
14 
15 namespace makVrv
16 {
17  class DtDe;
18 
23  {
24  public:
25  //Get the di guy registration.
26  //The IG pointer is only needed for the first call which is executed
27  //automatically in makVrv::igDtGuy::init(DtDe& de) for the module.
28  static DtDiGuyFunctionRegistration& instance(DtDe* de);
29  static DtDiGuyFunctionRegistration& nonVisualInstance(const std::string& dataPath );
30 
32 
34  void registerIg(DtDe& de);
35 
37  void unregisterIg();
38 
40  DtDe* currentIg();
41 
43  void initialize();
44  protected:
45 
47  DtDiGuyFunctionRegistration(const std::string& dataPath);
48 
50  bool myInit;
51  std::string myAlternateDataPath; // use this if myDe is null
52  };
53 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)