cwIo.h/cpp, cwPresetSel.h : Added comments.
This commit is contained in:
parent
7d7f0c1bc9
commit
c7cbb5f62f
1
cwIo.cpp
1
cwIo.cpp
@ -2366,6 +2366,7 @@ cw::rc_t cw::io::exec( handle_t h, void* execCbArg )
|
|||||||
if( p->wsUiH.isValid() )
|
if( p->wsUiH.isValid() )
|
||||||
{
|
{
|
||||||
ui::flushCache( ui::ws::uiHandle( p->wsUiH ));
|
ui::flushCache( ui::ws::uiHandle( p->wsUiH ));
|
||||||
|
// Note this call blocks on the websocket handle: See cwUi.h:ws:exec()
|
||||||
rc = ui::ws::exec( p->wsUiH );
|
rc = ui::ws::exec( p->wsUiH );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
4
cwIo.h
4
cwIo.h
@ -164,7 +164,11 @@ namespace cw
|
|||||||
rc_t start( handle_t h );
|
rc_t start( handle_t h );
|
||||||
rc_t pause( handle_t h );
|
rc_t pause( handle_t h );
|
||||||
rc_t stop( handle_t h );
|
rc_t stop( handle_t h );
|
||||||
|
|
||||||
|
// Note that this call blocks on the the UI websocket handle.
|
||||||
|
// See ui:ws:exec().
|
||||||
rc_t exec( handle_t h, void* execCbArg=nullptr );
|
rc_t exec( handle_t h, void* execCbArg=nullptr );
|
||||||
|
|
||||||
bool isShuttingDown( handle_t h );
|
bool isShuttingDown( handle_t h );
|
||||||
void report( handle_t h );
|
void report( handle_t h );
|
||||||
void realTimeReport( handle_t h );
|
void realTimeReport( handle_t h );
|
||||||
|
@ -13,8 +13,8 @@ namespace cw
|
|||||||
bool playFl; // play this preset
|
bool playFl; // play this preset
|
||||||
bool seqFl; // play this preset during sequencing.
|
bool seqFl; // play this preset during sequencing.
|
||||||
unsigned preset_idx; // preset index into preset_labelA[].
|
unsigned preset_idx; // preset index into preset_labelA[].
|
||||||
unsigned order; //
|
unsigned order; // selection label
|
||||||
char* alt_str;
|
char* alt_str; // 'alt' label
|
||||||
} preset_t;
|
} preset_t;
|
||||||
|
|
||||||
typedef struct frag_str
|
typedef struct frag_str
|
||||||
|
Loading…
Reference in New Issue
Block a user