VR-Forces 5.0.1 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)
 
virtual DtCreateObjectHandle createAndInitVrfObject (DtIfAggregateAs *aggInfo)
 
virtual DtCreateObjectHandle createLocalObject (const DtVrfLocalObjectCreateInformation &creationInfo)
 
virtual void removeAndDelete (const DtUUID &objectUuid, bool removeFromOrbat=false, bool removeSubordinates=true)
 
virtual void removeAndDelete (DtLocalObject *localObject, bool removeFromOrbat=false, bool removeSubordinates=true)
 
virtual void removeAndDeleteAll (bool andDeleteFromOrbat=false)
 
virtual void queueSetSuperiorToForce (const DtUUID &, int force, int designator=0)
 
virtual void queueSetSuperior (const DtUUID &subordinate, const DtUUID &superior, int designator=0)
 
virtual DtRwStringAttributeListcustomizedMarkingsFor (const DtObjectType &ot)
 
virtual bool hasOutstandingSubordinateChanges () const
 
virtual DtString nextNameWithPrefix (int maxLength, const DtString &prefix)
 
- 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)
virtual

Create a new local vrf object from an interface message.

Implements DtCreateObjectServiceInterface.

virtual DtCreateObjectHandle DtCreateObjectService::createAndInitVrfObject ( DtIfAggregateAs aggInfo)
virtual

Create a new local vrf object from an interface message.

Implements DtCreateObjectServiceInterface.

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

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 
)
virtual

Delete.

Implements DtCreateObjectServiceInterface.

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

Delete object from the simulation.

Implements DtCreateObjectServiceInterface.

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

Remove all objects from the simulation.

Implements DtCreateObjectServiceInterface.

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

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 
)
virtual

Set subordinate to have a new superior.

Implements DtCreateObjectServiceInterface.

virtual DtRwStringAttributeList* DtCreateObjectService::customizedMarkingsFor ( const DtObjectType ot)
virtual
virtual bool DtCreateObjectService::hasOutstandingSubordinateChanges ( ) const
virtual

Whether or not there are subordinate operation changes queued up.

Implements DtCreateObjectServiceInterface.

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

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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)