The Lazy node class. More...

#include "murl_graph_lazy_node.h"

Inheritance diagram for Murl::Graph::LazyNode:

Public Member Functions

template<typename F >
Bool StartTask (F &&function)
 starts a task. More...
 
- Public Member Functions inherited from Murl::IFactoryObject< INode >
 ~IFactoryObject () override
 The destructor.
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< INode >
using ClassInfoArray = Array< const ClassInfo * >
 Definition of an array of ClassInfo objects.
 
- Static Public Member Functions inherited from Murl::IFactoryObject< INode >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< INode > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The Lazy node class.

XML Elements

XML Graph Node Tag:

<LazyNode>

Member Function Documentation

◆ StartTask()

template<typename F >
Bool Murl::Graph::LazyNode::StartTask ( F &&  function)
inline

starts a task.

Can start immediately or getting queued in task system.

Parameters
functiondefines the task that should be executed
Returns
true if successful

References Murl::Array< DataType >::Add(), and Murl::Array< DataType >::GetCountUInt32().


The documentation for this class was generated from the following file:
  • murl_graph_lazy_node.h


Copyright © 2011-2024 Spraylight GmbH.