VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions
DtUUIDNetworkManager Class Reference

Classes

struct  UUIDCallback

Public Member Functions

 DtUUIDNetworkManager ()
 Constructor.
virtual ~DtUUIDNetworkManager ()
 Destructor.
typedef boost::unordered_map
< uintptr_t, DtUUID
CurrentDataMap
typedef boost::unordered_map
< DtUUID, DtReflectedObject * > 
CurrentReflectedObjectMap
typedef boost::unordered_map
< uintptr_t, int
DataUpdateTrackerCount
DtExerciseConn * myExerciseConnection
DtReflectedControlObjectListmyControlObjectList
bool myOwnsControlObjectList
DtReflectedExtEntityListmyEntityList
bool myOwnsEntityList
DtReflectedExtAggregateListmyAggregateList
bool myOwnsAggregateList
makVrfVrlinkExtToolkit::DtReflectedExtendedAttributesObjectListmyExtAttributesList
bool myOwnsExtAttributesList
DtString myNonVrfObjectsUUIDScheme
CurrentDataMap myCurrentDataMap
CurrentReflectedObjectMap myReflectedObjectMap
DataUpdateTrackerCount myDataUpdateTrackerCount
DtNonVrfUUIDResolvermyNonVrfUUIDResolver
bool myOwnsNonVrfUUIDResolver
std::vector< UUIDCallbackmyEntityUUIDChangedCallbacks
std::vector< UUIDCallbackmyAggregateUUIDChangedCallbacks
std::vector< UUIDCallbackmyEnvironmentalUUIDChangedCallbacks
virtual void init (DtExerciseConn *exConn, DtReflectedExtEntityList *reel=NULL, DtReflectedExtAggregateList *ral=NULL, DtReflectedControlObjectList *rel=NULL, makVrfVrlinkExtToolkit::DtReflectedExtendedAttributesObjectList *reaol=NULL, const DtString &uuidMarkingForNonVrForces="entity-identifier")
 Supply all reflected lists if you are creating them in order to populate the DtUUIDNetworkManager to map VR-Forces UUIDs to marking text.
virtual void reinitialize (DtReflectedExtEntityList *reel=NULL, DtReflectedExtAggregateList *ral=NULL, DtReflectedControlObjectList *rel=NULL, makVrfVrlinkExtToolkit::DtReflectedExtendedAttributesObjectList *reaol=NULL)
 Reinitializes reflected lists.
virtual void setNonVrfUUIDResolver (DtNonVrfUUIDResolver *)
 Sets the resolver to be used to resolve non-vrf published objects for their UUID.
virtual DtNonVrfUUIDResolvernonVrfUUIDResolver () const
virtual DtUUID uuidFor (DtReflectedExtEntity *) const
 Return UUID for the given reflected VRF object.
virtual DtUUID uuidFor (DtReflectedExtAggregate *) const
virtual DtUUID uuidFor (DtReflectedControlObject *) const
virtual DtReflectedObjectreflectedObjectFor (const DtUUID &) const
DtReflectedControlObjectListcontrolObjectList ()
DtReflectedExtEntityListentityList ()
DtReflectedExtAggregateListaggregateList ()
virtual void addEntityUUIDChangedCallback (DtUUIDChangedCallback, void *usr)
 Callbacks to be invoked when UUID changes by reflected object type.
virtual void removeEntityUUIDChangedCallback (DtUUIDChangedCallback, void *usr)
virtual void addAggregateUUIDChangedCallback (DtUUIDChangedCallback, void *usr)
virtual void removeAggregateUUIDChangedCallback (DtUUIDChangedCallback, void *usr)
virtual void addEnvironmentalUUIDChangedCallback (DtUUIDChangedCallback, void *usr)
virtual void removeEnvironmentalUUIDChangedCallback (DtUUIDChangedCallback, void *usr)
virtual void initializeEntityList ()
 Looks through lists, adds callbacks for current objects or to track new objects.
virtual void processEntityAdded (DtReflectedExtEntity *)
virtual void processEntityRemoved (DtReflectedExtEntity *)
virtual void processPostEntityUpdate (DtReflectedExtEntity *)
virtual void initializeAggregateList ()
virtual void processAggregateAdded (DtReflectedExtAggregate *)
virtual void processAggregateRemoved (DtReflectedExtAggregate *)
virtual void processPostAggregateUpdate (DtReflectedExtAggregate *)
virtual void initializeControlObjectList ()
virtual void processControlObjectAdded (DtReflectedControlObject *)
virtual void processControlObjectRemoved (DtReflectedControlObject *)
virtual void processPostControlObjectUpdate (DtReflectedControlObject *)
virtual void removeObject (const uintptr_t &)
 Removes the object.
virtual void invokeUUIDCallbacks (std::vector< UUIDCallback >, DtReflectedObject *, const DtUUID &)
 Intentionally copy such that if removed during callback process will not affect iterator.
