VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
DtOptionsPdu Class Reference
Inheritance diagram for DtOptionsPdu:
Inheritance graph
[legend]

Public Types

enum  DtStealthControlVideoCaptureCommand { Stop = 0, Pause = 1, Unpause = 2, Record = 3 }
enum  DtStealthControlFeatureCommand { FeatureLoad = 0, FeatureClear = 1 }

Public Member Functions

 DtOptionsPdu (DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER)
 DtOptionsPdu (const DtNetViewControlPdu *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0)
void setOverlayOption (DtOverlayOption option)
void setLocatorRange (double range)
void setSmoothing (DtSmoothingOption option)
void setSmoothingPeriod (double period)
void setSound (bool onOff)
void setEntityLabels (bool onOff)
void setTrailingEffects (bool onOff)
void setTrajectoryHistory (bool onOff)
void setRecording (bool onOff)
void setAggregateLevel (int level)
void setAggregateHighestOnly (bool onOff)
void setAggregatesAltitudeControlled (bool onOff)
void setNestedAggregates (bool onOff)
void setNestedEntities (bool onOff)
void setGroundClamping (bool onOff)
void setClampRange (double range)
void setFollowGround (bool onOff)
void setConstrainWithFloor (bool onOff)
void setFloor (double height)
void setTimeOfDay (double time)
void setNearClip (double clip)
void setFarClip (double clip)
void setFov (double fov)
void setFog (bool onOff)
void setNearFog (double fog)
void setFarFog (double fog)
void setTexture (bool onOff)
void setDatabaseToLoad (const DtString &db)
void setStepsize (float step)
void setTurnrate (float step)
void setDate (const DtString &date)
void setIncrementStepsize (bool b)
void setIncrementTurnrate (bool b)
void setDecrementStepsize (bool b)
void setDecrementTurnrate (bool b)
void setXr (bool onOff)
void setHatLabels (bool onOff)
void setCurrentModelSet (const DtString &setname)
void setShowNextModelSet (bool b)
void setShowPrevModelSet (bool b)
void setCurrentTextureSet (const DtString &setname)
void setShowNextTextureSet (bool b)
void setShowPrevTextureSet (bool b)
void setTerrainScale (double s)
void setObjectScale (double s)
void setExit (bool b)
void setSkyDome (bool b)
void setClouds (bool b)
void setMirroring (bool b)
void setMirrorMessageEveryFrame (bool b)
void setBroadcasting (bool b)
void setClusteringLabels (bool b)
void setTacticalGraphicsLabels (bool b)
void setTacticalGraphics (bool b)
void setShowAggregates (bool b)
void setShowEmitters (bool b)
void setVideoCaptureCommand (DtStealthControlVideoCaptureCommand videoCaptureCommand)
void setVideoCaptureRecordInsets (bool videoCaptureRecordInsets)
void setVideoCaptureFramesPerSecond (int videoCaptureFramesPerSecond)
void setVideoCaptureFilename (const DtString &videoCaptureFilename)
void setVideoCaptureFilenameBase (const DtString &videoCaptureFilenameBase)
void setVideoCaptureDirectory (const DtString &videoCaptureDirectory)
void setConstrainToAll (bool b)
void setUseNearClipForBlockedDistance (bool b)
void setBlockedDistance (double distance)
void setFeatureFilename (const DtString &featureFilename)
void setFeatureCommand (DtStealthControlFeatureCommand featureCommand)
bool optionPresent (DtStealthOption option) const
 Before using any of the inspectors, check to see if there is a valid value there by calling optionPresent.
