VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
DtOrganizationChangeSet Class Reference

DtOrganizationChangeSet. More...

Classes

struct  DtSetSubordinateInformation
 
struct  DtSetSubordinateToForceInformation
 

Public Types

typedef std::list
< DtSetSubordinateInformation
DtSetSuperiorList
 
typedef std::list
< DtSetSubordinateToForceInformation
DtSetSuperiorToForceList
 

Public Member Functions

 DtOrganizationChangeSet ()
 
virtual ~DtOrganizationChangeSet ()
 
 DtOrganizationChangeSet (const DtOrganizationChangeSet &orig)
 
DtOrganizationChangeSetoperator= (const DtOrganizationChangeSet &orig)
 
virtual void addSetSuperior (const DtUUID &subordinate, const DtUUID &superior, int designator=0)
 Adds a "Set Superior" command to the change set. More...
 
virtual void addSetSuperiorToForce (const DtUUID &subordinate, int designator=0)
 Adds a "Set Superior To Force" command to the change set. More...
 
virtual const DtSetSuperiorListsetSuperiorCommands () const
 
virtual const
DtSetSuperiorToForceList
setSuperiorToForceCommands () const
 
virtual void clear ()
 Empties contents of change set. More...
 

Protected Member Functions

virtual void removeItemsWithSubordiate (const DtUUID &subordinate)
 Removes any existing items from the lists that have the specified subordinate. More...
 

Protected Attributes

DtSetSuperiorList mySetSuperiorList
 List of all the Set Superior commands in the set. More...
 
DtSetSuperiorToForceList mySetSuperiorToForceList
 List of all the Set Superior To Force commands in the set. More...
 

Detailed Description

DtOrganizationChangeSet.

Holds a set of changes to the organization hierarchy. This set can be passed to the DtOrganizationManager to initiate the enclosed changes.

Member Typedef Documentation

Constructor & Destructor Documentation

DtOrganizationChangeSet::DtOrganizationChangeSet ( )
virtual DtOrganizationChangeSet::~DtOrganizationChangeSet ( )
virtual
DtOrganizationChangeSet::DtOrganizationChangeSet ( const DtOrganizationChangeSet orig)

Member Function Documentation

DtOrganizationChangeSet& DtOrganizationChangeSet::operator= ( const DtOrganizationChangeSet orig)
virtual void DtOrganizationChangeSet::addSetSuperior ( const DtUUID subordinate,
const DtUUID superior,
int  designator = 0 
)
virtual

Adds a "Set Superior" command to the change set.

This is a command that will place the specified subordinate directly under the specified superior in the organization hierarchy.

Note
This call will also remove any existing commands in the change set that assign the specified subordinate to any other superior.
virtual void DtOrganizationChangeSet::addSetSuperiorToForce ( const DtUUID subordinate,
int  designator = 0 
)
virtual

Adds a "Set Superior To Force" command to the change set.

This command causes the specified subordinate to become a direct subordinate of the force level aggregate of that entity's force. i.e. This entity will become a top level entity.

Note
This call will also remove any existing commands in the change set that assign the specified subordinate to any other superior.
virtual const DtSetSuperiorList& DtOrganizationChangeSet::setSuperiorCommands ( ) const
virtual
virtual const DtSetSuperiorToForceList& DtOrganizationChangeSet::setSuperiorToForceCommands ( ) const
virtual
virtual void DtOrganizationChangeSet::clear ( )
virtual

Empties contents of change set.

virtual void DtOrganizationChangeSet::removeItemsWithSubordiate ( const DtUUID subordinate)
protectedvirtual

Removes any existing items from the lists that have the specified subordinate.

This is to prevent a single change set from having contradictory changes.

Member Data Documentation

DtSetSuperiorList DtOrganizationChangeSet::mySetSuperiorList
protected

List of all the Set Superior commands in the set.

DtSetSuperiorToForceList DtOrganizationChangeSet::mySetSuperiorToForceList
protected

List of all the Set Superior To Force commands in the set.


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)