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

State view collection for extended state data. More...

Inheritance diagram for makVrf::DtExtendedStateDataViewCollection:
Inheritance graph
[legend]

Public Member Functions

 DtExtendedStateDataViewCollection (makVrv::DtDe &de)
- Public Member Functions inherited from makVrv::DtStateViewCollection< DtExtendedStateData >
 DtStateViewCollection (DtDe &de, DtSimEntryUpdater::UpdateRate rate)
 CTOR.
virtual ~DtStateViewCollection ()
 DTOR.
void setUpdateRate (DtSimEntryUpdater::UpdateRate rate)
 Set the rate of every state view in the container.
size_t size () const
 Return the number of the objects in the container.
const StateViewMapstateViewMap () const
 Return the map of DtStateViews's in this collection.
bool hasStateView (DtUniqueID id) const
 Returns true if a state view with that ID exists.
const DtStateView
< DtExtendedStateData > * 
findStateView (DtUniqueID id) const
 Find DtStateView by id.

Additional Inherited Members

- Public Types inherited from makVrv::DtStateViewCollection< DtExtendedStateData >
typedef std::map< DtUniqueID,
DtStateView
< DtExtendedStateData > * > 
StateViewMap
 Map of unique id's to DtStateViews's.
- Public Attributes inherited from makVrv::DtStateViewCollection< DtExtendedStateData >
boost::signal< void(const
DtStateView
< DtExtendedStateData > &)> 
signal_stateViewAdded
 Signal emitted when a DtStateView is added.
boost::signal< void(const
DtStateView
< DtExtendedStateData > &)> 
signal_stateViewAboutToBeRemoved
 Signal emitted when a DtStateView is about to be removed.
- Protected Member Functions inherited from makVrv::DtStateViewCollection< DtExtendedStateData >
bool isCompatible (DtSimObjectEntry &entry)
 Returns true if the DtSimEntry contains a state of type T.
bool isCompatible (DtSimState &entry)
 Returns true if the state if of type T.
void onSimObjectEntryAdded (DtSimObjectEntry &entry)
 Called when a DtSimObjectEntry is added.
void onSimObjectEntryAboutToBeRemoved (DtSimObjectEntry &entry)
 Called when a DtSimObjectEntry is about to be removed.
void onSimObjectStateEntryAdded (DtSimObjectEntry &entry, DtSimState &)
 Called when a DtSimState is added to a DtSimObjectEntry.
void onSimObjectStateEntryAboutToBeRemoved (DtSimObjectEntry &entry, DtSimState &)
 Called when a DtSimState is about to be removed from a DtSimObjectEntry.
void populateFromExistingEntries ()
 Go through existing DtSimEntry's and populate this container.
- Protected Attributes inherited from makVrv::DtStateViewCollection< DtExtendedStateData >
DtDemyDe
StateViewMap myStateViewMap
DtSimEntryUpdater::UpdateRate myRate

Detailed Description

State view collection for extended state data.

Constructor & Destructor Documentation

makVrf::DtExtendedStateDataViewCollection::DtExtendedStateDataViewCollection ( makVrv::DtDe de)
inline

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)