VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
portConnection.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: portConnection.h,v $ $Revision: 1.8 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef DtPortConnection_H_
15 #define DtPortConnection_H_
16 
17 #include <vlutil/vlMachineTypes.h>
18 
19 class DtInputPort;
20 class DtOutputPort;
21 class DtPortData;
22 
30 {
31 public:
32  DtPortConnection(DtOutputPort* source, DtInputPort* destination,
33  int priority);
35  virtual ~DtPortConnection();
36 
37 private:
43  DtPortConnection& operator=(const DtPortConnection&);
44 
45 public:
46 
49  virtual bool init();
50 
53  virtual bool attemptToActivate();
54 
57  virtual bool canActivate() const;
58 
60  virtual void deactivate();
61 
63  virtual void allowDeactivation();
64 
68  virtual bool active() const;
69 
71  virtual void sendData(DtPortData* data);
72 
74  virtual int priority() const;
75 
77  virtual void setPriority(int priority);
78 
79 protected:
83 };
84 
85 
86 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)