VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
exampleCustomElementAttributePlugin.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 // Get proper local export symbol
13 #ifdef _WIN32
14 #ifdef EXAMPLECUSTOMELEMENTATTRIBUTEPLUGIN_EXPORTS
15 #define DT_DLL_EXAMPLECUSTOMELEMENTATTRIBUTEPLUGIN __declspec ( dllexport )
16 #else
17 #define DT_DLL_EXAMPLECUSTOMELEMENTATTRIBUTEPLUGIN __declspec ( dllimport )
18 #endif
19 #else
20 #define DT_DLL_EXAMPLECUSTOMELEMENTATTRIBUTEPLUGIN
21 #endif
22 
23 #ifdef DtDIS
24 # include <vrvDis/vrvDis.h>
25 # define DT_PROTOCOL_NAMESPACE vrvDis
26 #else
27 # ifdef DtHLA_4
28 # include <vrvHla4/vrvHla4.h>
29 # define DT_PROTOCOL_NAMESPACE vrvHla4
30 # elif DtHLA_1516_EVOLVED
31 # include <vrvHla1516e/vrvHla1516e.h>
32 # define DT_PROTOCOL_NAMESPACE vrvHla1516e
33 # else
34 # ifdef DtHLA_1516
35 # include <vrvHla1516/vrvHla1516.h>
36 # define DT_PROTOCOL_NAMESPACE vrvHla1516
37 # else
38 # ifdef DtHLA
39 # include <vrvHla13/vrvHla13.h>
40 # define DT_PROTOCOL_NAMESPACE vrvHla13
41 # define DL_DLL_IGCONVRLINK DT_DLL_VRVHLA13
42 
43 # else
44 # error "Protocol not specified or unsupported."
45 # endif
46 # endif
47 # endif
48 #endif
49 
50 // Setup proper plugin export symbol
51 #define DT_DE_PLUGIN_EXPORT_MACRO DT_DLL_EXAMPLECUSTOMELEMENTATTRIBUTEPLUGIN
52 
53 // Declare & export the plugin initialization function (bool initDeModule(DtDe* de))
54 #include <vrvCore/exportPlugin.h>
55 
56 namespace makVrv
57 {
58  class DtDe;
59 }
60 
61 // Work function for the plugin initialization
63 
64 // Callback to create the attribute monitor and register it with the DtDe
Contains DLL export macros.
void slot_postInitialize(makVrv::DtDe &de)
Contains DLL export macros.
Contains DLL export macros.
Contains DLL export macros.
#define DT_DLL_EXAMPLECUSTOMELEMENTATTRIBUTEPLUGIN
Definition: exampleCustomElementAttributePlugin.h:20
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
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)