![]() |
VR-Forces 4.10 Class Documentation
|
This is the FIXED length portion of a DtIfAggregateAs message content when placed on the network. More...

Public Member Functions | |
| DtIfAggregateAs () | |
| default constructor More... | |
| virtual | ~DtIfAggregateAs () |
| destructor More... | |
| DtIfAggregateAs (const DtIfAggregateAs &orig) | |
| copy constructor More... | |
| DtIfAggregateAs & | operator= (const DtIfAggregateAs &orig) |
| assignment operator More... | |
| virtual int | type () const |
| Returns the type of Interface Content; DtRemoveEntityMessageName. More... | |
| virtual DtSimInterfaceContent * | clone () const |
| virtual DtForceType | forceType () const |
| Force type of aggregate to create. See VrLink DtForceType for details. More... | |
| virtual void | setForceType (DtForceType force) |
| virtual const DtEntityType & | entityType () const |
| Entity type of aggregate to create. See VrLink DtEntityType for details. More... | |
| virtual void | setEntityType (const DtEntityType &type) |
| virtual void | setPosition (const DtVector &position) |
| Set/get local (database) position of aggregate (in meters). More... | |
| virtual const DtVector & | position () const |
| virtual DtReal | heading () const |
| Set/get heading of aggregate (0 is north, clockwise, in radians). More... | |
| virtual void | setHeading (DtReal heading) |
| virtual unsigned long | requestId () const |
| Request Id of aggregate to create. More... | |
| virtual void | setRequestId (unsigned long id) |
| virtual void | addSubordinate (const DtUUID &name) |
| Adds a subordinate entity to the aggregate, given its echelon ID name. More... | |
| virtual void | setUUID (const DtUUID &) |
| If need be, the starting UUID to give to the aggregate when creating it. More... | |
| virtual const DtUUID & | uuid () const |
| virtual const std::vector < DtUUID > & | subordinates () const |
| Gets the list of subordinate entities. List is a list of uuids. More... | |
| virtual std::vector< DtUUID > & | subordinates () |
| virtual DtAggregateState | initialAggregateState () const |
| Set/get the initial aggregate state when creating an aggregate. More... | |
| virtual void | setInitialAggregateState (DtAggregateState aggregateState) |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
| virtual void | setAddToOrbat (bool) |
| Whether or not this aggregate (and potentially its subordiantes) should be added to the orbat. More... | |
| virtual bool | addToOrbat () const |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | printContentType (DtString &str) |
| virtual void | setUseSessionId (bool yesNo) |
| virtual bool | useSessionId () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Static Public Member Functions inherited from DtSimInterfaceContent | |
| static DtSimInterfaceContent * | createInterfaceContent (int type) |
| static void | addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn) |
| static void | setFactory (DtInterfaceContentFactory *factory) |
| static DtInterfaceContentFactory * | factory () |
| static void | registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn) |
Protected Attributes | |
| DtForceType | myForceType |
| DtEntityType | myEntityType |
| DtVector | myPosition |
| DtReal | myHeading |
| std::vector< DtUUID > | myEntitiesToAggregate |
| DtU32 | myRequestId |
| DtU8 | myInitialAggregateState |
| DtUUID | myUUID |
| bool | myAddToOrbat |
Protected Attributes inherited from DtSimInterfaceContent | |
| char * | myNetRep |
| bool | myUseSessionId |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimInterfaceContent | |
| DtSimInterfaceContent () | |
| DtSimInterfaceContent (const DtSimInterfaceContent &orig) | |
| const DtSimInterfaceContent & | operator= (const DtSimInterfaceContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
| static DtSimInterfaceContentTypePrinterFcn | theContentTypePrinterFcn |
This is the FIXED length portion of a DtIfAggregateAs message content when placed on the network.
class DtIfAggregateAs:
Instances of DtIfAggregateAs are the content for messages sent to the back end, instructing it to aggregate a given set of entities into a pseudo-aggregate of a given echelon level.
Content-Type: DtAggregateAsMessageType
Parameters: forceType - Force type of aggregate to create (from disEnums.h).
entityType - Entity type of aggregate to create.
subordinates - A DtList of uuids of entities to add subordinate entities.
| DtIfAggregateAs::DtIfAggregateAs | ( | ) |
default constructor
|
virtual |
destructor
| DtIfAggregateAs::DtIfAggregateAs | ( | const DtIfAggregateAs & | orig | ) |
copy constructor
| DtIfAggregateAs& DtIfAggregateAs::operator= | ( | const DtIfAggregateAs & | orig | ) |
assignment operator
|
virtual |
Returns the type of Interface Content; DtRemoveEntityMessageName.
Implements DtSimInterfaceContent.
|
virtual |
Implements DtSimInterfaceContent.
|
virtual |
Force type of aggregate to create. See VrLink DtForceType for details.
|
virtual |
|
virtual |
Entity type of aggregate to create. See VrLink DtEntityType for details.
|
virtual |
|
virtual |
Set/get local (database) position of aggregate (in meters).
|
virtual |
|
virtual |
Set/get heading of aggregate (0 is north, clockwise, in radians).
|
virtual |
Request Id of aggregate to create.
This ID can be used to check whether the request has been carried out.
|
virtual |
Adds a subordinate entity to the aggregate, given its echelon ID name.
|
virtual |
If need be, the starting UUID to give to the aggregate when creating it.
|
virtual |
|
virtual |
Gets the list of subordinate entities. List is a list of uuids.
|
virtual |
|
virtual |
Set/get the initial aggregate state when creating an aggregate.
Not used for non-aggregate objects. Default is DtDisaggregated.
|
virtual |
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
static |
|
virtual |
Whether or not this aggregate (and potentially its subordiantes) should be added to the orbat.
if the subordaintes are in the orbat and this flag is false the aggregate will still be added to the orbat. Default is true
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |