VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
createObjectService.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 
13 
16 {
17 private:
19 
23 
24 public:
26 
27  virtual ~DtCreateObjectService();
28 
30  virtual DtCreateObjectHandle createAndInitVrfObject(const DtIfCreateVrfObject* creationInfo) override;
31 
34 
38  virtual DtCreateObjectHandle createLocalObject(const DtVrfLocalObjectCreateInformation& creationInfo) override;
39 
41  virtual void removeAndDelete(
42  const DtUUID& objectUuid, bool removeFromOrbat = false, bool removeSubordinates = true) override;
43  virtual void removeAndDelete(
44  DtLocalObject* localObject, bool removeFromOrbat = false, bool removeSubordinates = true) override;
45 
46  virtual void removeAndDeleteAll(bool andDeleteFromOrbat = false) override;
47 
48  virtual void queueSetSuperiorToForce(const DtUUID&, int force, int designator = 0) override;
49  virtual void queueSetSuperior(const DtUUID& subordinate, const DtUUID& superior, int designator = 0) override;
50  virtual DtRwStringAttributeList* customizedMarkingsFor(const DtEntityType& ot) override;
51  virtual bool hasOutstandingSubordinateChanges() const override;
52 
54  virtual DtString nextNameWithPrefix(int maxLength, const DtString& prefix) override;
55 
56 protected:
59 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
virtual DtCreateObjectHandle createAndInitVrfObject(const DtIfCreateVrfObject *creationInfo)=0
Create a new local vrf object from an interface message.
DtSimulationServices * mySimulationServices
Definition: createObjectService.h:58
class DtLocalObjectManager:
Definition: localObjectManager.h:157
Abstract interface for simulation service which creates and deletes local objects.
Definition: createObjectService.h:15
DtCreateObjectServiceInterface & operator=(const DtCreateObjectServiceInterface &)
Not implemented.
Handle returned from Create Object Service calls.
Definition: createObjectHandle.h:12
Service interface for creating and removing simulation objects as well as adjusting organization hier...
Definition: createObjectServiceInterface.h:36
virtual void removeAndDelete(const DtUUID &objectUuid, bool removeFromOrbat=false, bool removeSubordinates=true)=0
Delete object from the simulation.
DtLocalObjectManager * myObjectManager
Definition: createObjectService.h:57
virtual DtRwStringAttributeList * customizedMarkingsFor(const DtEntityType &ot)=0
virtual void removeAndDeleteAll(bool andDeleteFromOrbat=false)=0
Remove all objects from the simulation.
The DtLocalObjectCreateInformation class is a subset of the information used in the DtIfCreateVrfObje...
Definition: vrfLocalObjectCreateInformation.h:26
virtual void queueSetSuperiorToForce(const DtUUID &subordinate, int force, int designator=0)=0
Set the superior of subordinate to be the top level force object of the specified force...
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtString nextNameWithPrefix(int maxLength, const DtString &prefix)=0
Returns the next object name with the give prefix.
virtual DtCreateObjectHandle createLocalObject(const DtVrfLocalObjectCreateInformation &creationInfo)=0
Create a new local object using the provided arguments. The returned handle includes the UUID that th...
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
virtual bool hasOutstandingSubordinateChanges() const =0
Whether or not there are subordinate operation changes queued up.
virtual void queueSetSuperior(const DtUUID &subordinate, const DtUUID &superior, int designator=0)=0
Set subordinate to have a new superior.
This is the FIXED length portion of a DtIfAggregateAs message content when placed on the network...
Definition: ifAggregateAs.h:39
class DtRwStringAttributeList:
Definition: rwStringAttributeList.h:29
class DtIfCreateVrfObject:
Definition: ifCreateVrfObject.h:77
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)