VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
createObjectServiceInterface.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 
11 #include <boost/signals2.hpp>
12 
14 class DtIfAggregateAs;
16 class DtLocalObject;
18 class DtEntityType;
19 
23 typedef enum
24 {
29 
37 {
38 private:
40 
44 
45 public:
47 
49  virtual DtCreateObjectHandle createAndInitVrfObject(const DtIfCreateVrfObject* creationInfo) = 0;
50 
52  virtual DtCreateObjectHandle createAndInitVrfObject(DtIfAggregateAs* aggInfo) = 0;
53 
57  virtual DtCreateObjectHandle createLocalObject(const DtVrfLocalObjectCreateInformation& creationInfo) = 0;
58 
60 
61  virtual void removeAndDelete(const DtUUID& objectUuid, bool removeFromOrbat = false, bool removeSubordinates = true) = 0;
62  virtual void removeAndDelete(DtLocalObject* localObject, bool removeFromOrbat = false, bool removeSubordinates = true) = 0;
64 
66  virtual void removeAndDeleteAll(bool andDeleteFromOrbat = false) = 0;
67 
69  virtual void queueSetSuperiorToForce(const DtUUID& subordinate, int force, int designator = 0) = 0;
71  virtual void queueSetSuperior(const DtUUID& subordinate, const DtUUID& superior, int designator = 0) = 0;
72 
73  virtual DtRwStringAttributeList* customizedMarkingsFor(const DtEntityType& ot) = 0;
74 
76  virtual bool hasOutstandingSubordinateChanges() const = 0;
77 
79  virtual DtString nextNameWithPrefix(int maxLength, const DtString& prefix) = 0;
80 
83  boost::signals2::signal<void ()> signal_subordinateChangesComplete;
84 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
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
Definition: createObjectServiceInterface.h:26
Definition: createObjectServiceInterface.h:27
The DtLocalObjectCreateInformation class is a subset of the information used in the DtIfCreateVrfObje...
Definition: vrfLocalObjectCreateInformation.h:26
boost::signals2::signal< void()> signal_subordinateChangesComplete
Signal sent when transitioning from having queued operations to having no queued operations.
Definition: createObjectServiceInterface.h:83
Definition: createObjectServiceInterface.h:25
This is the FIXED length portion of a DtIfAggregateAs message content when placed on the network...
Definition: ifAggregateAs.h:39
DtAggregateCreationMode
Defines how the initial DtAggregateState should be set upon creation of an aggregate entity...
Definition: createObjectServiceInterface.h:23
#define DT_DLL_vrfcore
This file is used to determine how to build.
Definition: vrfcoreDefines.h:25
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)