DtOverlayOption overlayOption () const
double locatorRange () const
DtSmoothingOption smoothing () const
double smoothingPeriod () const
bool sound () const
bool entityLabels () const
bool trailingEffects () const
bool trajectoryHistory () const
bool recording () const
int aggregateLevel () const
bool aggregateHighestOnly () const
bool aggregatesAltitudeControlled () const
bool nestedAggregates () const
bool nestedEntities () const
bool groundClamping () const
double clampRange () const
bool followGround () const
bool constrainWithFloor () const
double floor () const
double timeOfDay () const
double nearClip () const
double farClip () const
double fov () const
bool fog () const
double nearFog () const
double farFog () const
bool texture () const
const DtString databaseToLoad () const
float stepsize () const
float turnrate () const
bool incrementStepsize () const
bool incrementTurnrate () const
bool decrementStepsize () const
bool decrementTurnrate () const
const DtString date () const
bool xr () const
bool hatLabels () const
const DtString currentModelSet () const
bool showNextModelSet () const
bool showPrevModelSet () const
const DtString currentTextureSet () const
bool showNextTextureSet () const
bool showPrevTextureSet () const
double terrainScale () const
double objectScale () const
bool exit () const
bool skyDome () const
bool clouds () const
bool mirroring () const
bool mirrorMessageEveryFrame () const
bool broadcasting () const
bool clusteringLabels () const
bool tacticalGraphicsLabels () const
bool tacticalGraphics () const
bool showAggregates () const
bool showEmitters () const
DtStealthControlVideoCaptureCommand videoCaptureCommand () const
bool videoCaptureRecordInsets () const
int videoCaptureFramesPerSecond () const
const DtString videoCaptureFilename () const
const DtString videoCaptureFilenameBase () const
const DtString videoCaptureDirectory () const
bool useNearClipForBlockedDistance () const
bool constrainedToAll () const
double blockedDistance () const
DtStealthControlFeatureCommand featureCommand () const
const DtString featureFilename () const
void printData () const
void setFromString (const char *str)
 Sets and gets the string representation of the PDU, which is just an ASCII representation of the hex data in the packet.
const charstring () const
- Public Member Functions inherited from DtStealthControlPdu
const DtGlobalObjectDesignator & viewerId () const
const DtGlobalObjectDesignator & senderId () const
DtViewerCommand viewerCommand () const
unsigned long ignoreFlags () const
bool statusCommand () const
void setViewerId (const DtGlobalObjectDesignator &id)
void setSenderId (const DtGlobalObjectDesignator &id)
void setIgnoreFlags (unsigned long flags)
void setStatusCommand (bool b)

Static Public Attributes

static const DtStealthOption DtStealthStepsize
static const DtStealthOption DtStealthTurnrate
static const DtStealthOption DtStealthIncStepsize
static const DtStealthOption DtStealthIncTurnrate
static const DtStealthOption DtStealthDecStepsize
static const DtStealthOption DtStealthDecTurnrate
static const DtStealthOption DtStealthDate
static const DtStealthOption DtStealthXREnabled
static const DtStealthOption DtStealthHATenabled
static const DtStealthOption DtStealthNextModelSet
static const DtStealthOption DtStealthPrevModelSet
static const DtStealthOption DtStealthSetCurrentModelSet
static const DtStealthOption DtStealthNextTextureSet
static const DtStealthOption DtStealthPrevTextureSet
static const DtStealthOption DtStealthSetCurrentTextureSet
static const DtStealthOption DtStealthTerrainScale
static const DtStealthOption DtStealthObjectScale
static const DtStealthOption DtStealthClouds
static const DtStealthOption DtStealthSkyDome
static const DtStealthOption DtStealthExit
static const DtStealthOption DtStealthMirroring
static const DtStealthOption DtStealthMirrorMessageEveryFrame
static const DtStealthOption DtStealthBroadcasting
static const DtStealthOption DtStealthClusteringLabels
static const DtStealthOption DtStealthTacticalGraphicsLabels
static const DtStealthOption DtStealthTacticalGraphics
static const DtStealthOption DtStealthShowAggregates
static const DtStealthOption DtStealthShowEmitters
static const DtStealthOption DtStealthVideoCaptureCommand
static const DtStealthOption DtStealthVideoCaptureFilename
static const DtStealthOption DtStealthVideoCaptureDirectory
static const DtStealthOption DtStealthVideoCaptureFilenameBase
static const DtStealthOption DtStealthVideoCaptureRecordInsets
static const DtStealthOption DtStealthVideoCaptureFramesPerSecond
static const DtStealthOption DtStealthConstrainToAll
static const DtStealthOption DtStealthBlockedDistance
static const DtStealthOption DtStealthUseNearClipForBlockedDistance
static const DtStealthOption DtStealthFeatureFilename
static const DtStealthOption DtStealthFeatureCommand

