VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
entityListMultiInputPort.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: entListMultiInputPort.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
19 {
20 public:
21  DtEntityListMultiInputPort(const DtString& portName);
22  virtual ~DtEntityListMultiInputPort();
23 
25  virtual bool acceptType(const DtString& type) const;
26 
30  virtual const DtEntityTargetList* firstValue();
31 
33  virtual const DtEntityTargetList* value() const;
34 
37  virtual const DtEntityTargetList* nextValue();
38 
39 protected:
40  DtMultiConnectionInputPortConnectionMap::const_iterator myPortDataIterator;
41 };
42 
Input ports are data ports owned by data consumers. They receive data from a DtPortConnection, and make that data available to the user of the input port. Users of the port should call newData() to check if new data has arrived on this port, and then call dataReceived() to signal that they have received and processed the data currently on the port.
Definition: multiConnectionInputPort.h:42
virtual bool acceptType(const DtString &type) const =0
Returns true if this port should accept the recipt of the specified DtPortData type. Override this function to return true for the types your port will accept.
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
A multi-connection input port whose data members are entity lists.
Definition: entityListMultiInputPort.h:18
DtMultiConnectionInputPortConnectionMap::const_iterator myPortDataIterator
Definition: entityListMultiInputPort.h:40

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)