PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::NodeAction Class Reference

#include <NodeFactory.h>

Public Member Functions

 NodeAction (std::string caption, std::string icon, std::function< std::shared_ptr< Node >()> func=nullptr)
 
std::string icon ()
 
std::string caption ()
 
std::function< std::shared_ptr< Node >()> action ()
 

Private Attributes

std::string mCaption
 
std::string mIcon
 
std::function< std::shared_ptr< Node >()> mCallback
 

Detailed Description

Definition at line 27 of file NodeFactory.h.

Constructor & Destructor Documentation

◆ NodeAction()

dyno::NodeAction::NodeAction ( std::string caption,
std::string icon,
std::function< std::shared_ptr< Node >()> func = nullptr )
inline

Definition at line 30 of file NodeFactory.h.

Here is the call graph for this function:

Member Function Documentation

◆ action()

std::function< std::shared_ptr< Node >()> dyno::NodeAction::action ( )
inline

Definition at line 40 of file NodeFactory.h.

◆ caption()

std::string dyno::NodeAction::caption ( )
inline

Definition at line 38 of file NodeFactory.h.

Here is the caller graph for this function:

◆ icon()

std::string dyno::NodeAction::icon ( )
inline

Definition at line 37 of file NodeFactory.h.

Here is the caller graph for this function:

Member Data Documentation

◆ mCallback

std::function<std::shared_ptr<Node>()> dyno::NodeAction::mCallback
private

Definition at line 46 of file NodeFactory.h.

◆ mCaption

std::string dyno::NodeAction::mCaption
private

Definition at line 43 of file NodeFactory.h.

◆ mIcon

std::string dyno::NodeAction::mIcon
private

Definition at line 44 of file NodeFactory.h.


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