virtual void addUUIDCallback (std::vector< UUIDCallback > &, DtUUIDChangedCallback, void *)
virtual void removeUUIDCallback (std::vector< UUIDCallback > &, DtUUIDChangedCallback, void *)
static void entityAddedCallback (DtReflectedExtEntity *, void *usr)
static void entityRemovedCallback (DtReflectedExtEntity *, void *usr)
static void postEntityUpdateCallback (DtReflectedExtEntity *, void *usr)
static void aggregateAddedCallback (DtReflectedExtAggregate *, void *usr)
static void aggregateRemovedCallback (DtReflectedExtAggregate *, void *usr)
static void postAggregateUpdateCallback (DtReflectedExtAggregate *, void *usr)
static void controlObjectAddedCallback (DtReflectedControlObject *, void *usr)
static void controlObjectRemovedCallback (DtReflectedControlObject *, void *usr)
static void postControlObjectUpdateCallback (DtReflectedControlObject *, void *usr)

Member Typedef Documentation

typedef boost::unordered_map<uintptr_t, DtUUID> DtUUIDNetworkManager::CurrentDataMap
protected
typedef boost::unordered_map<uintptr_t, int> DtUUIDNetworkManager::DataUpdateTrackerCount
protected

Constructor & Destructor Documentation

DtUUIDNetworkManager::DtUUIDNetworkManager ( )

Constructor.

virtual DtUUIDNetworkManager::~DtUUIDNetworkManager ( )
virtual

Destructor.

Member Function Documentation

virtual void DtUUIDNetworkManager::init ( DtExerciseConn *  exConn,
DtReflectedExtEntityList reel = NULL,
DtReflectedExtAggregateList ral = NULL,
DtReflectedControlObjectList rel = NULL,
makVrfVrlinkExtToolkit::DtReflectedExtendedAttributesObjectList reaol = NULL,
const DtString uuidMarkingForNonVrForces = "entity-identifier" 
)
virtual

Supply all reflected lists if you are creating them in order to populate the DtUUIDNetworkManager to map VR-Forces UUIDs to marking text.

If you do not supply thos items the UUID Network Manager will create them and manage them itself Also supply the scheme of the UUID to use for non published VRF objects. The default is entity-identifier. Options are: entity-identifier global-identifier marking-text

virtual void DtUUIDNetworkManager::reinitialize ( DtReflectedExtEntityList reel = NULL,
DtReflectedExtAggregateList ral = NULL,
DtReflectedControlObjectList rel = NULL,
makVrfVrlinkExtToolkit::DtReflectedExtendedAttributesObjectList reaol = NULL 
)
virtual

Reinitializes reflected lists.

If the list supplied is NULL and the UUIDNetworkManager has already created a list then nothing more will be done. If one is supplied and the UUIDNetworkManager had created a list the old one will be deleted

virtual void DtUUIDNetworkManager::setNonVrfUUIDResolver ( DtNonVrfUUIDResolver )
virtual

Sets the resolver to be used to resolve non-vrf published objects for their UUID.

If one exists it will be deleted in favor of the new resolver (if owned by this class)

virtual DtNonVrfUUIDResolver* DtUUIDNetworkManager::nonVrfUUIDResolver ( ) const
virtual
virtual DtUUID DtUUIDNetworkManager::uuidFor ( DtReflectedExtEntity ) const
virtual

Return UUID for the given reflected VRF object.

If these objects have not already been discovered by the manager then a null UUID will be returned

virtual DtUUID DtUUIDNetworkManager::uuidFor ( DtReflectedExtAggregate ) const
virtual
virtual DtUUID DtUUIDNetworkManager::uuidFor ( DtReflectedControlObject ) const
virtual
virtual DtReflectedObject* DtUUIDNetworkManager::reflectedObjectFor ( const DtUUID ) const
virtual
DtReflectedControlObjectList* DtUUIDNetworkManager::controlObjectList ( )
inline
DtReflectedExtEntityList* DtUUIDNetworkManager::entityList ( )
inline
DtReflectedExtAggregateList* DtUUIDNetworkManager::aggregateList ( )
inline
virtual void DtUUIDNetworkManager::addEntityUUIDChangedCallback ( DtUUIDChangedCallback  ,
void *  usr 
)
virtual

Callbacks to be invoked when UUID changes by reflected object type.

virtual void DtUUIDNetworkManager::removeEntityUUIDChangedCallback ( DtUUIDChangedCallback  ,
void *  usr 
)
virtual
virtual void DtUUIDNetworkManager::addAggregateUUIDChangedCallback ( DtUUIDChangedCallback  ,
void *  usr 
)
virtual
virtual void DtUUIDNetworkManager::removeAggregateUUIDChangedCallback ( DtUUIDChangedCallback  ,
void *  usr 
)
virtual
virtual void DtUUIDNetworkManager::addEnvironmentalUUIDChangedCallback ( DtUUIDChangedCallback  ,
void *  usr 
)
virtual
virtual void DtUUIDNetworkManager::removeEnvironmentalUUIDChangedCallback ( DtUUIDChangedCallback  ,
void *  usr 
)
virtual
virtual void DtUUIDNetworkManager::initializeEntityList ( )
protectedvirtual

