VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions
DtPortData Class Reference

This is an abstract base class for all data elements that are passed through ports. More...

Inheritance diagram for DtPortData:
Inheritance graph
[legend]

Public Member Functions

 DtPortData ()
 default constructor
virtual ~DtPortData ()
 destructor
 DtPortData (const DtPortData &orig)
 Copy Constructor.
DtPortDataoperator= (const DtPortData &orig)
 Assignment operator.
virtual const DtString type () const =0
 Returns a string type value for this class.
virtual DtPortDataclone () const =0
 Provides a copy of this port data.

Detailed Description

This is an abstract base class for all data elements that are passed through ports.

Derived types will be such things as DtAnalogPortData which manage a double, or more complex data types such as a target list. Derived types must provide a type() method with a unique type string and a clone() method for copying the data.

Constructor & Destructor Documentation

DtPortData::DtPortData ( )

default constructor

virtual DtPortData::~DtPortData ( )
virtual

destructor

DtPortData::DtPortData ( const DtPortData orig)

Copy Constructor.

Member Function Documentation

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

Assignment operator.

virtual const DtString DtPortData::type ( ) const
pure virtual
virtual DtPortData* DtPortData::clone ( ) const
pure virtual

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)