VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
DtCreateObjectService Class Reference

Abstract interface for simulation service which creates and deletes local objects.

Inheritance diagram for DtCreateObjectService:
Inheritance graph
[legend]

Public Member Functions

 DtCreateObjectService (DtSimulationServices *svc, DtLocalObjectManager *)
 
virtual ~DtCreateObjectService ()
 
virtual DtCreateObjectHandle createAndInitVrfObject (const DtIfCreateVrfObject *creationInfo) override
 
virtual DtCreateObjectHandle createAndInitVrfObject (DtIfAggregateAs *aggInfo) override
 
virtual DtCreateObjectHandle createLocalObject (const DtVrfLocalObjectCreateInformation &creationInfo) override
 
virtual void removeAndDelete (const DtUUID &objectUuid, bool removeFromOrbat=false, bool removeSubordinates=true) override
 
virtual void removeAndDelete (DtLocalObject *localObject, bool removeFromOrbat=false, bool removeSubordinates=true) override
 
virtual void removeAndDeleteAll (bool andDeleteFromOrbat=false) override
 
virtual void queueSetSuperiorToForce (const DtUUID &, int force, int designator=0) override
 
virtual void queueSetSuperior (const DtUUID &subordinate, const DtUUID &superior, int designator=0) override
 
virtual DtRwStringAttributeListcustomizedMarkingsFor (const DtEntityType &ot) override
 
virtual bool hasOutstandingSubordinateChanges () const override
 
virtual DtString nextNameWithPrefix (int maxLength, const DtString &prefix) override
 
- Public Member Functions inherited from DtCreateObjectServiceInterface
 DtCreateObjectServiceInterface ()
 

Protected Attributes

DtLocalObjectManagermyObjectManager
 
DtSimulationServicesmySimulationServices
 

Private Member Functions

 DtCreateObjectService (const DtCreateObjectService &)
 
DtCreateObjectServiceoperator= (const DtCreateObjectService &)
 

Additional Inherited Members

- Public Attributes inherited from DtCreateObjectServiceInterface
boost::signals2::signal< void()> signal_subordinateChangesComplete
 

Constructor & Destructor Documentation

DtCreateObjectService::DtCreateObjectService ( const DtCreateObjectService )
private

Not implemented.

DtCreateObjectService::DtCreateObjectService ( DtSimulationServices svc,
DtLocalObjectManager  
)
virtual DtCreateObjectService::~DtCreateObjectService ( )
virtual

Member Function Documentation

DtCreateObjectService& DtCreateObjectService::operator= ( const DtCreateObjectService )
private

Not implemented.

virtual DtCreateObjectHandle DtCreateObjectService::createAndInitVrfObject ( const DtIfCreateVrfObject creationInfo)
overridevirtual

Create a new local vrf object from an interface message.

Implements DtCreateObjectServiceInterface.

virtual DtCreateObjectHandle DtCreateObjectService::createAndInitVrfObject ( DtIfAggregateAs aggInfo)
overridevirtual

Create a new local vrf object from an interface message.

Implements DtCreateObjectServiceInterface.

virtual DtCreateObjectHandle DtCreateObjectService::createLocalObject ( const DtVrfLocalObjectCreateInformation creationInfo)
overridevirtual

Create a new local object using the provided arguments. The returned handle includes the UUID that the object will have, however, the object will not be present in the system immediately.

Implements DtCreateObjectServiceInterface.

virtual void DtCreateObjectService::removeAndDelete ( const DtUUID objectUuid,
bool  removeFromOrbat = false,
bool  removeSubordinates = true 
)
overridevirtual

Delete.

Implements DtCreateObjectServiceInterface.

virtual void DtCreateObjectService::removeAndDelete ( DtLocalObject localObject,
bool  removeFromOrbat = false,
bool  removeSubordinates = true 
)
overridevirtual

Delete object from the simulation.

Implements DtCreateObjectServiceInterface.

virtual void DtCreateObjectService::removeAndDeleteAll ( bool  andDeleteFromOrbat = false)
overridevirtual

Remove all objects from the simulation.

Implements DtCreateObjectServiceInterface.

virtual void DtCreateObjectService::queueSetSuperiorToForce ( const DtUUID subordinate,
int  force,
int  designator = 0 
)
overridevirtual

Set the superior of subordinate to be the top level force object of the specified force.

Implements DtCreateObjectServiceInterface.

virtual void DtCreateObjectService::queueSetSuperior ( const DtUUID subordinate,
const DtUUID superior,
int  designator = 0 
)
overridevirtual

Set subordinate to have a new superior.

Implements DtCreateObjectServiceInterface.

virtual DtRwStringAttributeList* DtCreateObjectService::customizedMarkingsFor ( const DtEntityType &  ot)
overridevirtual
virtual bool DtCreateObjectService::hasOutstandingSubordinateChanges ( ) const
overridevirtual

Whether or not there are subordinate operation changes queued up.

Implements DtCreateObjectServiceInterface.

virtual DtString DtCreateObjectService::nextNameWithPrefix ( int  maxLength,
const DtString prefix 
)
overridevirtual

Returns the next object name with the give prefix.

Implements DtCreateObjectServiceInterface.

Member Data Documentation

DtLocalObjectManager* DtCreateObjectService::myObjectManager
protected
DtSimulationServices* DtCreateObjectService::mySimulationServices
protected

The documentation for this class was generated from the following file:

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)