Protected Member Functions

void setOptionPresent (DtStealthOption option)
 Called by all mutators to indicate that the value of the option in question is actually valid (not just unset).
void clearOptionPresent (DtStealthOption option)
- Protected Member Functions inherited from DtStealthControlPdu
bool isNumber (const char *str)
DtPduKind internalGetPduKind () const
void setViewerCommand (DtViewerCommand com)
 DtStealthControlPdu ()

Protected Attributes

DtString myStr
 Used to cache value returned by string()
- Protected Attributes inherited from DtStealthControlPdu
DtGlobalObjectDesignator retId
char vcStr [400]

Additional Inherited Members

- Static Public Member Functions inherited from DtStealthControlPdu
static DtPducreate (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0)
static DtPducreateFromNet (const DtNetPacket *initial, DtBufferPtr buffer=DtUSE_INTERNAL_BUFFER, DtPduFactory *pduFactory=0)
static DtU32 drawControlParamVersion (const DtNetViewControlPdu *vc)
static void addCallback (DtExerciseConn *conn, DtStealthControlInteractionCb cb, void *usr)
static void removeCallback (DtExerciseConn *conn, DtStealthControlInteractionCb cb, void *usr)
- Static Protected Member Functions inherited from DtStealthControlPdu
static DtStealthControlPducreateViewControl (DtNetViewControlPdu *vc, DtBufferPtr buffer, DtPduFactory *)
static DtStealthControlPducreateDrawControl (DtNetViewControlPdu *vc, DtBufferPtr buffer, DtPduFactory *)
static DtStealthControlPducreateDrawControlV0 (DtNetViewControlPdu *vc, DtBufferPtr buffer, DtPduFactory *)
static DtStealthControlPducreateDrawControlCurrent (DtNetViewControlPdu *vc, DtBufferPtr buffer, DtPduFactory *)

Member Enumeration Documentation

Enumerator:
Stop 
Pause 
Unpause 
Record 
Enumerator:
FeatureLoad 
FeatureClear 

Constructor & Destructor Documentation

DtOptionsPdu::DtOptionsPdu ( DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER)
DtOptionsPdu::DtOptionsPdu ( const DtNetViewControlPdu initial,
DtBufferPtr  buffer = DtUSE_INTERNAL_BUFFER,
DtPduFactory *  pduFactory = 0 
)

Member Function Documentation

