VR-Engage  2.3
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 or already initialized, 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.
35//!
36//! If a customer plugin needs to override classes registered by this plugin, they should
37//! call this function first in their plugin's initialize function to ensure the base
38//! VRE plugin components are registered. This function is safe to call multiple times -
39//! subsequent calls after the first successful initialization will return true immediately
40//! without re-initializing.
42
43//! \brief Performs post-initialization tasks for the VREngage simulation plugin
44//! \param cgf Pointer to the CGF (Computer Generated Forces) engine
45//! \return True if post-initialization was successful, false otherwise
46//!
47//! This function is called after all plugins have been initialized. It performs
48//! tasks that depend on other plugins being already initialized, such as
49//! establishing inter-plugin connections and dependencies.
51
52//! \brief Unloads the VREngage simulation plugin
53//! \param cgf Pointer to the CGF (Computer Generated Forces) engine
54//!
55//! This function is called when the plugin is being unloaded. It unregisters
56//! VREngage-specific components and performs cleanup of any resources allocated
57//! during initialization and operation.
59
60//! \brief Provides information about the VREngage simulation plugin
61//! \param info Reference to a structure to be filled with plugin information
62//!
63//! This function fills the provided structure with information about the
64//! VREngage simulation plugin, including its name, version, and dependencies.
65VREVRFSIMPLUGIN_DLL void DtVreVrfPluginInformation(DtVrfPluginInformation& info);
66} // namespace DtVreVrfSimPlugin
67} // 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.
!
Definition glsVreMessageUtil.h:50