ARB
|
#include <trackers.hxx>
Public Member Functions | |
MacroRecorder (const char *application_id, GBDATA *gb_main_) | |
~MacroRecorder () | |
GB_ERROR | start_recording (const char *file, const char *stop_action_name, bool expand_existing) |
GB_ERROR | stop_recording () |
GB_ERROR | execute (const char *macroFile, bool loop_marked, const RootCallback &execution_done_cb) |
void | track_action (const char *action_id) OVERRIDE |
void | track_awar_change (AW_awar *awar) OVERRIDE |
void | add_planned_interruption (const char *displayed_text) |
GB_ERROR | handle_tracked_client_action (char *&tracked) |
void | release () OVERRIDE |
Public Member Functions inherited from BoundActionTracker | |
BoundActionTracker (const char *application_id, GBDATA *gb_main) | |
~BoundActionTracker () OVERRIDE | |
bool | is_replaceable () const OVERRIDE |
bool | reconfigure (const char *application_id, GBDATA *gb_main) |
GBDATA * | get_gbmain () |
const char * | get_application_id () const |
void | forgetDatabase () |
Public Member Functions inherited from UserActionTracker | |
UserActionTracker () | |
virtual | ~UserActionTracker () |
bool | is_tracking () const |
Additional Inherited Members | |
Protected Member Functions inherited from BoundActionTracker | |
void | set_recording (bool recording) |
Protected Member Functions inherited from UserActionTracker | |
void | set_tracking (bool track) |
Definition at line 76 of file trackers.hxx.
Definition at line 80 of file trackers.hxx.
|
inline |
Definition at line 84 of file trackers.hxx.
References ma_assert.
GB_ERROR MacroRecorder::start_recording | ( | const char * | file, |
const char * | stop_action_name, | ||
bool | expand_existing | ||
) |
Definition at line 74 of file trackers.cxx.
References announce_recording(), error(), BoundActionTracker::get_application_id(), BoundActionTracker::get_gbmain(), RecordingMacro::has_error(), UserActionTracker::is_tracking(), NULp, BoundActionTracker::set_recording(), and stop_recording().
Referenced by start_macro_cb().
GB_ERROR MacroRecorder::stop_recording | ( | ) |
Definition at line 91 of file trackers.cxx.
References announce_recording(), error(), BoundActionTracker::get_gbmain(), UserActionTracker::is_tracking(), NULp, BoundActionTracker::set_recording(), and RecordingMacro::stop().
Referenced by check_for_remote_command(), release(), start_macro_cb(), and start_recording().
GB_ERROR MacroRecorder::execute | ( | const char * | macroFile, |
bool | loop_marked, | ||
const RootCallback & | execution_done_cb | ||
) |
Definition at line 210 of file trackers.cxx.
References ExecutingMacro::add(), GB_transaction::close(), ExecutingMacro::drop(), error(), GB_add_callback(), GB_await_error(), GB_CB_CHANGED, GB_FIND, GB_INT, gb_main, GB_search(), GBT_macro_execute(), BoundActionTracker::get_gbmain(), macro_terminated(), MACRO_TRIGGER_TERMINATED, NULp, and ta.
Referenced by exec_macro_cb(), and execute_macro().
|
virtual |
Implements UserActionTracker.
Definition at line 238 of file trackers.cxx.
References UserActionTracker::is_tracking(), ma_assert, and RecordingMacro::track_action().
|
virtual |
Implements UserActionTracker.
Definition at line 243 of file trackers.cxx.
References UserActionTracker::is_tracking(), ma_assert, and RecordingMacro::track_awar_change().
void MacroRecorder::add_planned_interruption | ( | const char * | displayed_text | ) |
Definition at line 282 of file trackers.cxx.
References UserActionTracker::is_tracking(), ma_assert, and RecordingMacro::write_planned_interruption().
Referenced by insert_interruption_to_macro_cb().
Definition at line 248 of file trackers.cxx.
References error(), GBS_global_string(), ma_assert, NULp, RecordingMacro::write_action(), and RecordingMacro::write_awar_change().
Referenced by check_for_remote_command().
|
inlinevirtual |
Implements BoundActionTracker.
Definition at line 98 of file trackers.hxx.
References error(), BoundActionTracker::forgetDatabase(), UserActionTracker::is_tracking(), and stop_recording().