VR-Engage
2.3
Loading...
Searching...
No Matches
plugin.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2025 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
//! \file plugin.h
7
//! \brief Plugin entry point for the QML HUD example demonstrating QML overlay integration.
8
9
#pragma once
10
11
#ifdef _WIN32
12
#ifdef qmlHud_EXPORTS
13
#define QMLHUD_DLL __declspec(dllexport)
14
#else
15
#define QMLHUD_DLL __declspec(dllimport)
16
#endif
17
#else
18
#define QMLHUD_DLL
19
#endif
20
21
namespace
makVre
22
{
23
class
DtPlayerStationApp;
24
}
25
26
extern
"C"
27
{
28
//! \brief Plugin entry point for VR-Engage player station module loading.
29
//!
30
//! This function is called by VR-Engage when the qmlHud plugin is loaded. It registers
31
//! the DtDriverQmlHudComponent with the application's component factory, making it
32
//! available for use in role configurations.
33
//!
34
//! This example demonstrates the standard VR-Engage plugin initialization pattern where
35
//! components are registered by type string that matches their usage in role XML files.
36
//!
37
//! \param app The player station application instance providing access to the component factory
38
//! \return true if registration succeeds, false otherwise
39
QMLHUD_DLL
bool
initPlayerStationModule
(
makVre::DtPlayerStationApp
* app);
40
41
//! \brief Unregisters the QML HUD component from the player station component factory.
42
//!
43
//! \param app The player station application instance providing access to the component factory.
44
QMLHUD_DLL
void
shutdownPlayerStationModule
(
makVre::DtPlayerStationApp
* app);
45
};
makVre::DtPlayerStationApp
Top-level class representing the VR-Engage application.
Definition
playerStationApp.h:155
shutdownPlayerStationModule
COMMENTFRONTEND_DLL void shutdownPlayerStationModule(makVre::DtPlayerStationApp *app)
Unregisters the example frontend comment logic component from the component factory.
initPlayerStationModule
COMMENTNET_DLL bool initPlayerStationModule(makVre::DtPlayerStationApp *app)
Entry point called by the simulation backend to register the example network comment connector with t...
QMLHUD_DLL
#define QMLHUD_DLL
Definition
plugin.h:18
makVre
!
Definition
glsVreMessageUtil.h:50
Generated on 2026-10-22 from SVN revision 296863 - Copyright © 2005-2026 MAK Technologies. All Rights Reserved.