void DtOptionsPdu::setOverlayOption ( DtOverlayOption  option)
void DtOptionsPdu::setLocatorRange ( double  range)
void DtOptionsPdu::setSmoothing ( DtSmoothingOption  option)
void DtOptionsPdu::setSmoothingPeriod ( double  period)
void DtOptionsPdu::setSound ( bool  onOff)
void DtOptionsPdu::setEntityLabels ( bool  onOff)
void DtOptionsPdu::setTrailingEffects ( bool  onOff)
void DtOptionsPdu::setTrajectoryHistory ( bool  onOff)
void DtOptionsPdu::setRecording ( bool  onOff)
void DtOptionsPdu::setAggregateLevel ( int  level)
void DtOptionsPdu::setAggregateHighestOnly ( bool  onOff)
void DtOptionsPdu::setAggregatesAltitudeControlled ( bool  onOff)
void DtOptionsPdu::setNestedAggregates ( bool  onOff)
void DtOptionsPdu::setNestedEntities ( bool  onOff)
void DtOptionsPdu::setGroundClamping ( bool  onOff)
void DtOptionsPdu::setClampRange ( double  range)
void DtOptionsPdu::setFollowGround ( bool  onOff)
void DtOptionsPdu::setConstrainWithFloor ( bool  onOff)
void DtOptionsPdu::setFloor ( double  height)
void DtOptionsPdu::setTimeOfDay ( double  time)
void DtOptionsPdu::setNearClip ( double  clip)
void DtOptionsPdu::setFarClip ( double  clip)
void DtOptionsPdu::setFov ( double  fov)
void DtOptionsPdu::setFog ( bool  onOff)
void DtOptionsPdu::setNearFog ( double  fog)
void DtOptionsPdu::setFarFog ( double  fog)
void DtOptionsPdu::setTexture ( bool  onOff)
void DtOptionsPdu::setDatabaseToLoad ( const DtString db)
void DtOptionsPdu::setStepsize ( float  step)
void DtOptionsPdu::setTurnrate ( float  step)
void DtOptionsPdu::setDate ( const DtString date)
void DtOptionsPdu::setIncrementStepsize ( bool  b)
void DtOptionsPdu::setIncrementTurnrate ( bool  b)
void DtOptionsPdu::setDecrementStepsize ( bool  b)
void DtOptionsPdu::setDecrementTurnrate ( bool  b)
void DtOptionsPdu::setXr ( bool  onOff)
void DtOptionsPdu::setHatLabels ( bool  onOff)
void DtOptionsPdu::setCurrentModelSet ( const DtString setname)
void DtOptionsPdu::setShowNextModelSet ( bool  b)
void DtOptionsPdu::setShowPrevModelSet ( bool  b)
void DtOptionsPdu::setCurrentTextureSet ( const DtString setname)
void DtOptionsPdu::setShowNextTextureSet ( bool  b)
void DtOptionsPdu::setShowPrevTextureSet ( bool  b)
void DtOptionsPdu::setTerrainScale ( double  s)
void DtOptionsPdu::setObjectScale ( double  s)
void DtOptionsPdu::setExit ( bool  b)
void DtOptionsPdu::setSkyDome ( bool  b)
void DtOptionsPdu::setClouds ( bool  b)
void DtOptionsPdu::setMirroring ( bool  b)
void DtOptionsPdu::setMirrorMessageEveryFrame ( bool  b)
void DtOptionsPdu::setBroadcasting ( bool  b)
void DtOptionsPdu::setClusteringLabels ( bool  b)
void DtOptionsPdu::setTacticalGraphicsLabels ( bool  b)
void DtOptionsPdu::setTacticalGraphics ( bool  b)
void DtOptionsPdu::setShowAggregates ( bool  b)
void DtOptionsPdu::setShowEmitters ( bool  b)
void DtOptionsPdu::setVideoCaptureCommand ( DtStealthControlVideoCaptureCommand  videoCaptureCommand)
void DtOptionsPdu::setVideoCaptureRecordInsets ( bool  videoCaptureRecordInsets)
void DtOptionsPdu::setVideoCaptureFramesPerSecond ( int  videoCaptureFramesPerSecond)
void DtOptionsPdu::setVideoCaptureFilename ( const DtString videoCaptureFilename)
void DtOptionsPdu::setVideoCaptureFilenameBase ( const DtString videoCaptureFilenameBase)
void DtOptionsPdu::setVideoCaptureDirectory ( const DtString videoCaptureDirectory)
void DtOptionsPdu::setConstrainToAll ( bool  b)
void DtOptionsPdu::setUseNearClipForBlockedDistance ( bool  b)
void DtOptionsPdu::setBlockedDistance ( double  distance)
void DtOptionsPdu::setFeatureFilename ( const DtString featureFilename)
void DtOptionsPdu::setFeatureCommand ( DtStealthControlFeatureCommand  featureCommand)
bool DtOptionsPdu::optionPresent ( DtStealthOption  option) const

Before using any of the inspectors, check to see if there is a valid value there by calling optionPresent.

For example: if (optionPresent(DtOverlayOption)) { useOverlayOption(overlayOption()); }

