Go to the source code of this file.
Classes | |
| struct | SharedData |
| struct | TriggerData_old |
| struct | TriggerData |
| struct | MONITOR |
| class | ZMServer |
Enumerations | |
| enum | State { IDLE, PREALARM, ALARM, ALERT, TAPE } |
| enum | TriggerState { TRIGGER_CANCEL, TRIGGER_ON, TRIGGER_OFF } |
Functions | |
| void | loadZMConfig (const string &configfile) |
| void | connectToDatabase (void) |
| void | kickDatabase (bool debug) |
Variables | |
| MYSQL | g_dbConn |
| string | g_zmversion |
| string | g_password |
| string | g_server |
| string | g_database |
| string | g_webPath |
| string | g_user |
| string | g_webUser |
| string | g_binPath |
| time_t | g_lastDBKick |
| const string | FUNCTION_MONITOR = "Monitor" |
| const string | FUNCTION_MODECT = "Modect" |
| const string | FUNCTION_NODECT = "Nodect" |
| const string | FUNCTION_RECORD = "Record" |
| const string | FUNCTION_MOCORD = "Mocord" |
| const string | FUNCTION_NONE = "None" |
| const string | RESTART = "restart" |
| const string | RELOAD = "reload" |
| const string | RUNNING = "running" |
| enum State |
| enum TriggerState |
| void loadZMConfig | ( | const string & | configfile | ) |
| void connectToDatabase | ( | void | ) |
| void kickDatabase | ( | bool | debug | ) |
Definition at line 169 of file zmserver.cpp.
Referenced by ZMServer::handleGetLiveFrame(), and main().
| MYSQL g_dbConn |
Definition at line 62 of file zmserver.cpp.
Referenced by connectToDatabase(), ZMServer::getMonitorList(), ZMServer::getZMSetting(), ZMServer::handleDeleteEvent(), ZMServer::handleDeleteEventList(), ZMServer::handleGetAnalyseFrame(), ZMServer::handleGetCameraList(), ZMServer::handleGetEventDates(), ZMServer::handleGetEventList(), ZMServer::handleGetFrameList(), ZMServer::handleGetMonitorList(), ZMServer::handleGetMonitorStatus(), ZMServer::handleSetMonitorFunction(), kickDatabase(), main(), and ZMServer::zmcControl().
| string g_zmversion |
Definition at line 63 of file zmserver.cpp.
Referenced by ZMServer::initMonitor(), loadZMConfig(), and main().
| string g_password |
| string g_server |
| string g_database |
| string g_webPath |
Definition at line 67 of file zmserver.cpp.
Referenced by ZMServer::handleGetAnalyseFrame(), ZMServer::handleGetEventFrame(), ZMServer::handleGetServerStatus(), and loadZMConfig().
| string g_user |
| string g_webUser |
| string g_binPath |
Definition at line 70 of file zmserver.cpp.
Referenced by ZMServer::getMonitorStatus(), ZMServer::handleDeleteEvent(), ZMServer::handleGetServerStatus(), ZMServer::handleRunZMAudit(), ZMServer::handleSetMonitorFunction(), loadZMConfig(), ZMServer::zmaControl(), and ZMServer::zmcControl().
| time_t g_lastDBKick |
| const string FUNCTION_MONITOR = "Monitor" |
Definition at line 47 of file zmserver.h.
Referenced by ZMServer::handleSetMonitorFunction(), and ZMConsole::ZMConsole().
| const string FUNCTION_MODECT = "Modect" |
Definition at line 48 of file zmserver.h.
Referenced by ZMServer::handleSetMonitorFunction(), ZMServer::zmaControl(), and ZMConsole::ZMConsole().
| const string FUNCTION_NODECT = "Nodect" |
Definition at line 49 of file zmserver.h.
Referenced by ZMServer::handleSetMonitorFunction(), and ZMServer::zmaControl().
| const string FUNCTION_RECORD = "Record" |
Definition at line 50 of file zmserver.h.
Referenced by ZMServer::handleSetMonitorFunction(), ZMServer::zmaControl(), and ZMConsole::ZMConsole().
| const string FUNCTION_MOCORD = "Mocord" |
Definition at line 51 of file zmserver.h.
Referenced by ZMServer::handleSetMonitorFunction(), ZMServer::zmaControl(), and ZMConsole::ZMConsole().
| const string FUNCTION_NONE = "None" |
Definition at line 52 of file zmserver.h.
Referenced by ZMServer::handleSetMonitorFunction(), and ZMConsole::ZMConsole().
| const string RESTART = "restart" |
Definition at line 54 of file zmserver.h.
Referenced by ZMServer::handleSetMonitorFunction(), ZMServer::zmaControl(), and ZMServer::zmcControl().
| const string RELOAD = "reload" |
Definition at line 55 of file zmserver.h.
Referenced by ZMServer::handleSetMonitorFunction(), and ZMServer::zmaControl().
| const string RUNNING = "running" |
1.5.5