14 #ifndef DtInputPort_H_
15 #define DtInputPort_H_
17 #include <vlutil/vlString.h>
18 #include <vlutil/vlList.h>
61 virtual const DtString& name()
const;
66 virtual bool acceptType(
const DtString& type)
const = 0;
76 int connectionPriority) = 0;
79 virtual bool canActivate(
const DtPortConnection* conn,
int connectionPriority)
const = 0;
85 virtual bool activeConnection()
const = 0;
91 virtual int connectionPriority()
const = 0;
100 virtual const DtList* connectionList()
const;
103 virtual bool newData()
const;
106 virtual void dataReceived();
110 virtual bool enabled()
const;
111 virtual void setEnabled(
bool flag);
This is an abstract base class for all data elements that are passed through ports. Derived types will be such things as DtAnalogPortData which manage a double, or more complex data types such as a target list. Derived types must provide a type() method with a unique type string and a clone() method for copying the data.
Definition: portData.h:25
A DtPortConnection represents a connection between a DtOutputPort and a DtInputPort. PortConnections can be either active or inactive. An active connection is a connection which is supplying data, while an inactive connection is not currently supplying data. Data must be passed through connections as DtPortData.
Definition: portConnection.h:29
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24