DtOverlayOption DtOptionsPdu::overlayOption ( ) const
double DtOptionsPdu::locatorRange ( ) const
DtSmoothingOption DtOptionsPdu::smoothing ( ) const
double DtOptionsPdu::smoothingPeriod ( ) const
bool DtOptionsPdu::sound ( ) const
bool DtOptionsPdu::entityLabels ( ) const
bool DtOptionsPdu::trailingEffects ( ) const
bool DtOptionsPdu::trajectoryHistory ( ) const
bool DtOptionsPdu::recording ( ) const
int DtOptionsPdu::aggregateLevel ( ) const
bool DtOptionsPdu::aggregateHighestOnly ( ) const
bool DtOptionsPdu::aggregatesAltitudeControlled ( ) const
bool DtOptionsPdu::nestedAggregates ( ) const
bool DtOptionsPdu::nestedEntities ( ) const
bool DtOptionsPdu::groundClamping ( ) const
double DtOptionsPdu::clampRange ( ) const
bool DtOptionsPdu::followGround ( ) const
bool DtOptionsPdu::constrainWithFloor ( ) const
double DtOptionsPdu::floor ( ) const
double DtOptionsPdu::timeOfDay ( ) const
double DtOptionsPdu::nearClip ( ) const
double DtOptionsPdu::farClip ( ) const
double DtOptionsPdu::fov ( ) const
bool DtOptionsPdu::fog ( ) const
double DtOptionsPdu::nearFog ( ) const
double DtOptionsPdu::farFog ( ) const
bool DtOptionsPdu::texture ( ) const
const DtString DtOptionsPdu::databaseToLoad ( ) const
float DtOptionsPdu::stepsize ( ) const
float DtOptionsPdu::turnrate ( ) const
bool DtOptionsPdu::incrementStepsize ( ) const
bool DtOptionsPdu::incrementTurnrate ( ) const
bool DtOptionsPdu::decrementStepsize ( ) const
bool DtOptionsPdu::decrementTurnrate ( ) const
const DtString DtOptionsPdu::date ( ) const
bool DtOptionsPdu::xr ( ) const
bool DtOptionsPdu::hatLabels ( ) const
const DtString DtOptionsPdu::currentModelSet ( ) const
bool DtOptionsPdu::showNextModelSet ( ) const
bool DtOptionsPdu::showPrevModelSet ( ) const
const DtString DtOptionsPdu::currentTextureSet ( ) const
bool DtOptionsPdu::showNextTextureSet ( ) const
bool DtOptionsPdu::showPrevTextureSet ( ) const
double DtOptionsPdu::terrainScale ( ) const
double DtOptionsPdu::objectScale ( ) const
bool DtOptionsPdu::exit ( ) const
bool DtOptionsPdu::skyDome ( ) const
bool DtOptionsPdu::clouds ( ) const
bool DtOptionsPdu::mirroring ( ) const
bool DtOptionsPdu::mirrorMessageEveryFrame ( ) const
bool DtOptionsPdu::broadcasting ( ) const
bool DtOptionsPdu::clusteringLabels ( ) const
bool DtOptionsPdu::tacticalGraphicsLabels ( ) const
bool DtOptionsPdu::tacticalGraphics ( ) const
bool DtOptionsPdu::showAggregates ( ) const
bool DtOptionsPdu::showEmitters ( ) const
DtStealthControlVideoCaptureCommand DtOptionsPdu::videoCaptureCommand ( ) const
bool DtOptionsPdu::videoCaptureRecordInsets ( ) const
int DtOptionsPdu::videoCaptureFramesPerSecond ( ) const
const DtString DtOptionsPdu::videoCaptureFilename ( ) const
const DtString DtOptionsPdu::videoCaptureFilenameBase ( ) const
const DtString DtOptionsPdu::videoCaptureDirectory ( ) const
bool DtOptionsPdu::useNearClipForBlockedDistance ( ) const
bool DtOptionsPdu::constrainedToAll ( ) const
double DtOptionsPdu::blockedDistance ( ) const
DtStealthControlFeatureCommand DtOptionsPdu::featureCommand ( ) const
const DtString DtOptionsPdu::featureFilename ( ) const
void DtOptionsPdu::printData ( ) const

