VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DtSimAggregateRemoteEntityNetInterface Class Reference

Derived from DtSimEntityNetInterface, DtSimAggregateRemoteEntityNetInterface provides an interface between the local representation of a remote aggregate entity and it's network (VR-Link) representation (DtReflectedExtAggregate and DtAggregateStateRepository). More...

Inheritance diagram for DtSimAggregateRemoteEntityNetInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSimAggregateRemoteEntityNetInterface (const DtString &name, DtVrfObject *simObject, DtReaderWriterRegistry *parentRegistry=0, bool publishObject=true)
 read/writable constructor
 DtSimAggregateRemoteEntityNetInterface (const DtSimAggregateRemoteEntityNetInterface &orig, DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
const
DtSimAggregateRemoteEntityNetInterface
operator= (const DtSimAggregateRemoteEntityNetInterface &orig)
 assignment operator
virtual ~DtSimAggregateRemoteEntityNetInterface ()
 destructor
virtual void updateFromReflectedObject ()
 this will copy from the reflected aggregate and associated network state repository to the local state repository
virtual DtReflectedExtAggregatereflectedAggregate () const
 returns the pointer to the VR-Link reflected entity being used to represent this remote entity
virtual
DtExtAggregateStateRepository
aggregateNetworkState () const
 returns a pointer to the DtEntityStateRepository created by the DtReflectedEntity
virtual bool updateStateFromVariableDatum ()
 Updates local state from variable datum read in from network as part as aggregate state repository.
virtual bool getUserVariableDatum (int userRecordNumber, DtVariableDatumRecord &rec)
 Returns a user specified variable datum record.
virtual bool netSubordinateEntitiesChanged () const
virtual void updateSubordinateEntitiesFromNet ()
virtual bool netSubordinateAggregatesChanged () const
virtual void updateSubordinateAggregatesFromNet ()
virtual const
DtGlobalObjectDesignatorList & 
netSubordinateEntities () const
virtual const
DtGlobalObjectDesignatorList & 
netSubordinateAggregates () const
virtual bool isANetSubordinate (const DtGlobalObjectDesignator &globalId)
 Returns true if the given global Id is one of our individual or aggregate subordinates, according to our network data (as specified in our aggregate state repository).
virtual bool isAggregate () const
virtual DtString type () const
 Returns the type of net interface object.
virtual
DtVrfAggregateStateRepository
aggregateLocalState () const

Static Public Member Functions

static const
DtSimAggregateRemoteEntityNetInterface
isAggregateRemoteEntityNetInterface (const DtSimObjectNetInterface *objNetInterface)
 This function will return the objNetInterface passed in, cast to a DtSimAggregateRemoteEntityNetInterface*, provided the objNetInterface is indeed an aggregate remote entity network interface.
static
DtSimAggregateRemoteEntityNetInterface
isAggregateRemoteEntityNetInterface (DtSimObjectNetInterface *objNetInterface)
static DtSimObjectNetInterfacecreator (const DtString &name, DtVrfObject *simObject, DtReaderWriterRegistry *parentRegistry, bool publishObject)

Protected Member Functions

 DtSimAggregateRemoteEntityNetInterface ()
 default constructor

Protected Attributes

DtGlobalObjectDesignatorList myPreviousSubEntityList
DtGlobalObjectDesignatorList myPreviousSubAggregateList
DtGlobalObjectDesignatorList myNetSubordinateEntities
DtGlobalObjectDesignatorList myNetSubordinateAggregates
DtVariableDatumRecord myPreviousSubordinateOrderRecord

Detailed Description

Derived from DtSimEntityNetInterface, DtSimAggregateRemoteEntityNetInterface provides an interface between the local representation of a remote aggregate entity and it's network (VR-Link) representation (DtReflectedExtAggregate and DtAggregateStateRepository).


Constructor & Destructor Documentation

default constructor

DtSimAggregateRemoteEntityNetInterface::DtSimAggregateRemoteEntityNetInterface ( const DtString name,
DtVrfObject simObject,
DtReaderWriterRegistry parentRegistry = 0,
bool  publishObject = true 
)

read/writable constructor

copy constructor

destructor


Member Function Documentation

const DtSimAggregateRemoteEntityNetInterface& DtSimAggregateRemoteEntityNetInterface::operator= ( const DtSimAggregateRemoteEntityNetInterface orig)

assignment operator

this will copy from the reflected aggregate and associated network state repository to the local state repository

Implements DtSimRemoteEntityNetInterface.

returns the pointer to the VR-Link reflected entity being used to represent this remote entity

returns a pointer to the DtEntityStateRepository created by the DtReflectedEntity

Updates local state from variable datum read in from network as part as aggregate state repository.

virtual bool DtSimAggregateRemoteEntityNetInterface::getUserVariableDatum ( int  userRecordNumber,
DtVariableDatumRecord &  rec 
) [virtual]

Returns a user specified variable datum record.

virtual const DtGlobalObjectDesignatorList& DtSimAggregateRemoteEntityNetInterface::netSubordinateEntities ( ) const [virtual]
virtual const DtGlobalObjectDesignatorList& DtSimAggregateRemoteEntityNetInterface::netSubordinateAggregates ( ) const [virtual]
virtual bool DtSimAggregateRemoteEntityNetInterface::isANetSubordinate ( const DtGlobalObjectDesignator &  globalId) [virtual]

Returns true if the given global Id is one of our individual or aggregate subordinates, according to our network data (as specified in our aggregate state repository).

Returns true if the global Id appears in either of the netSubordinateEntities() or netSubordinateAggregates() lists, false if not.

virtual bool DtSimAggregateRemoteEntityNetInterface::isAggregate ( ) const [inline, virtual]

Returns the type of net interface object.

Strings are defined in netIfTypes.h.

Implements DtSimObjectNetInterface.

Reimplemented in DtVrfAggregateRemoteEntityNetInterface.

This function will return the objNetInterface passed in, cast to a DtSimAggregateRemoteEntityNetInterface*, provided the objNetInterface is indeed an aggregate remote entity network interface.

static DtSimObjectNetInterface* DtSimAggregateRemoteEntityNetInterface::creator ( const DtString name,
DtVrfObject simObject,
DtReaderWriterRegistry parentRegistry,
bool  publishObject 
) [static]

Member Data Documentation

DtGlobalObjectDesignatorList DtSimAggregateRemoteEntityNetInterface::myPreviousSubEntityList [protected]
DtGlobalObjectDesignatorList DtSimAggregateRemoteEntityNetInterface::myNetSubordinateEntities [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)