Rosetta
Classes | Typedefs | Functions
ui::network Namespace Reference

Classes

struct  IndexPack
 
class  BowmanModel
 
class  Argument
 
class  BooleanArgument
 
class  IntegerArgument
 
class  FloatArgument
 
class  StringArgument
 
class  PathArgument
 
struct  FunctionID
 
class  Bowman
 
class  B
 
class  BowmanThread
 
class  BowmanView
 
class  FunctionSetupDialog
 

Typedefs

using ArgumentSP = std::shared_ptr< Argument >
 
using ArgumentCSP = std::shared_ptr< Argument const >
 
using Arguments = std::map< std::string, ArgumentSP >
 
using ArgumentsSP = std::shared_ptr< Arguments >
 
using ArgumentsCSP = std::shared_ptr< Arguments const >
 
using BowmanModelNodeData = FunctionID
 

Functions

template<typename A , class ... Types>
std::function< ArgumentSP(json const &) > create_argument (Types ... args)
 
ArgumentsSP get_function_arguments (Bowman const &bowman, FunctionID const &fi)
 lookup for function with given name and if found create Arguments for it, return nullptr if no function could be found More...
 
string as_hexadecimal (string const &s, bool as_bytes)
 

Typedef Documentation

◆ ArgumentCSP

using ui::network::ArgumentCSP = typedef std::shared_ptr< Argument const >

◆ Arguments

using ui::network::Arguments = typedef std::map<std::string, ArgumentSP>

◆ ArgumentsCSP

using ui::network::ArgumentsCSP = typedef std::shared_ptr< Arguments const >

◆ ArgumentSP

using ui::network::ArgumentSP = typedef std::shared_ptr< Argument >

◆ ArgumentsSP

using ui::network::ArgumentsSP = typedef std::shared_ptr< Arguments >

◆ BowmanModelNodeData

Function Documentation

◆ as_hexadecimal()

std::string ui::network::as_hexadecimal ( string const &  s,
bool  as_bytes 
)

◆ create_argument()

template<typename A , class ... Types>
std::function< ArgumentSP(json const &) > ui::network::create_argument ( Types ...  args)

◆ get_function_arguments()

ArgumentsSP ui::network::get_function_arguments ( Bowman const &  bowman,
FunctionID const &  fi 
)

lookup for function with given name and if found create Arguments for it, return nullptr if no function could be found

References a, ui::network::Bowman::back_ends(), fi(), and create_a3b_hbs::r.

Referenced by ui::widgets::PoseEditor::on_functions_double_clicked().