ARB
Classes | Functions
trackers.cxx File Reference
#include "trackers.hxx"
#include "macros.hxx"
#include "recmac.hxx"
#include "dbserver.hxx"
#include <aw_msg.hxx>
#include <arb_strarray.h>
#include <arb_sleep.h>
#include <ad_remote.h>
#include <unistd.h>
#include <ad_cb.h>
Include dependency graph for trackers.cxx:

Go to the source code of this file.

Classes

class  ExecutingMacro
 

Functions

static GB_ERROR announce_recording (GBDATA *gb_main, int record)
 
static void getKnownMacroClients (ConstStrArray &clientNames, GBDATA *gb_main)
 
__ATTR__USERESULT GB_ERROR setIntEntryToZero (GBDATA *gb_main, const char *entryPath)
 
static __ATTR__USERESULT GB_ERROR clearMacroExecutionAuthorization (GBDATA *gb_main)
 
static void macro_terminated (GBDATA *gb_terminated, GB_CB_TYPE cb_type)
 
static void record_state_changed_cb (GBDATA *gb_recording, ClientActionTracker *cat)
 
static UserActionTrackermake_macro_recording_tracker (const char *client_id, GBDATA *gb_main)
 
UserActionTrackerneed_macro_ability ()
 
GB_ERROR configure_macro_recording (AW_root *aw_root, const char *client_id, GBDATA *gb_main)
 
void shutdown_macro_recording (AW_root *aw_root)
 
bool got_macro_ability (AW_root *aw_root)
 

Function Documentation

static GB_ERROR announce_recording ( GBDATA gb_main,
int  record 
)
static
static void getKnownMacroClients ( ConstStrArray clientNames,
GBDATA gb_main 
)
static
__ATTR__USERESULT GB_ERROR setIntEntryToZero ( GBDATA gb_main,
const char entryPath 
)
inline

Definition at line 130 of file trackers.cxx.

References GB_await_error(), GB_INT, GB_search(), and GB_write_int().

Referenced by clearMacroExecutionAuthorization().

static __ATTR__USERESULT GB_ERROR clearMacroExecutionAuthorization ( GBDATA gb_main)
static
static void macro_terminated ( GBDATA gb_terminated,
GB_CB_TYPE  cb_type 
)
static
static void record_state_changed_cb ( GBDATA gb_recording,
ClientActionTracker cat 
)
static

Definition at line 295 of file trackers.cxx.

References ClientActionTracker::set_tracking_according_to().

static UserActionTracker* make_macro_recording_tracker ( const char client_id,
GBDATA gb_main 
)
static

Definition at line 436 of file trackers.cxx.

References GB_is_server(), and ma_assert.

Referenced by configure_macro_recording().

UserActionTracker* need_macro_ability ( )

Definition at line 455 of file trackers.cxx.

Referenced by ARB_main().

GB_ERROR configure_macro_recording ( AW_root aw_root,
const char client_id,
GBDATA gb_main 
)
void shutdown_macro_recording ( AW_root aw_root)
bool got_macro_ability ( AW_root aw_root)