VR-Engage  2.2
Loading...
Searching...
No Matches
vreLocalEntitySetController.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2025 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6//! \file vreLocalEntitySetController.h
7//! \ingroup vreVrfmodel
8//! \brief Controller for managing sets of local entities
9//!
10//! This file defines the DtVreLocalEntitySetController class which extends
11//! the base local entity set controller to provide VR-Engage specific functionality
12//! for managing groups of local entities.
13
14#pragma once
15
16#include "vreVrfmodel/export.h"
18
19#include <vrfmodel/localEntitySetController.h>
20
21namespace makVre
22{
23//! \brief Type identifier for the VRE local entity set controller component
24static const char* DtVreLocalEntitySetControllerType = "vre-local-entity-set-controller";
25
26//! \brief Controller for managing sets of local entities with VR-Engage extensions
27//!
28//! DtVreLocalEntitySetController extends the base local entity set controller
29//! with VR-Engage specific functionality for managing groups of local entities.
30//! It inherits from DtVreSetController which provides common behavior for all
31//! VR-Engage set controllers.
32class VREVRFMODEL_DLL DtVreLocalEntitySetController : public DtVreSetController<DtLocalEntitySetController>
33{
34public:
35 //! \brief Constructor
36 //! \param name The name of this component
37 //! \param owner The local object that owns this component
38 //! \param simManager The simulation services manager
39 //! \param desc Component descriptor with configuration parameters
40 //! \param parentRegistry Optional parent registry for reader/writer functionality
41 //!
42 //! Creates a new local entity set controller component with the specified parameters.
43 DtVreLocalEntitySetController(const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
44 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
45
46 //! \brief Gets the type identifier for this component
47 //! \return String identifying the component type (DtVreLocalEntitySetControllerType)
48 //!
49 //! Implements the DtSimComponent::type() method to return the
50 //! type identifier for this component.
51 virtual const char* type() const override;
52
53 //! \brief Factory method to create a new instance of this component
54 //! \param name The name for the new component
55 //! \param owner The local object that will own this component
56 //! \param simManager The simulation services manager
57 //! \param desc Optional component descriptor
58 //! \param parentRegistry Optional parent registry for reader/writer functionality
59 //! \return Pointer to the newly created component
60 //!
61 //! Static factory method used by the component creation system to instantiate
62 //! new instances of this component type.
63 static DtSimComponent* creator(const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
64 DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
65
66private:
67 //! \brief Default constructor (not implemented)
68 //!
69 //! Default constructor is private and not implemented to prevent
70 //! creation of instances without proper initialization.
72
73 //! \brief Copy constructor (not implemented)
74 //!
75 //! Copy constructor is private and not implemented to prevent
76 //! copy construction.
78
79 //! \brief Assignment operator (not implemented)
80 //! \return Reference to this object
81 //!
82 //! Assignment operator is private and not implemented to prevent assignment.
84};
85} // namespace makVre
DtVreLocalEntitySetController & operator=(const DtVreLocalEntitySetController &orig)
Assignment operator (not implemented)
DtVreLocalEntitySetController()
Default constructor (not implemented)
virtual const char * type() const override
Gets the type identifier for this component.
DtVreLocalEntitySetController(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Constructor.
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Factory method to create a new instance of this component.
DtVreLocalEntitySetController(const DtVreLocalEntitySetController &orig)
Copy constructor (not implemented)
DtVreSetController(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
Definition vreSetController.h:76
Defines export macros for the vreVrfmodel library.
#define VREVRFMODEL_DLL
Definition export.h:22
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
static const char * DtVreLocalEntitySetControllerType
Type identifier for the VRE local entity set controller component.
Definition vreLocalEntitySetController.h:24
Template controller for handling VR-Engage entity control assignments.