VR-Forces 4.2 Class Documentation
boolIOPort.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: boolIOPort.h,v $ $Revision: 1.6 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef boolIOPort_H_
16 #define boolIOPort_H_
17 
19 #include "vrfobjcore/outputPort.h"
20 #include "vrfobjcore/portData.h"
21 
26 {
27 public:
28  DtBooleanInputPort(const DtString& portName);
29  virtual ~DtBooleanInputPort();
30 
32  virtual bool acceptType(const DtString& type) const;
33 
37  virtual void receiveData(DtPortData *data);
38 
40  virtual bool value() const;
41 };
42 
46 {
47 public:
48  DtBooleanOutputPort(const DtString& portName);
49  virtual ~DtBooleanOutputPort();
50 
52  virtual const DtString type() const;
53 
55  virtual void createPortData();
56 
59  virtual void setValue(bool value);
60 
62  virtual bool value() const;
63 };
64 
69 {
70 public:
74  virtual ~DtBooleanPortData();
79 
81  virtual const DtString type() const;
82 
84  virtual void setValue(bool v);
85 
87  virtual bool value() const;
88 
90  virtual DtPortData* clone() const;
91 
92 protected:
93  bool myValue;
94 };
95 
96 #endif

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)