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 | Public Attributes
DtCreateObjectServiceInterface Class Referenceabstract

Service interface for creating and removing simulation objects as well as adjusting orgainization hierarchy.

Related Examples
Inheritance diagram for DtCreateObjectServiceInterface:
Inheritance graph
[legend]

Public Member Functions

 DtCreateObjectServiceInterface ()
 
virtual DtCreateObjectHandle createAndInitVrfObject (const DtIfCreateVrfObject *creationInfo)=0
 
virtual DtCreateObjectHandle createAndInitVrfObject (DtIfAggregateAs *aggInfo)=0
 
virtual DtCreateObjectHandle createLocalObject (const DtVrfLocalObjectCreateInformation &creationInfo)=0
 
virtual void removeAndDeleteAll (bool andDeleteFromOrbat=false)=0
 
virtual void queueSetSuperiorToForce (const DtUUID &subordinate, int force, int designator=0)=0
 
virtual void queueSetSuperior (const DtUUID &subordinate, const DtUUID &superior, int designator=0)=0
 
virtual DtRwStringAttributeListcustomizedMarkingsFor (const DtObjectType &ot)=0
 
virtual bool hasOutstandingSubordinateChanges () const =0
 
virtual DtString nextNameWithPrefix (int maxLength, const DtString &prefix)=0
 
virtual void removeAndDelete (const DtUUID &objectUuid, bool removeFromOrbat=false, bool removeSubordinates=true)=0
 
virtual void removeAndDelete (DtLocalObject *localObject, bool removeFromOrbat=false, bool removeSubordinates=true)=0
 

Public Attributes

boost::signals2::signal< void()> signal_subordinateChangesComplete
 

Private Member Functions

 DtCreateObjectServiceInterface (const DtCreateObjectServiceInterface &)
 
DtCreateObjectServiceInterfaceoperator= (const DtCreateObjectServiceInterface &)
 

Constructor & Destructor Documentation

DtCreateObjectServiceInterface::DtCreateObjectServiceInterface ( const DtCreateObjectServiceInterface )
private

Not implemented.

DtCreateObjectServiceInterface::DtCreateObjectServiceInterface ( )

Member Function Documentation

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

Not implemented.

virtual DtCreateObjectHandle DtCreateObjectServiceInterface::createAndInitVrfObject ( const DtIfCreateVrfObject creationInfo)
pure virtual

Create a new local vrf object from an interface message.

Implemented in DtCreateObjectService.

virtual DtCreateObjectHandle DtCreateObjectServiceInterface::createAndInitVrfObject ( DtIfAggregateAs aggInfo)
pure virtual

Create a new local vrf object from an interface message.

Implemented in DtCreateObjectService.

virtual DtCreateObjectHandle DtCreateObjectServiceInterface::createLocalObject ( const DtVrfLocalObjectCreateInformation creationInfo)
pure 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.

Implemented in DtCreateObjectService.

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

Delete object from the simulation.

Implemented in DtCreateObjectService.

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

Delete object from the simulation.

Implemented in DtCreateObjectService.

virtual void DtCreateObjectServiceInterface::removeAndDeleteAll ( bool  andDeleteFromOrbat = false)
pure virtual

Remove all objects from the simulation.

Implemented in DtCreateObjectService.

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

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

Implemented in DtCreateObjectService.

virtual void DtCreateObjectServiceInterface::queueSetSuperior ( const DtUUID subordinate,
const DtUUID superior,
int  designator = 0 
)
pure virtual

Set subordinate to have a new superior.

Implemented in DtCreateObjectService.

virtual DtRwStringAttributeList* DtCreateObjectServiceInterface::customizedMarkingsFor ( const DtObjectType ot)
pure virtual

Implemented in DtCreateObjectService.

virtual bool DtCreateObjectServiceInterface::hasOutstandingSubordinateChanges ( ) const
pure virtual

Whether or not there are subordinate operation changes queued up.

Implemented in DtCreateObjectService.

virtual DtString DtCreateObjectServiceInterface::nextNameWithPrefix ( int  maxLength,
const DtString prefix 
)
pure virtual

Returns the next object name with the give prefix.

Implemented in DtCreateObjectService.

Member Data Documentation

boost::signals2::signal<void ()> DtCreateObjectServiceInterface::signal_subordinateChangesComplete

Signal sent when transitioning from having queued operations to having no queued operations.


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)