VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
portData.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: portData.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
12 
13 
14 #ifndef DtPortData_H_
15 #define DtPortData_H_
16 
17 class DtString;
18 
26 {
27 public:
29  DtPortData();
30 
32  virtual ~DtPortData();
33 
35  DtPortData(const DtPortData& orig);
36 
38  DtPortData& operator=(const DtPortData& orig);
39 
42  virtual const DtString type() const = 0;
43 
45  virtual DtPortData* clone() const = 0;
46 
47 protected:
48 
49 };
50 
51 #endif
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.
Definition: portData.h:25
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24

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)