VR-Engage
2.3
Loading...
Searching...
No Matches
plugin.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2025 MAK Technologies
3
** All rights reserved.
4
*******************************************************************************/
5
6
//! \file plugin.h
7
//! \brief Defines the plugin initialization interface for the Spectator Frontend module
8
//! \ingroup vreSpectatorFrontend
9
10
#pragma once
11
12
#include "
vreSpectatorFrontend/export.h
"
13
14
namespace
makVre
15
{
16
//! \brief Forward declaration of the player station application class
17
class
DtPlayerStationApp
;
18
}
// namespace makVre
19
20
//! \name Plugin Interface Functions
21
//! @{
22
23
//! \brief External C interface for module initialization
24
extern
"C"
25
{
26
//! \brief Initializes the Spectator Frontend module
27
//! \param app Pointer to the player station application
28
//! \return True if initialization was successful, false otherwise
29
//!
30
//! This function is called when the module is loaded to initialize the
31
//! spectator role components and register them with the application
32
SPECTATOR_DLL
bool
initPlayerStationModule
(
makVre::DtPlayerStationApp
* app);
33
34
//! \brief Shuts down the Spectator Frontend module.
35
//!
36
//! This function removes the spectator role component creators that were
37
//! registered during initialization.
38
//!
39
//! \param app Pointer to the player station application.
40
SPECTATOR_DLL
void
shutdownPlayerStationModule
(
makVre::DtPlayerStationApp
* app);
41
};
42
43
//! @}
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...
export.h
Defines export macros for the Spectator Frontend library.
SPECTATOR_DLL
#define SPECTATOR_DLL
Export/import macro for non-Windows platforms (empty)
Definition
export.h:25
makVre
!
Definition
glsVreMessageUtil.h:50
Generated on 2026-10-22 from SVN revision 296863 - Copyright © 2005-2026 MAK Technologies. All Rights Reserved.