Murl Engine API  Version 2024.1
Murl::Graph::LazyNode Class Reference

The Lazy node class. More...

#include <murl_graph_lazy_node.h>

Detailed Description

The Lazy node class.

XML Elements

XML Graph Node Tag:

<LazyNode>

Inheritance diagram for Murl::Graph::LazyNode:
Murl::Graph::Node Murl::Graph::ILazyNode Murl::Graph::INode Murl::IFactoryObject< INode > Murl::Graph::ITraversable

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...
 

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

The documentation for this class was generated from the following file: