VR-Link API Documentation for HLA Evolved
Public Member Functions | Static Public Member Functions | Protected Attributes
MyFireInteraction Class Reference

Because this example adds a concept that did not already exist in VR-Link's DtFireInteraction class, we create this subclass of DtFireInteraction that adds the concept of temperature. More...

+ Inheritance diagram for MyFireInteraction:
+ Collaboration diagram for MyFireInteraction:

List of all members.

Public Member Functions

virtual void setTemperature (float temp)
 Set the temperature.
virtual float temperature () const
 The temperature.
virtual void printData () const
 Virtual function override: print the interaction's data.

Static Public Member Functions

static DtInteractioncreate ()
 Create a MyFireInteraction. Caller is responsible for deletion.

Protected Attributes

float myTemperature

Detailed Description

Because this example adds a concept that did not already exist in VR-Link's DtFireInteraction class, we create this subclass of DtFireInteraction that adds the concept of temperature.


Member Function Documentation

DtInteraction * MyFireInteraction::create ( ) [inline, static]

Create a MyFireInteraction. Caller is responsible for deletion.

Reimplemented from DtFireInteraction.

void MyFireInteraction::printData ( ) const [inline, virtual]

Virtual function override: print the interaction's data.

Reimplemented from DtFireInteraction.

References temperature().

void MyFireInteraction::setTemperature ( float  temp) [inline, virtual]

Set the temperature.

References myTemperature.

float MyFireInteraction::temperature ( ) const [inline, virtual]

The temperature.

References myTemperature.

Referenced by printData().


Member Data Documentation

Referenced by setTemperature(), and temperature().


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)