Kanzi  3.9.6
Kanzi Engine API
kanzi::VisitorFunction Class Reference

Wraps a focus scope visitor function into a FocusScopeVisitor. More...

#include <kanzi/core.ui/input/focus_scope.hpp>

Inheritance diagram for kanzi::VisitorFunction:
[legend]

Public Member Functions

Node::VisitorResult operator() (const FocusChainNode &visitedNode) override
 Override of the FocusScopeVisitor::operator(). More...
 
template<typename TFunction >
 VisitorFunction (TFunction function)
 Constructor. More...
 
- Public Member Functions inherited from kanzi::FocusScopeVisitor
virtual ~FocusScopeVisitor ()=default
 Default destructor. More...
 

Detailed Description

Wraps a focus scope visitor function into a FocusScopeVisitor.

To visit a focus scope using UI scene traversal:

Constructor & Destructor Documentation

◆ VisitorFunction()

template<typename TFunction >
kanzi::VisitorFunction::VisitorFunction ( TFunction  function)
inlineexplicit

Constructor.

Member Function Documentation

◆ operator()()

Node::VisitorResult kanzi::VisitorFunction::operator() ( const FocusChainNode visitedNode)
inlineoverridevirtual

Override of the FocusScopeVisitor::operator().

Implements kanzi::FocusScopeVisitor.


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