Looks through lists, adds callbacks for current objects or to track new objects.

static void DtUUIDNetworkManager::entityAddedCallback ( DtReflectedExtEntity ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processEntityAdded ( DtReflectedExtEntity )
protectedvirtual
static void DtUUIDNetworkManager::entityRemovedCallback ( DtReflectedExtEntity ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processEntityRemoved ( DtReflectedExtEntity )
protectedvirtual
static void DtUUIDNetworkManager::postEntityUpdateCallback ( DtReflectedExtEntity ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processPostEntityUpdate ( DtReflectedExtEntity )
protectedvirtual
virtual void DtUUIDNetworkManager::initializeAggregateList ( )
protectedvirtual
static void DtUUIDNetworkManager::aggregateAddedCallback ( DtReflectedExtAggregate ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processAggregateAdded ( DtReflectedExtAggregate )
protectedvirtual
static void DtUUIDNetworkManager::aggregateRemovedCallback ( DtReflectedExtAggregate ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processAggregateRemoved ( DtReflectedExtAggregate )
protectedvirtual
static void DtUUIDNetworkManager::postAggregateUpdateCallback ( DtReflectedExtAggregate ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processPostAggregateUpdate ( DtReflectedExtAggregate )
protectedvirtual
virtual void DtUUIDNetworkManager::initializeControlObjectList ( )
protectedvirtual
static void DtUUIDNetworkManager::controlObjectAddedCallback ( DtReflectedControlObject ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processControlObjectAdded ( DtReflectedControlObject )
protectedvirtual
static void DtUUIDNetworkManager::controlObjectRemovedCallback ( DtReflectedControlObject ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processControlObjectRemoved ( DtReflectedControlObject )
protectedvirtual
static void DtUUIDNetworkManager::postControlObjectUpdateCallback ( DtReflectedControlObject ,
void *  usr 
)
staticprotected
virtual void DtUUIDNetworkManager::processPostControlObjectUpdate ( DtReflectedControlObject )
protectedvirtual
virtual void DtUUIDNetworkManager::removeObject ( const uintptr_t &  )
protectedvirtual

Removes the object.

virtual void DtUUIDNetworkManager::invokeUUIDCallbacks ( std::vector< UUIDCallback ,
DtReflectedObject ,
const DtUUID  
)
protectedvirtual

Intentionally copy such that if removed during callback process will not affect iterator.

virtual void DtUUIDNetworkManager::addUUIDCallback ( std::vector< UUIDCallback > &  ,
DtUUIDChangedCallback  ,
void *   
)
protectedvirtual
virtual void DtUUIDNetworkManager::removeUUIDCallback ( std::vector< UUIDCallback > &  ,
DtUUIDChangedCallback  ,
void *   
)
protectedvirtual

Member Data Documentation

DtExerciseConn* DtUUIDNetworkManager::myExerciseConnection
protected
DtReflectedControlObjectList* DtUUIDNetworkManager::myControlObjectList
protected
bool DtUUIDNetworkManager::myOwnsControlObjectList
protected
DtReflectedExtEntityList* DtUUIDNetworkManager::myEntityList
protected
bool DtUUIDNetworkManager::myOwnsEntityList
protected
DtReflectedExtAggregateList* DtUUIDNetworkManager::myAggregateList
protected
bool DtUUIDNetworkManager::myOwnsAggregateList
protected
makVrfVrlinkExtToolkit::DtReflectedExtendedAttributesObjectList* DtUUIDNetworkManager::myExtAttributesList
protected
bool DtUUIDNetworkManager::myOwnsExtAttributesList
protected
DtString DtUUIDNetworkManager::myNonVrfObjectsUUIDScheme
protected
CurrentDataMap DtUUIDNetworkManager::myCurrentDataMap
protected
CurrentReflectedObjectMap DtUUIDNetworkManager::myReflectedObjectMap
protected
DataUpdateTrackerCount DtUUIDNetworkManager::myDataUpdateTrackerCount
protected
DtNonVrfUUIDResolver* DtUUIDNetworkManager::myNonVrfUUIDResolver
protected
bool DtUUIDNetworkManager::myOwnsNonVrfUUIDResolver
protected
std::vector<UUIDCallback> DtUUIDNetworkManager::myEntityUUIDChangedCallbacks
protected
std::vector<UUIDCallback> DtUUIDNetworkManager::myAggregateUUIDChangedCallbacks
protected
std::vector<UUIDCallback> DtUUIDNetworkManager::myEnvironmentalUUIDChangedCallbacks
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)