SmartEngine
1.6.0
|
Input node into a component. At the time of component construction, a node can be fed into this input. The incoming node must have the same dimension as this node. This node will then act as a passthrough for the incoming node. In this way, the component can be used at any point in the graph; not just the beginning. More...
#include <GraphInput.h>
Public Member Functions | |
virtual ObjectPtr< IGraphNode > | GetInputNode () const =0 |
Returns the dynamically bound input into this node. This will be a BufferInput object if no input was bound by the user. More... | |
Public Member Functions inherited from SmartEngine::IGraphNode | |
virtual const char * | GetName () const =0 |
Returns the name of the graph node. More... | |
virtual int | GetOutputDimension () const =0 |
Returns the dimension of a single row of this node's output. The Output property's length will be a multiple of this value. More... | |
virtual ObjectPtr< IMatrix > | Execute ()=0 |
Synchronously execute the graph. The returned matrix is read-only. More... | |
virtual ObjectPtr< IMatrix > | GetLastExecutionResult ()=0 |
Get the results of last execution of the graph. The returned matrix is read-only. More... | |
Public Member Functions inherited from SmartEngine::IObject | |
virtual ObjectId | GetId () const =0 |
Returns the ID of this object. More... | |
virtual void | AddRef () const =0 |
Increments the internal reference count on this object. It is not common to use this method directly. More... | |
virtual void | Release () const =0 |
Decrements the internal reference count on this object. It is not common to use this method directly. More... | |
virtual int | GetRefCount () const =0 |
Returns the number of references to this object. More... | |
virtual void * | QueryInterface (ObjectClassId id)=0 |
Queries the object for an interface and returns a pointer to that interface if found. More... | |
void | operator= (IObject const &x)=delete |
Additional Inherited Members | |
Public Attributes inherited from SmartEngine::IObject | |
private | |
__pad0__: IObject() {} IObject(IObject const&) = delete | |
Input node into a component. At the time of component construction, a node can be fed into this input. The incoming node must have the same dimension as this node. This node will then act as a passthrough for the incoming node. In this way, the component can be used at any point in the graph; not just the beginning.
If the component / graph is instantiated with no input into this node, a buffer input node will be fed in. That node can be queried through this object.
|
pure virtual |
Returns the dynamically bound input into this node. This will be a BufferInput object if no input was bound by the user.