WvStreams
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
WvStreamsDebugger Class Reference

Public Types

typedef wv::function< void(WvStringParm, WvStringList &)> ResultCallback
 
typedef wv::function< void *(WvStringParm)> InitCallback
 
typedef wv::function< WvString(WvStringParm, WvStringList &, ResultCallback, void *)> RunCallback
 
typedef wv::function< void(WvStringParm, void *)> CleanupCallback
 
typedef wv::function< void(WvStringParm, void *)> ForeachCallback
 

Public Member Functions

WvString run (WvStringParm cmd, WvStringList &args, ResultCallback result_cb)
 

Static Public Member Functions

static bool add_command (WvStringParm cmd, InitCallback init_cb, RunCallback run_cb, CleanupCallback cleanup_cb)
 
static bool foreach (WvStringParm cmd, ForeachCallback foreach_cb)
 

Friends

class WvStreamsDebuggerStaticInitCleanup
 

Detailed Description

Definition at line 12 of file wvstreamsdebugger.h.

Member Typedef Documentation

◆ ResultCallback

typedef wv::function<void(WvStringParm, WvStringList&)> WvStreamsDebugger::ResultCallback

Definition at line 19 of file wvstreamsdebugger.h.

◆ InitCallback

typedef wv::function<void*(WvStringParm)> WvStreamsDebugger::InitCallback

Definition at line 29 of file wvstreamsdebugger.h.

◆ RunCallback

typedef wv::function<WvString(WvStringParm, WvStringList&, ResultCallback, void*)> WvStreamsDebugger::RunCallback

Definition at line 31 of file wvstreamsdebugger.h.

◆ CleanupCallback

typedef wv::function<void(WvStringParm, void*)> WvStreamsDebugger::CleanupCallback

Definition at line 33 of file wvstreamsdebugger.h.

◆ ForeachCallback

typedef wv::function<void(WvStringParm, void*)> WvStreamsDebugger::ForeachCallback

Definition at line 37 of file wvstreamsdebugger.h.

Constructor & Destructor Documentation

◆ WvStreamsDebugger()

WvStreamsDebugger::WvStreamsDebugger ( )

Definition at line 72 of file wvstreamsdebugger.cc.

◆ ~WvStreamsDebugger()

WvStreamsDebugger::~WvStreamsDebugger ( )

Definition at line 85 of file wvstreamsdebugger.cc.

Member Function Documentation

◆ run()

WvString WvStreamsDebugger::run ( WvStringParm  cmd,
WvStringList args,
ResultCallback  result_cb 
)

Definition at line 101 of file wvstreamsdebugger.cc.

◆ add_command()

bool WvStreamsDebugger::add_command ( WvStringParm  cmd,
InitCallback  init_cb,
RunCallback  run_cb,
CleanupCallback  cleanup_cb 
)
static

Definition at line 114 of file wvstreamsdebugger.cc.

◆ foreach()

bool WvStreamsDebugger::foreach ( WvStringParm  cmd,
ForeachCallback  foreach_cb 
)
static

Definition at line 127 of file wvstreamsdebugger.cc.

Friends And Related Symbol Documentation

◆ WvStreamsDebuggerStaticInitCleanup

Definition at line 61 of file wvstreamsdebugger.h.


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