VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfGuiExportPlugin.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
10 
11 #pragma once
12 
14 
16 
17 #ifdef _WIN32
18  #ifdef VRFPLUGIN_EXPORTS
19  #define DT_VRF_DLL_PLUGIN __declspec ( dllexport )
20  #else
21  #define DT_VRF_DLL_PLUGIN __declspec ( dllimport )
22  #endif
23 #else
24  #define DT_VRF_DLL_PLUGIN
25 #endif
26 
27 namespace makVrv
28 {
29  class DtDe;
30  class DtVrvCommandLineProcessor;
31 }
32 
34 #define DT_DE_PLUGIN_EXPORT_MACRO DT_VRF_DLL_PLUGIN
35 
37 #include <vrvCore/exportPlugin.h>
38 
39 
40 extern "C"
41 {
44 }
45 
49 extern "C"
50 {
52 }
53 
58 extern "C"
59 {
61 }
62 
65 extern "C"
66 {
68 }
69 
72 
73 #ifdef BUILDING_PLUGIN
74 
75 #include "vrfutil/version.h"
76 #include <vlutil/vlString.h>
77 
78 extern "C" {
79  DT_VRF_DLL_PLUGIN void DtPluginVersion(DtString& version)
80  {
81  version = PLUGIN_COMPATIBLE_VERSION;
82 
83 #ifdef WIN32
84 #ifdef NDEBUG
85  version += " Release";
86 #else
87  version += " Debug";
88 #endif
89 #endif
90  }
91 }
92 
93 #endif
DT_VRF_DLL_PLUGIN void initializeCommandLineArguments(makVrv::DtVrvCommandLineProcessor *)
This method is called when trying to add additional command line arguments to the command line proces...
#define DT_VRF_DLL_PLUGIN
Get proper local export symbol.
Definition: vrfGuiExportPlugin.h:24
The DtVrvCommandLineProcessor is an interface for an application-specific command line parser...
Definition: DtVrvCommandLineProcessor.h:21
DT_VRF_DLL_PLUGIN void postInitDeModule(makVrv::DtDe &)
Include this code in your plugin if you wish to initialize information after all the plugins have bee...
#define PLUGIN_COMPATIBLE_VERSION
Definition: version.h:10
This information is strictly optional and only the name and version will be printed to the log file...
Definition: vrfPluginInformation.h:20
DT_VRF_DLL_PLUGIN void DtPluginInformation(DtVrfPluginInformation &info)
Declare &amp; export the plugin initialization function (void initDeModule(DtDe* de)) ...
DT_VRF_DLL_PLUGIN bool initQtDesignerModule(makVrv::DtDe &)
Include this in your plugin if you wish to initialize this plugin for Qt designer. Note that when called the de that is called is not an initialized de. It is only used as a rooted singleton to register and get access to some factory classes. In this case the DtVrfTaskSetWidgetVariableManager can be used to register the variable widget creator that can be used in the plugin.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)