VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
objectIdIOPort.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: objectIdIOPort.h,v $ $Revision: 1.7 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtObjectIdInputPort_H_
16 #define DtObjectIdInputPort_H_
17 
19 #include "vrfobjcore/outputPort.h"
20 #include "vrfobjcore/portData.h"
21 
22 #include <vl/hostStructs.h>
23 
28 {
29 public:
30  DtObjectIdInputPort(const DtString& portName);
31  virtual ~DtObjectIdInputPort();
32 
34  virtual bool acceptType(const DtString& type) const;
35 
39  virtual void receiveData(DtPortData* data);
40 
42  virtual const DtEntityIdentifier value() const;
43 };
44 
48 {
49 public:
50  DtObjectIdOutputPort(const DtString& portName);
51  virtual ~DtObjectIdOutputPort();
52 
54  virtual const DtString type() const;
55 
57  virtual void createPortData();
58 
61  virtual void setValue(const DtEntityIdentifier& id);
62 
64  virtual const DtEntityIdentifier value() const;
65 };
66 
71 {
72 public:
76  virtual ~DtObjectIdPortData();
81 
83  virtual const DtString type() const;
84 
86  virtual void setValue(const DtEntityIdentifier& id);
87 
89  virtual const DtEntityIdentifier& value() const;
90 
92  virtual DtPortData* clone() const;
93 
94 protected:
95  DtEntityIdentifier myValue;
96 };
97 
98 #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)