The ITraversable property interface. More...

#include "murl_graph_i_traversable.h"

Inheritance diagram for Murl::Graph::ITraversable:

Public Member Functions

virtual Bool SetActive (Bool isActive)=0
 Enable/disable logic traversals. More...
 
virtual Bool IsActive () const =0
 Check if logic traversals are enabled. More...
 
virtual Bool SetVisible (Bool isVisible)=0
 Enable/disable output traversals. More...
 
virtual Bool IsVisible () const =0
 Check if output traversals are enabled. More...
 
virtual Bool SetActiveAndVisible (Bool enabled)=0
 Enable/disable both logic and output traversals. More...
 
virtual Bool IsActiveAndVisible () const =0
 Check if both logic and output traversals are enabled. More...
 

Detailed Description

The ITraversable property interface.

Animation controllers may call the SetActive() and SetVisible() methods when appropriate keys are present in a given Resource::IAnimation.

Member Function Documentation

◆ SetActive()

virtual Bool Murl::Graph::ITraversable::SetActive ( Bool  isActive)
pure virtual

Enable/disable logic traversals.

The 'active' state controls whether or not logic traversals are carried out on a node implementing this interface and its children.

Parameters
isActiveIf true, logic traversals are enabled.
Returns
true if successful.

Referenced by Murl::Logic::GraphNodeT< NodeType >::SetActive().

◆ IsActive()

virtual Bool Murl::Graph::ITraversable::IsActive ( ) const
pure virtual

Check if logic traversals are enabled.

Returns
true if enabled.

Referenced by Murl::Logic::GraphNodeT< NodeType >::IsActive().

◆ SetVisible()

virtual Bool Murl::Graph::ITraversable::SetVisible ( Bool  isVisible)
pure virtual

Enable/disable output traversals.

The 'visible' state controls whether or not output traversals are carried out on a node implementing this interface and its children.

Parameters
isVisibleIf true, output traversals are enabled.
Returns
true if successful.

Referenced by Murl::Logic::GraphNodeT< NodeType >::SetVisible().

◆ IsVisible()

virtual Bool Murl::Graph::ITraversable::IsVisible ( ) const
pure virtual

Check if output traversals are enabled.

Returns
true if enabled.

Referenced by Murl::Logic::GraphNodeT< NodeType >::IsVisible().

◆ SetActiveAndVisible()

virtual Bool Murl::Graph::ITraversable::SetActiveAndVisible ( Bool  enabled)
pure virtual

Enable/disable both logic and output traversals.

See also
SetActive()
SetVisible()
Parameters
enabledIf true, both logic and output traversals are enabled.
Returns
true if successful.

Referenced by Murl::Logic::GraphNodeT< NodeType >::SetActiveAndVisible().

◆ IsActiveAndVisible()

virtual Bool Murl::Graph::ITraversable::IsActiveAndVisible ( ) const
pure virtual

Check if both logic and output traversals are enabled.

Returns
true if both are enabled.

Referenced by Murl::Logic::GraphNodeT< NodeType >::IsActiveAndVisible().


The documentation for this interface was generated from the following file:
  • murl_graph_i_traversable.h


Copyright © 2011-2024 Spraylight GmbH.