VR-Engage  2.2
Loading...
Searching...
No Matches
vreLuaExtensions.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file vreLuaExtensions.h
7//! \ingroup vreVrfobjcore
8//! \brief Lua extension management functions for VREngage
9//!
10//! This file provides functions for registering and removing VREngage-specific
11//! Lua extensions with the simulation environment. These extensions provide
12//! additional Lua functions that can be called from scenario scripts to control
13//! VREngage-specific functionality.
14
15#pragma once
16
18
19class DtVrfParameterDb;
20
21namespace makVre
22{
23//! \brief Registers VREngage Lua extensions with the simulation
24//! \param db Pointer to the VRF parameter database
25//!
26//! This function registers all VREngage-specific Lua extensions with the
27//! simulation environment. It should be called during initialization to make
28//! VREngage Lua functions available to scenario scripts. The functions are
29//! registered with the provided parameter database.
30VREVRFOBJCORE_DLL void addVreLuaExtensions(DtVrfParameterDb* db);
31
32//! \brief Removes previously registered VREngage Lua extensions
33//!
34//! This function removes all VREngage-specific Lua extensions that were
35//! previously registered with addVreLuaExtensions(). It should be called
36//! during shutdown to clean up registered extensions.
38} // namespace makVre
Export macros for the VREngage Object Core library.
#define VREVRFOBJCORE_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
VREVRFOBJCORE_DLL void addVreLuaExtensions(DtVrfParameterDb *db)
Registers VREngage Lua extensions with the simulation.
VREVRFOBJCORE_DLL void removeVreLuaExtensions()
Removes previously registered VREngage Lua extensions.