cwFlow.h,cpp : Updated comments and added 'gutim_ps' to built-in processor class list.

This commit is contained in:
kevin 2025-03-08 11:23:59 -05:00
parent 249400d2ce
commit 964384ffbb
2 changed files with 19 additions and 14 deletions

View File

@ -80,6 +80,7 @@ namespace cw
{ "score_player", &score_player::members },
{ "vel_table", &vel_table::members },
{ "preset_select", &preset_select::members },
{ "gutim_ps", &gutim_ps::members },
{ "score_follower", &score_follower::members },
{ nullptr, nullptr }
};
@ -97,6 +98,7 @@ namespace cw
{ return handleToPtr<handle_t,flow_t>(h); }
/*
rc_t _is_var_flag_set( const object_t* var_flags_obj, const char* flag_label, const char* classLabel, const char* varLabel, bool&is_set_flag_ref )
{
rc_t rc = kOkRC;
@ -122,6 +124,7 @@ namespace cw
}
return rc;
}
*/
rc_t _parse_udp_var_proxy_string( const char* proxyStr, var_desc_t* var_desc )
{
@ -921,6 +924,7 @@ cw::rc_t cw::flow::create( handle_t& hRef,
p->maxCycleCount = kInvalidCnt;
p->proj_dir = proj_dir;
p->printLogHdrFl = true;
p->ui_create_fl = false;
p->ui_callback = ui_callback;
p->ui_callback_arg= ui_callback_arg;
p->ui_var_head.store(&p->ui_var_stub);
@ -933,6 +937,7 @@ cw::rc_t cw::flow::create( handle_t& hRef,
"sample_rate", kOptFl, p->sample_rate,
"max_cycle_count", kOptFl, maxCycleCount,
"dur_limit_secs", kOptFl, durLimitSecs,
"ui_create_fl", kOptFl, p->ui_create_fl,
"preset", kOptFl, p->init_net_preset_label,
"print_class_dict_fl", kOptFl, printClassDictFl,
"print_network_fl", kOptFl, p->printNetworkFl,

View File

@ -53,7 +53,7 @@ namespace cw
// Run a non-real-time program to completion.
rc_t exec( handle_t h );
// Send any pending updates to the UI.
// Send any pending updates from the flow network to the UI.
// This happens automatically if exec() exec_cycle() is called.
// Calling this function is only necessary when the state of the
// network is changed outside of runtime.