SmartEngine  1.6.0
Public Member Functions | List of all members
SmartEngine::IGraphController Class Referenceabstract

Represents a use of a graph. Owners of the controller feed data to the controller at regular intervals. When the graph model is executed, the controller will have data that can be acted upon More...

#include <GraphModel.h>

Inheritance diagram for SmartEngine::IGraphController:
SmartEngine::IGraphInputOutput SmartEngine::IObject

Public Member Functions

virtual bool HaveNewOutputData ()=0
 Returns true if we have new data since this was last called. If this returns true, call GetOutput() to retrieve and act on the model results. More...
 
- Public Member Functions inherited from SmartEngine::IGraphInputOutput
virtual ObjectPtr< IGraphInputOutputGetGraphComponent (const char *componentNodeName)=0
 Returns a input output object linked to a graph component within the current graph. This can be passed to model views of the component graph to get / set data on the component More...
 
virtual ObjectPtr< IMatrixGetInput (const char *nodeName)=0
 Returns a matrix associated with the specified node name. The node should be a BufferInput node in the graph. The returned matrix is read-write. More...
 
virtual void RequestOutput (const char *nodeName, MatrixIndex expectedRowCount=-1)=0
 Requests that the following node name be produced as output during execution. This must be called before execution for a value to appear in GetOutput(). More...
 
virtual ObjectPtr< IMatrixGetOutput (const char *nodeName)=0
 Returns the output associated with the specified node name. 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
 

Detailed Description

Represents a use of a graph. Owners of the controller feed data to the controller at regular intervals. When the graph model is executed, the controller will have data that can be acted upon

Member Function Documentation

◆ HaveNewOutputData()

virtual bool SmartEngine::IGraphController::HaveNewOutputData ( )
pure virtual

Returns true if we have new data since this was last called. If this returns true, call GetOutput() to retrieve and act on the model results.