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

Total: 9 bytes. More...

Inheritance diagram for DtIfSetFrameMode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtIfSetFrameMode ()
 default constructor
 DtIfSetFrameMode (const DtIfSetFrameMode &orig)
 copy constructor
const DtIfSetFrameModeoperator= (const DtIfSetFrameMode &orig)
 assignment operator
virtual ~DtIfSetFrameMode ()
virtual int type () const
 Returns the type of Interface Content; DtSetFrameModeMessageType.
virtual DtSimInterfaceContentclone () const
virtual int frameMode () const
 Should be one of the strings for frame mode in msgTypes.h.
virtual void setFrameMode (int frameMode)
virtual DtReal frameTime () const
virtual void setFrameTime (DtReal frameTime)
virtual int netRepSize () const
virtual bool setFromNet (const char *contentBuffer, unsigned contentSize)
virtual bool setToNet ()
virtual void printDataToString (DtString &str)

Static Public Member Functions

static DtSimInterfaceContentcreator ()

Protected Attributes

DtReal myFrameTime
int myFrameMode
 Also known as delta-T or dT.

Detailed Description

Total: 9 bytes.

DtIfSetFrameMode is the content portion of an exercise clock mode control message. It's typically only sent from front-end to back, based on the "frame-mode" and "frame-time" values stored in a scenario file.

Content-Type: DtSetFrameModeMessageType

Parameters: frameMode - A DtString that is the exercise clock mode. The three standard clock modes are:


Constructor & Destructor Documentation

default constructor

copy constructor

virtual DtIfSetFrameMode::~DtIfSetFrameMode ( ) [virtual]

Member Function Documentation

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

assignment operator

virtual int DtIfSetFrameMode::type ( ) const [virtual]

Returns the type of Interface Content; DtSetFrameModeMessageType.

Implements DtSimInterfaceContent.

virtual DtSimInterfaceContent* DtIfSetFrameMode::clone ( ) const [virtual]

Implements DtSimInterfaceContent.

virtual int DtIfSetFrameMode::frameMode ( ) const [virtual]

Should be one of the strings for frame mode in msgTypes.h.

virtual void DtIfSetFrameMode::setFrameMode ( int  frameMode) [virtual]
virtual DtReal DtIfSetFrameMode::frameTime ( ) const [virtual]
virtual void DtIfSetFrameMode::setFrameTime ( DtReal  frameTime) [virtual]
virtual int DtIfSetFrameMode::netRepSize ( ) const [virtual]

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfSetFrameMode::setFromNet ( const char *  contentBuffer,
unsigned  contentSize 
) [virtual]

Reimplemented from DtSimInterfaceContent.

virtual bool DtIfSetFrameMode::setToNet ( ) [virtual]

Reimplemented from DtSimInterfaceContent.

virtual void DtIfSetFrameMode::printDataToString ( DtString str) [virtual]

Reimplemented from DtSimInterfaceContent.


Member Data Documentation

DtReal DtIfSetFrameMode::myFrameTime [protected]

Also known as delta-T or dT.


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)