WvStreams
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
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)
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)
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

Member Typedef Documentation

◆ ResultCallback [1/2]

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

◆ InitCallback [1/2]

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

◆ RunCallback [1/2]

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

◆ CleanupCallback [1/2]

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

◆ ForeachCallback [1/2]

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

◆ ResultCallback [2/2]

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

Definition at line 19 of file include/wvstreamsdebugger.h.

◆ InitCallback [2/2]

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

Definition at line 29 of file include/wvstreamsdebugger.h.

◆ RunCallback [2/2]

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

Definition at line 31 of file include/wvstreamsdebugger.h.

◆ CleanupCallback [2/2]

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

Definition at line 33 of file include/wvstreamsdebugger.h.

◆ ForeachCallback [2/2]

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

Definition at line 37 of file include/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.

◆ WvStreamsDebuggerStaticInitCleanup


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