Reimplemented from DtStealthControlPdu.

void DtOptionsPdu::setFromString ( const char str)
virtual

Sets and gets the string representation of the PDU, which is just an ASCII representation of the hex data in the packet.

Reimplemented from DtStealthControlPdu.

const char* DtOptionsPdu::string ( ) const
virtual

Reimplemented from DtStealthControlPdu.

void DtOptionsPdu::setOptionPresent ( DtStealthOption  option)
protected

Called by all mutators to indicate that the value of the option in question is actually valid (not just unset).

void DtOptionsPdu::clearOptionPresent ( DtStealthOption  option)
protected

Member Data Documentation

const DtStealthOption DtOptionsPdu::DtStealthStepsize
static
const DtStealthOption DtOptionsPdu::DtStealthTurnrate
static
const DtStealthOption DtOptionsPdu::DtStealthIncStepsize
static
const DtStealthOption DtOptionsPdu::DtStealthIncTurnrate
static
const DtStealthOption DtOptionsPdu::DtStealthDecStepsize
static
const DtStealthOption DtOptionsPdu::DtStealthDecTurnrate
static
const DtStealthOption DtOptionsPdu::DtStealthDate
static
const DtStealthOption DtOptionsPdu::DtStealthXREnabled
static
const DtStealthOption DtOptionsPdu::DtStealthHATenabled
static
const DtStealthOption DtOptionsPdu::DtStealthNextModelSet
static
const DtStealthOption DtOptionsPdu::DtStealthPrevModelSet
static
const DtStealthOption DtOptionsPdu::DtStealthSetCurrentModelSet
static
const DtStealthOption DtOptionsPdu::DtStealthNextTextureSet
static
const DtStealthOption DtOptionsPdu::DtStealthPrevTextureSet
static
const DtStealthOption DtOptionsPdu::DtStealthSetCurrentTextureSet
static
const DtStealthOption DtOptionsPdu::DtStealthTerrainScale
static
const DtStealthOption DtOptionsPdu::DtStealthObjectScale
static
const DtStealthOption DtOptionsPdu::DtStealthClouds
static
const DtStealthOption DtOptionsPdu::DtStealthSkyDome
static
const DtStealthOption DtOptionsPdu::DtStealthExit
static
const DtStealthOption DtOptionsPdu::DtStealthMirroring
static
const DtStealthOption DtOptionsPdu::DtStealthMirrorMessageEveryFrame
static
const DtStealthOption DtOptionsPdu::DtStealthBroadcasting
static
const DtStealthOption DtOptionsPdu::DtStealthClusteringLabels
static
const DtStealthOption DtOptionsPdu::DtStealthTacticalGraphicsLabels
static
const DtStealthOption DtOptionsPdu::DtStealthTacticalGraphics
static
const DtStealthOption DtOptionsPdu::DtStealthShowAggregates
static
const DtStealthOption DtOptionsPdu::DtStealthShowEmitters
static
const DtStealthOption DtOptionsPdu::DtStealthVideoCaptureCommand
static
const DtStealthOption DtOptionsPdu::DtStealthVideoCaptureFilename
static
const DtStealthOption DtOptionsPdu::DtStealthVideoCaptureDirectory
static
const DtStealthOption DtOptionsPdu::DtStealthVideoCaptureFilenameBase
static
const DtStealthOption DtOptionsPdu::DtStealthVideoCaptureRecordInsets
static
const DtStealthOption DtOptionsPdu::DtStealthVideoCaptureFramesPerSecond
static
const DtStealthOption DtOptionsPdu::DtStealthConstrainToAll
static
const DtStealthOption DtOptionsPdu::DtStealthBlockedDistance
static
const DtStealthOption DtOptionsPdu::DtStealthUseNearClipForBlockedDistance
static
const DtStealthOption DtOptionsPdu::DtStealthFeatureFilename
static
const DtStealthOption DtOptionsPdu::DtStealthFeatureCommand
static
DtString DtOptionsPdu::myStr
protected

Used to cache value returned by string()


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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)