VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vectorIOPort.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: vectorIOPort.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtVectorIOPort_H_
16 #define DtVectorIOPort_H_
17 
18 #include <matrix/vlVector.h>
19 
21 #include "vrfobjcore/outputPort.h"
22 #include "vrfobjcore/portData.h"
23 
28 {
29 public:
31  DtVectorInputPort(const DtString & portName);
32 
34  virtual ~DtVectorInputPort();
35 
37  virtual bool acceptType(const DtString& type) const;
38 
39  virtual void receiveData(DtPortData* data);
40 
41  virtual const DtVector value() const;
42 
43 protected:
47  const DtVectorInputPort & operator=(const DtVectorInputPort & orig);
48 };
49 
53 {
54 public:
55  DtVectorOutputPort(const DtString& portName);
56  virtual ~DtVectorOutputPort();
57 
59  virtual const DtString type() const;
60 
62  virtual void createPortData();
63 
66  virtual void setValue(const DtVector& vector);
67 
69  virtual const DtVector value() const;
70 
71 protected:
75  const DtVectorOutputPort & operator=(const DtVectorOutputPort & orig);
76 };
77 
82 {
83 public:
87  virtual ~DtVectorPortData();
92 
94  virtual const DtString type() const;
95 
97  virtual void setValue(const DtVector&);
98 
100  virtual const DtVector& value() const;
101 
103  virtual DtPortData* clone() const;
104 
105 protected:
107 };
108 
109 #endif

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)