VR-Engage  2.2
Loading...
Searching...
No Matches
vreVrfPlugin.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file vreVrfPlugin.h
7//! \ingroup vreVrfSimPlugin
8//! \brief Main entry point for the VREngage simulation plugin
9//!
10//! This file defines the initialization, post-initialization, and unload functions
11//! for the VREngage simulation plugin, which extends the base VRF simulation
12//! with VREngage-specific functionality.
13
14#pragma once
16
17#include <vrfutil/vrfPluginInformation.h>
18
19class DtCgf;
20
21namespace makVre
22{
23//! \brief Namespace containing functions for the VREngage simulation plugin
24//!
25//! This namespace contains functions to initialize, post-initialize, and unload
26//! the VREngage simulation plugin, as well as provide information about the plugin.
28{
29//! \brief Initializes the VREngage simulation plugin
30//! \param cgf Pointer to the CGF (Computer Generated Forces) engine
31//! \return True if initialization was successful, false otherwise
32//!
33//! This function is called during the plugin initialization phase. It registers
34//! VREngage-specific simulation components, controllers, and actuators with the CGF engine.
36
37//! \brief Performs post-initialization tasks for the VREngage simulation plugin
38//! \param cgf Pointer to the CGF (Computer Generated Forces) engine
39//! \return True if post-initialization was successful, false otherwise
40//!
41//! This function is called after all plugins have been initialized. It performs
42//! tasks that depend on other plugins being already initialized, such as
43//! establishing inter-plugin connections and dependencies.
45
46//! \brief Unloads the VREngage simulation plugin
47//! \param cgf Pointer to the CGF (Computer Generated Forces) engine
48//!
49//! This function is called when the plugin is being unloaded. It unregisters
50//! VREngage-specific components and performs cleanup of any resources allocated
51//! during initialization and operation.
53
54//! \brief Provides information about the VREngage simulation plugin
55//! \param info Reference to a structure to be filled with plugin information
56//!
57//! This function fills the provided structure with information about the
58//! VREngage simulation plugin, including its name, version, and dependencies.
59VREVRFSIMPLUGIN_DLL void DtVreVrfPluginInformation(DtVrfPluginInformation& info);
60} // namespace DtVreVrfSimPlugin
61} // namespace makVre
Export macros for the VREngage Simulation Plugin library.
#define VREVRFSIMPLUGIN_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27
Namespace containing functions for the VREngage simulation plugin.
Definition vreVrfPlugin.h:28
VREVRFSIMPLUGIN_DLL void DtVreVrfPluginInformation(DtVrfPluginInformation &info)
Provides information about the VREngage simulation plugin.
VREVRFSIMPLUGIN_DLL bool DtPostInitializeVreVrfPlugin(DtCgf *cgf)
Performs post-initialization tasks for the VREngage simulation plugin.
VREVRFSIMPLUGIN_DLL bool DtInitializeVreVrfPlugin(DtCgf *cgf)
Initializes the VREngage simulation plugin.
VREVRFSIMPLUGIN_DLL void DtUnloadVreVrfPlugin(DtCgf *cgf)
Unloads the VREngage simulation plugin.
Include export definitions for this library.
Definition glsVreMessageUtil.h:49