ac_app_context.h File Reference

Go to the source code of this file.

Classes

struct  ac_Registry

Defines

#define ac_global_Controller   ac_Controller(ac_get_global_AppContext())
#define ac_global_LogDb   ac_LogDb(ac_get_global_AppContext())
#define ac_global_RcFile   ac_RcFile(ac_get_global_AppContext())
#define ac_global_ConfigDb   ac_ConfigDb(ac_get_global_AppContext())
#define ac_global_Registry   ac_get_Registry(ac_get_global_AppContext())
#define ac_global_Blackboard   ac_get_Blackboard(ac_get_global_AppContext())
#define LOGDB_FILE   ac_get_logdb_file(ac_get_global_AppContext())
#define LOGDB_DIR   ac_get_logdb_dir(ac_get_global_AppContext())
#define LOG_UPLOADS_DIR   ac_get_log_uploads_dir(ac_get_global_AppContext())
#define ac_STATIC_GET(key)   (cf_RcFile_get_##key(ac_global_RcFile))
#define ac_DYNAMIC_GET(_key)   (ConfigDb_get_generic(ac_global_ConfigDb, _key, NULL))
#define ac_DYNAMIC_GET_ERR(_key, _errorpp)   (ConfigDb_get_generic(ac_global_ConfigDb, _key, _errorpp))
#define ac_DYNAMIC_SET_ERR(_key, _value, _errorpp)   (ConfigDb_set_generic(ac_global_ConfigDb, _key, _value, _errorpp))

Typedefs

typedef struct _ac_AppContext ac_AppContext

Functions

ac_AppContextac_get_global_AppContext ()
ac_Registryac_get_Registry (ac_AppContext *self)
bb_Blackboardac_get_Blackboard (ac_AppContext *self)
const char * ac_get_logdb_file (ac_AppContext *self)
const char * ac_get_logdb_dir (ac_AppContext *self)
const char * ac_get_log_uploads_dir (ac_AppContext *self)
kr_Controllerac_Controller (ac_AppContext *self)
LogDbac_LogDb (ac_AppContext *self)
cf_RcFile * ac_RcFile (ac_AppContext *self)
ConfigDbac_ConfigDb (ac_AppContext *self)

Define Documentation

#define ac_DYNAMIC_GET ( _key   )     (ConfigDb_get_generic(ac_global_ConfigDb, _key, NULL))

Definition at line 82 of file ac_app_context.h.

#define ac_DYNAMIC_GET_ERR ( _key,
_errorpp   )     (ConfigDb_get_generic(ac_global_ConfigDb, _key, _errorpp))

Definition at line 87 of file ac_app_context.h.

Referenced by f_config_get(), and get_lua_value_wd().

#define ac_DYNAMIC_SET_ERR ( _key,
_value,
_errorpp   )     (ConfigDb_set_generic(ac_global_ConfigDb, _key, _value, _errorpp))

Definition at line 91 of file ac_app_context.h.

Referenced by f_config_set().

#define ac_global_Blackboard   ac_get_Blackboard(ac_get_global_AppContext())
#define ac_global_ConfigDb   ac_ConfigDb(ac_get_global_AppContext())

Definition at line 63 of file ac_app_context.h.

#define ac_global_Controller   ac_Controller(ac_get_global_AppContext())
#define ac_global_LogDb   ac_LogDb(ac_get_global_AppContext())
#define ac_global_RcFile   ac_RcFile(ac_get_global_AppContext())

Definition at line 62 of file ac_app_context.h.

Referenced by f_get_username(), and f_static_get_str().

#define ac_global_Registry   ac_get_Registry(ac_get_global_AppContext())
#define ac_STATIC_GET ( key   )     (cf_RcFile_get_##key(ac_global_RcFile))
#define LOG_UPLOADS_DIR   ac_get_log_uploads_dir(ac_get_global_AppContext())
#define LOGDB_DIR   ac_get_logdb_dir(ac_get_global_AppContext())

Definition at line 67 of file ac_app_context.h.

Referenced by create_log_db().

#define LOGDB_FILE   ac_get_logdb_file(ac_get_global_AppContext())

Typedef Documentation

typedef struct _ac_AppContext ac_AppContext

Definition at line 32 of file ac_app_context.h.


Function Documentation

ConfigDb* ac_ConfigDb ( ac_AppContext self  ) 

Definition at line 160 of file ac_app_context.cpp.

kr_Controller* ac_Controller ( ac_AppContext self  ) 

Definition at line 142 of file ac_app_context.cpp.

bb_Blackboard* ac_get_Blackboard ( ac_AppContext self  ) 
ac_AppContext* ac_get_global_AppContext (  ) 
const char* ac_get_log_uploads_dir ( ac_AppContext self  ) 

Definition at line 207 of file ac_app_context.cpp.

const char* ac_get_logdb_dir ( ac_AppContext self  ) 

Definition at line 202 of file ac_app_context.cpp.

const char* ac_get_logdb_file ( ac_AppContext self  ) 

Definition at line 197 of file ac_app_context.cpp.

ac_Registry* ac_get_Registry ( ac_AppContext self  ) 

Definition at line 166 of file ac_app_context.cpp.

LogDb* ac_LogDb ( ac_AppContext self  ) 
cf_RcFile* ac_RcFile ( ac_AppContext self  ) 

Definition at line 154 of file ac_app_context.cpp.

Referenced by get_config_database_dir().


ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:57 2011 by Doxygen 1.6.1