VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtSpotReportDataInterface Class Reference

The DtSpotReportDataInterface class is a wrapper around state views to give access to convenience methods which will allow developers to more easily access data about those objects. It will also provide some basic manipulation for that object.

See Also
DtObjectDataInterface
Related Examples
Inheritance diagram for makVrf::DtSpotReportDataInterface:
Inheritance graph
[legend]

Public Member Functions

 DtSpotReportDataInterface (makVrv::DtDe &)
 
virtual ~DtSpotReportDataInterface ()
 
virtual
makVrv::DtElementEntry::ElementType 
type () const
 
makVrv::DtStateView
< DtSpotReportState > * 
spotReportStateView () const
 
virtual DtVector location (Representation rep=Local) const
 
virtual std::string name () const
 
virtual DtTaitBryan orientation (Representation rep=Local) const
 
virtual std::string entityType () const
 
virtual DtVector velocity (Representation rep=Local) const
 
virtual DtVector acceleration (Representation rep=Local) const
 
virtual double heading () const
 
virtual void setStateView (const makVrv::DtStateView< makVrv::DtSimState > *)
 
- Public Member Functions inherited from makVrf::DtObjectDataInterface
 DtObjectDataInterface (makVrv::DtDe &)
 
virtual ~DtObjectDataInterface ()
 
makVrv::DtElementID elementID () const
 
virtual
makVrv::DtSimEntryUpdater::UpdateRate 
setUpdateRate (makVrv::DtSimEntryUpdater::UpdateRate)
 
makVrv::DtSimEntryUpdater::UpdateRate updateRate () const
 
virtual void forceUpdate ()
 
virtual bool isValid () const
 
virtual bool hasBeenRemoved () const
 
virtual bool isVisible () const
 
virtual void setVisible (bool)
 
virtual bool isSelected () const
 
virtual void removeFromSelection ()
 
virtual void addToSelection (bool replace=false)
 

Protected Member Functions

virtual void slot_simObjectEntryAboutToBeRemoved (makVrv::DtSimObjectEntry &)
 
- Protected Member Functions inherited from makVrf::DtObjectDataInterface
virtual DtVector geocentricVectorToLocalVector (const DtVector &localLocation, const DtVector &geocVector) const
 
virtual void slot_onStateViewUpdated ()
 

Protected Attributes

makVrv::DtStateView
< DtSpotReportState > * 
mySpotReportStateView
 
- Protected Attributes inherited from makVrf::DtObjectDataInterface
makVrv::DtDemyDe
 
makVrv::DtStateView
< makVrv::DtSimState > * 
myStateView
 

Additional Inherited Members

- Public Types inherited from makVrf::DtObjectDataInterface
enum  Representation { Local = 0, World = 1 }
 
- Static Public Member Functions inherited from makVrf::DtObjectDataInterface
template<typename T_ObjectDataInterfaceType >
static DtBoost::shared_ptr
< T_ObjectDataInterfaceType > 
cast (DtBoost::shared_ptr< DtObjectDataInterface > dataInterface)
 
- Public Attributes inherited from makVrf::DtObjectDataInterface
boost::signals2::signal< void()> signal_dataUpdated
 
boost::signals2::signal< void()> signal_dataRemoved
 

Constructor & Destructor Documentation

makVrf::DtSpotReportDataInterface::DtSpotReportDataInterface ( makVrv::DtDe )
virtual makVrf::DtSpotReportDataInterface::~DtSpotReportDataInterface ( )
virtual

Member Function Documentation

virtual makVrv::DtElementEntry::ElementType makVrf::DtSpotReportDataInterface::type ( ) const
virtual

Returns the type of this object. Used for dynamic casting to proper sub-class.

Reimplemented from makVrf::DtObjectDataInterface.

makVrv::DtStateView<DtSpotReportState>* makVrf::DtSpotReportDataInterface::spotReportStateView ( ) const
inline

Access to the complete set of data on the spot report object is done though this method.

virtual DtVector makVrf::DtSpotReportDataInterface::location ( Representation  rep = Local) const
virtual

Returns the location of the entity.

virtual std::string makVrf::DtSpotReportDataInterface::name ( ) const
virtual

Returns the label of the object.

virtual DtTaitBryan makVrf::DtSpotReportDataInterface::orientation ( Representation  rep = Local) const
virtual

Returns the orientation of the object.

virtual std::string makVrf::DtSpotReportDataInterface::entityType ( ) const
virtual

Returns the type of the object.

virtual DtVector makVrf::DtSpotReportDataInterface::velocity ( Representation  rep = Local) const
virtual

Returns the objects velocity.

virtual DtVector makVrf::DtSpotReportDataInterface::acceleration ( Representation  rep = Local) const
virtual

Returns the objects acceleration.

virtual double makVrf::DtSpotReportDataInterface::heading ( ) const
virtual

Returns the objects topographic heading (in degrees)

virtual void makVrf::DtSpotReportDataInterface::setStateView ( const makVrv::DtStateView< makVrv::DtSimState > *  )
virtual

Called to set the state view this data will wrap.

Reimplemented from makVrf::DtObjectDataInterface.

virtual void makVrf::DtSpotReportDataInterface::slot_simObjectEntryAboutToBeRemoved ( makVrv::DtSimObjectEntry )
protectedvirtual

Slot that is called when the state view is destroyed. Will mark this item as removed by clearing out internal pointers.

Reimplemented from makVrf::DtObjectDataInterface.

Member Data Documentation

makVrv::DtStateView<DtSpotReportState>* makVrf::DtSpotReportDataInterface::mySpotReportStateView
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)