VR-Engage  2.3
Loading...
Searching...
No Matches
makVre::DtVreVrfSimPlugin Namespace Reference

Functions

VREVRFSIMPLUGIN_DLL bool DtInitializeVreVrfPlugin (DtCgf *cgf)
 
VREVRFSIMPLUGIN_DLL bool DtPostInitializeVreVrfPlugin (DtCgf *cgf)
 
VREVRFSIMPLUGIN_DLL void DtUnloadVreVrfPlugin (DtCgf *cgf)
 
VREVRFSIMPLUGIN_DLL void DtVreVrfPluginInformation (DtVrfPluginInformation &info)
 

Detailed Description

This namespace contains functions to initialize, post-initialize, and unload the VREngage simulation plugin, as well as provide information about the plugin.

Function Documentation

◆ DtInitializeVreVrfPlugin()

VREVRFSIMPLUGIN_DLL bool makVre::DtVreVrfSimPlugin::DtInitializeVreVrfPlugin ( DtCgf * cgf)

Initializes the VREngage simulation plugin.

Parameters
cgfPointer to the CGF (Computer Generated Forces) engine
Returns
True if initialization was successful or already initialized, false otherwise

This function is called during the plugin initialization phase. It registers VREngage-specific simulation components, controllers, and actuators with the CGF engine.

If a customer plugin needs to override classes registered by this plugin, they should call this function first in their plugin's initialize function to ensure the base VRE plugin components are registered. This function is safe to call multiple times - subsequent calls after the first successful initialization will return true immediately without re-initializing.

References VREVRFSIMPLUGIN_DLL.

◆ DtPostInitializeVreVrfPlugin()

VREVRFSIMPLUGIN_DLL bool makVre::DtVreVrfSimPlugin::DtPostInitializeVreVrfPlugin ( DtCgf * cgf)

Performs post-initialization tasks for the VREngage simulation plugin.

Parameters
cgfPointer to the CGF (Computer Generated Forces) engine
Returns
True if post-initialization was successful, false otherwise

This function is called after all plugins have been initialized. It performs tasks that depend on other plugins being already initialized, such as establishing inter-plugin connections and dependencies.

References VREVRFSIMPLUGIN_DLL.

◆ DtUnloadVreVrfPlugin()

VREVRFSIMPLUGIN_DLL void makVre::DtVreVrfSimPlugin::DtUnloadVreVrfPlugin ( DtCgf * cgf)

Unloads the VREngage simulation plugin.

Parameters
cgfPointer to the CGF (Computer Generated Forces) engine

This function is called when the plugin is being unloaded. It unregisters VREngage-specific components and performs cleanup of any resources allocated during initialization and operation.

References VREVRFSIMPLUGIN_DLL.

◆ DtVreVrfPluginInformation()

VREVRFSIMPLUGIN_DLL void makVre::DtVreVrfSimPlugin::DtVreVrfPluginInformation ( DtVrfPluginInformation & info)

Provides information about the VREngage simulation plugin.

Parameters
infoReference to a structure to be filled with plugin information

This function fills the provided structure with information about the VREngage simulation plugin, including its name, version, and dependencies.

References VREVRFSIMPLUGIN_DLL.