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

#include <NodeFactory.h>

Public Member Functions

 NodeGroup (std::string caption)
 
void addAction (std::shared_ptr< NodeAction > nAct)
 
void addAction (std::string caption, std::string icon, std::function< std::shared_ptr< Node >()> act)
 
std::vector< std::shared_ptr< NodeAction > > & actions ()
 
std::string caption ()
 

Private Attributes

std::string mCaption
 
std::vector< std::shared_ptr< NodeAction > > mActions
 

Detailed Description

Definition at line 49 of file NodeFactory.h.

Constructor & Destructor Documentation

◆ NodeGroup()

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

Definition at line 52 of file NodeFactory.h.

Here is the call graph for this function:

Member Function Documentation

◆ actions()

std::vector< std::shared_ptr< NodeAction > > & dyno::NodeGroup::actions ( )
inline

Definition at line 59 of file NodeFactory.h.

◆ addAction() [1/2]

void dyno::NodeGroup::addAction ( std::shared_ptr< NodeAction > nAct)

Definition at line 29 of file NodeFactory.cpp.

◆ addAction() [2/2]

void dyno::NodeGroup::addAction ( std::string caption,
std::string icon,
std::function< std::shared_ptr< Node >()> act )

Definition at line 24 of file NodeFactory.cpp.

Here is the call graph for this function:

◆ caption()

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

Definition at line 63 of file NodeFactory.h.

Here is the caller graph for this function:

Member Data Documentation

◆ mActions

std::vector<std::shared_ptr<NodeAction> > dyno::NodeGroup::mActions
private

Definition at line 68 of file NodeFactory.h.

◆ mCaption

std::string dyno::NodeGroup::mCaption
private

Definition at line 66 of file NodeFactory.h.


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