2003-03-26 19:57:29 +08:00
|
|
|
//
|
|
|
|
// ZoneMinder Monitor Class Interfaces, $Date$, $Revision$
|
2008-07-25 17:33:23 +08:00
|
|
|
// Copyright (C) 2001-2008 Philip Coombes
|
2003-03-26 19:57:29 +08:00
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
// as published by the Free Software Foundation; either version 2
|
|
|
|
// of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ZM_MONITOR_H
|
|
|
|
#define ZM_MONITOR_H
|
|
|
|
|
|
|
|
#include <sys/time.h>
|
|
|
|
|
|
|
|
#include "zm_coord.h"
|
|
|
|
#include "zm_image.h"
|
|
|
|
#include "zm_zone.h"
|
2008-10-06 03:07:43 +08:00
|
|
|
#include "zm_event.h"
|
2003-03-26 19:57:29 +08:00
|
|
|
#include "zm_camera.h"
|
|
|
|
|
2008-10-06 03:07:43 +08:00
|
|
|
#define SIGNAL_CAUSE "Signal"
|
|
|
|
#define MOTION_CAUSE "Motion"
|
|
|
|
#define LINKED_CAUSE "Linked"
|
|
|
|
|
2003-03-26 19:57:29 +08:00
|
|
|
//
|
|
|
|
// This is the main class for monitors. Each monitor is associated
|
2008-10-06 03:07:43 +08:00
|
|
|
// with a camera and is effectively a collector for events.
|
2003-03-26 19:57:29 +08:00
|
|
|
//
|
|
|
|
class Monitor
|
|
|
|
{
|
2007-08-30 02:11:09 +08:00
|
|
|
friend class MonitorStream;
|
|
|
|
|
2003-03-26 19:57:29 +08:00
|
|
|
public:
|
2003-06-12 22:29:54 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
QUERY=0,
|
|
|
|
CAPTURE,
|
|
|
|
ANALYSIS
|
2003-09-23 17:52:45 +08:00
|
|
|
} Purpose;
|
2003-06-12 22:29:54 +08:00
|
|
|
|
2003-03-26 19:57:29 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
2005-12-23 00:46:25 +08:00
|
|
|
NONE=1,
|
2003-09-23 17:52:45 +08:00
|
|
|
MONITOR,
|
|
|
|
MODECT,
|
|
|
|
RECORD,
|
2004-12-29 01:41:55 +08:00
|
|
|
MOCORD,
|
|
|
|
NODECT
|
2003-03-26 19:57:29 +08:00
|
|
|
} Function;
|
|
|
|
|
2005-12-23 00:46:25 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
ROTATE_0=1,
|
|
|
|
ROTATE_90,
|
|
|
|
ROTATE_180,
|
|
|
|
ROTATE_270,
|
|
|
|
FLIP_HORI,
|
|
|
|
FLIP_VERT
|
|
|
|
} Orientation;
|
2003-03-26 19:57:29 +08:00
|
|
|
|
2005-12-23 00:46:25 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
IDLE,
|
|
|
|
PREALARM,
|
|
|
|
ALARM,
|
|
|
|
ALERT,
|
|
|
|
TAPE
|
|
|
|
} State;
|
2005-02-24 18:43:29 +08:00
|
|
|
|
2006-01-21 00:10:08 +08:00
|
|
|
protected:
|
2008-10-06 03:07:43 +08:00
|
|
|
typedef std::set<Zone *> ZoneSet;
|
|
|
|
|
2006-01-21 00:10:08 +08:00
|
|
|
typedef enum { GET_SETTINGS=0x1, SET_SETTINGS=0x2, RELOAD=0x4, SUSPEND=0x10, RESUME=0x20 } Action;
|
|
|
|
|
2008-09-25 19:18:55 +08:00
|
|
|
typedef enum { CLOSE_TIME, CLOSE_IDLE, CLOSE_ALARM } EventCloseMode;
|
|
|
|
|
2006-01-21 00:10:08 +08:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int size;
|
|
|
|
bool valid;
|
|
|
|
bool active;
|
|
|
|
bool signal;
|
|
|
|
State state;
|
|
|
|
int last_write_index;
|
|
|
|
int last_read_index;
|
2008-07-21 23:20:52 +08:00
|
|
|
time_t last_write_time;
|
|
|
|
time_t last_read_time;
|
2006-01-21 00:10:08 +08:00
|
|
|
int last_event;
|
|
|
|
int action;
|
|
|
|
int brightness;
|
|
|
|
int hue;
|
|
|
|
int colour;
|
|
|
|
int contrast;
|
|
|
|
int alarm_x;
|
|
|
|
int alarm_y;
|
2006-03-30 21:52:51 +08:00
|
|
|
char control_state[256];
|
2006-01-21 00:10:08 +08:00
|
|
|
} SharedData;
|
|
|
|
|
|
|
|
typedef enum { TRIGGER_CANCEL, TRIGGER_ON, TRIGGER_OFF } TriggerState;
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int size;
|
|
|
|
TriggerState trigger_state;
|
|
|
|
int trigger_score;
|
|
|
|
char trigger_cause[32];
|
|
|
|
char trigger_text[256];
|
2006-11-16 19:34:53 +08:00
|
|
|
char trigger_showtext[256];
|
2006-01-21 00:10:08 +08:00
|
|
|
} TriggerData;
|
|
|
|
|
2008-07-24 23:38:21 +08:00
|
|
|
struct Snapshot
|
2006-01-21 00:10:08 +08:00
|
|
|
{
|
|
|
|
struct timeval *timestamp;
|
|
|
|
Image *image;
|
|
|
|
};
|
|
|
|
|
2006-01-23 02:31:55 +08:00
|
|
|
class MonitorLink
|
|
|
|
{
|
|
|
|
protected:
|
2008-03-13 21:36:12 +08:00
|
|
|
unsigned int id;
|
2006-01-23 02:31:55 +08:00
|
|
|
char name[64];
|
|
|
|
|
|
|
|
bool connected;
|
|
|
|
time_t last_connect_time;
|
|
|
|
|
2008-07-14 23:21:16 +08:00
|
|
|
#if ZM_MEM_MAPPED
|
|
|
|
int map_fd;
|
|
|
|
#else // ZM_MEM_MAPPED
|
|
|
|
int shm_id;
|
|
|
|
#endif // ZM_MEM_MAPPED
|
|
|
|
int mem_size;
|
|
|
|
unsigned char *mem_ptr;
|
2006-01-23 02:31:55 +08:00
|
|
|
|
|
|
|
SharedData *shared_data;
|
|
|
|
TriggerData *trigger_data;
|
|
|
|
|
|
|
|
int last_state;
|
|
|
|
int last_event;
|
|
|
|
|
|
|
|
public:
|
|
|
|
MonitorLink( int p_id, const char *p_name );
|
|
|
|
~MonitorLink();
|
|
|
|
|
|
|
|
inline int Id() const
|
|
|
|
{
|
|
|
|
return( id );
|
|
|
|
}
|
|
|
|
inline const char *Name() const
|
|
|
|
{
|
|
|
|
return( name );
|
|
|
|
}
|
|
|
|
|
|
|
|
inline bool isConnected() const
|
|
|
|
{
|
|
|
|
return( connected );
|
|
|
|
}
|
|
|
|
inline time_t getLastConnectTime() const
|
|
|
|
{
|
|
|
|
return( last_connect_time );
|
|
|
|
}
|
|
|
|
|
|
|
|
bool connect();
|
|
|
|
bool disconnect();
|
|
|
|
|
|
|
|
bool isAlarmed();
|
|
|
|
bool inAlarm();
|
|
|
|
bool hasAlarmed();
|
|
|
|
};
|
|
|
|
|
2003-03-26 19:57:29 +08:00
|
|
|
protected:
|
|
|
|
// These are read from the DB and thereafter remain unchanged
|
2008-03-13 21:36:12 +08:00
|
|
|
unsigned int id;
|
2006-01-23 02:31:55 +08:00
|
|
|
char name[64];
|
2007-08-30 02:11:09 +08:00
|
|
|
Function function; // What the monitor is doing
|
|
|
|
bool enabled; // Whether the monitor is enabled or asleep
|
|
|
|
unsigned int width; // Normally the same as the camera, but not if partly rotated
|
|
|
|
unsigned int height; // Normally the same as the camera, but not if partly rotated
|
|
|
|
Orientation orientation; // Whether the image has to be rotated at all
|
|
|
|
int brightness; // The statically saved brightness of the camera
|
|
|
|
int contrast; // The statically saved contrast of the camera
|
|
|
|
int hue; // The statically saved hue of the camera
|
|
|
|
int colour; // The statically saved colour of the camera
|
|
|
|
char event_prefix[64]; // The prefix applied to event names as they are created
|
|
|
|
char label_format[64]; // The format of the timestamp on the images
|
|
|
|
Coord label_coord; // The coordinates of the timestamp on the images
|
|
|
|
int image_buffer_count; // Size of circular image buffer, at least twice the size of the pre_event_count
|
|
|
|
int warmup_count; // How many images to process before looking for events
|
|
|
|
int pre_event_count; // How many images to hold and prepend to an alarm event
|
|
|
|
int post_event_count; // How many unalarmed images must occur before the alarm state is reset
|
2008-10-30 07:08:21 +08:00
|
|
|
int stream_replay_buffer; // How many frames to store to support DVR functions, IGNORED from this object, passed directly into zms now
|
2007-08-30 02:11:09 +08:00
|
|
|
int section_length; // How long events should last in continuous modes
|
|
|
|
int frame_skip; // How many frames to skip in continuous modes
|
|
|
|
int capture_delay; // How long we wait between capture frames
|
|
|
|
int alarm_capture_delay; // How long we wait between capture frames when in alarm state
|
|
|
|
int alarm_frame_count; // How many alarm frames are required before an event is triggered
|
|
|
|
int fps_report_interval; // How many images should be captured/processed between reporting the current FPS
|
|
|
|
int ref_blend_perc; // Percentage of new image going into reference image.
|
|
|
|
bool track_motion; // Whether this monitor tries to track detected motion
|
2007-09-05 23:05:28 +08:00
|
|
|
Rgb signal_check_colour; // The colour that the camera will emit when no video signal detected
|
2005-02-24 18:43:29 +08:00
|
|
|
|
|
|
|
double fps;
|
|
|
|
Image image;
|
|
|
|
Image ref_image;
|
|
|
|
|
2007-08-30 02:11:09 +08:00
|
|
|
Purpose purpose; // What this monitor has been created to do
|
2005-02-24 18:43:29 +08:00
|
|
|
int event_count;
|
|
|
|
int image_count;
|
2005-12-23 00:46:25 +08:00
|
|
|
int ready_count;
|
2005-02-24 18:43:29 +08:00
|
|
|
int first_alarm_count;
|
|
|
|
int last_alarm_count;
|
|
|
|
int buffer_count;
|
|
|
|
int prealarm_count;
|
|
|
|
State state;
|
|
|
|
time_t start_time;
|
|
|
|
time_t last_fps_time;
|
2005-12-23 00:46:25 +08:00
|
|
|
time_t auto_resume_time;
|
2003-03-26 19:57:29 +08:00
|
|
|
|
2008-09-25 19:18:55 +08:00
|
|
|
EventCloseMode event_close_mode;
|
|
|
|
|
2008-07-14 23:21:16 +08:00
|
|
|
#if ZM_MEM_MAPPED
|
|
|
|
int map_fd;
|
|
|
|
#else // ZM_MEM_MAPPED
|
|
|
|
int shm_id;
|
|
|
|
#endif // ZM_MEM_MAPPED
|
|
|
|
int mem_size;
|
|
|
|
unsigned char *mem_ptr;
|
2003-03-26 19:57:29 +08:00
|
|
|
|
2006-01-21 00:10:08 +08:00
|
|
|
SharedData *shared_data;
|
|
|
|
TriggerData *trigger_data;
|
2004-12-29 01:41:55 +08:00
|
|
|
|
2006-01-21 00:10:08 +08:00
|
|
|
Snapshot *image_buffer;
|
2003-03-26 19:57:29 +08:00
|
|
|
|
2006-01-21 00:10:08 +08:00
|
|
|
Camera *camera;
|
2004-02-16 03:53:10 +08:00
|
|
|
|
2006-01-23 02:31:55 +08:00
|
|
|
Event *event;
|
|
|
|
|
|
|
|
int n_zones;
|
|
|
|
Zone **zones;
|
|
|
|
|
|
|
|
int n_linked_monitors;
|
|
|
|
MonitorLink **linked_monitors;
|
|
|
|
|
2003-03-26 19:57:29 +08:00
|
|
|
public:
|
2007-12-30 02:50:53 +08:00
|
|
|
Monitor( int p_id, const char *p_name, int p_function, bool p_enabled, const char *p_linked_monitors, Camera *p_camera, int p_orientation, const char *p_event_prefix, const char *p_label_format, const Coord &p_label_coord, int p_image_buffer_count, int p_warmup_count, int p_pre_event_count, int p_post_event_count, int p_stream_replay_buffer, int p_alarm_frame_count, int p_section_length, int p_frame_skip, int p_capture_delay, int p_alarm_capture_delay, int p_fps_report_interval, int p_ref_blend_perc, bool p_track_motion, Rgb p_signal_check_colour, Purpose p_purpose, int p_n_zones=0, Zone *p_zones[]=0 );
|
2003-03-26 19:57:29 +08:00
|
|
|
~Monitor();
|
|
|
|
|
|
|
|
void AddZones( int p_n_zones, Zone *p_zones[] );
|
|
|
|
|
2003-06-12 22:29:54 +08:00
|
|
|
inline int ShmValid() const
|
|
|
|
{
|
|
|
|
return( shared_data->valid );
|
|
|
|
}
|
|
|
|
|
2003-03-26 19:57:29 +08:00
|
|
|
inline int Id() const
|
|
|
|
{
|
|
|
|
return( id );
|
|
|
|
}
|
2006-01-23 02:31:55 +08:00
|
|
|
inline const char *Name() const
|
2003-03-26 19:57:29 +08:00
|
|
|
{
|
|
|
|
return( name );
|
|
|
|
}
|
2005-12-23 00:46:25 +08:00
|
|
|
inline Function GetFunction() const
|
|
|
|
{
|
|
|
|
return( function );
|
|
|
|
}
|
2006-01-23 02:31:55 +08:00
|
|
|
inline bool Enabled()
|
|
|
|
{
|
|
|
|
if ( function <= MONITOR )
|
|
|
|
return( false );
|
|
|
|
return( enabled );
|
|
|
|
}
|
2004-09-23 21:43:10 +08:00
|
|
|
inline const char *EventPrefix() const
|
|
|
|
{
|
|
|
|
return( event_prefix );
|
|
|
|
}
|
2005-12-23 00:46:25 +08:00
|
|
|
inline bool Ready()
|
|
|
|
{
|
|
|
|
if ( function <= MONITOR )
|
|
|
|
return( false );
|
|
|
|
return( image_count > ready_count );
|
|
|
|
}
|
|
|
|
inline bool Active()
|
|
|
|
{
|
|
|
|
if ( function <= MONITOR )
|
|
|
|
return( false );
|
|
|
|
return( enabled && shared_data->active );
|
|
|
|
}
|
|
|
|
|
|
|
|
unsigned int Width() const { return( width ); }
|
|
|
|
unsigned int Height() const { return( height ); }
|
2007-08-30 02:11:09 +08:00
|
|
|
unsigned int Colours() const { return( camera->Colours() ); }
|
2005-12-23 00:46:25 +08:00
|
|
|
|
2003-03-26 19:57:29 +08:00
|
|
|
State GetState() const;
|
2004-02-18 23:35:51 +08:00
|
|
|
int GetImage( int index=-1, int scale=100 ) const;
|
2003-03-26 19:57:29 +08:00
|
|
|
struct timeval GetTimestamp( int index=-1 ) const;
|
2003-03-27 06:12:25 +08:00
|
|
|
int GetCaptureDelay() const { return( capture_delay ); }
|
2006-03-31 20:49:05 +08:00
|
|
|
int GetAlarmCaptureDelay() const { return( alarm_capture_delay ); }
|
2003-03-26 19:57:29 +08:00
|
|
|
unsigned int GetLastReadIndex() const;
|
|
|
|
unsigned int GetLastWriteIndex() const;
|
|
|
|
unsigned int GetLastEvent() const;
|
|
|
|
double GetFPS() const;
|
2004-12-29 01:41:55 +08:00
|
|
|
void ForceAlarmOn( int force_score, const char *force_case, const char *force_text="" );
|
2003-03-26 21:18:26 +08:00
|
|
|
void ForceAlarmOff();
|
|
|
|
void CancelForced();
|
2005-11-20 20:17:45 +08:00
|
|
|
TriggerState GetTriggerState() const { return( trigger_data?trigger_data->trigger_state:TRIGGER_CANCEL ); }
|
2004-02-16 04:07:16 +08:00
|
|
|
|
2005-12-23 00:46:25 +08:00
|
|
|
void actionReload();
|
|
|
|
void actionEnable();
|
|
|
|
void actionDisable();
|
|
|
|
void actionSuspend();
|
|
|
|
void actionResume();
|
2003-06-25 17:47:09 +08:00
|
|
|
|
2005-12-23 00:46:25 +08:00
|
|
|
int actionBrightness( int p_brightness=-1 );
|
|
|
|
int actionHue( int p_hue=-1 );
|
|
|
|
int actionColour( int p_colour=-1 );
|
|
|
|
int actionContrast( int p_contrast=-1 );
|
2003-03-26 19:57:29 +08:00
|
|
|
|
2006-10-24 22:37:34 +08:00
|
|
|
inline int PrimeCapture()
|
|
|
|
{
|
|
|
|
return( camera->PrimeCapture() );
|
|
|
|
}
|
2003-03-26 19:57:29 +08:00
|
|
|
inline int PreCapture()
|
|
|
|
{
|
|
|
|
return( camera->PreCapture() );
|
|
|
|
}
|
2005-12-23 00:46:25 +08:00
|
|
|
int PostCapture();
|
2004-02-16 04:07:16 +08:00
|
|
|
|
2008-10-06 03:07:43 +08:00
|
|
|
unsigned int DetectMotion( const Image &comp_image, Event::StringSet &zoneSet );
|
2006-01-15 06:47:02 +08:00
|
|
|
bool CheckSignal( const Image *image );
|
2003-03-26 19:57:29 +08:00
|
|
|
bool Analyse();
|
2005-12-23 00:46:25 +08:00
|
|
|
void DumpImage( Image *dump_image ) const;
|
2006-12-25 00:50:01 +08:00
|
|
|
void TimestampImage( Image *ts_image, const struct timeval *ts_time ) const;
|
2005-12-23 00:46:25 +08:00
|
|
|
bool closeEvent();
|
2003-03-26 19:57:29 +08:00
|
|
|
|
2005-12-23 00:46:25 +08:00
|
|
|
void Reload();
|
2003-03-26 19:57:29 +08:00
|
|
|
void ReloadZones();
|
2006-01-23 02:31:55 +08:00
|
|
|
void ReloadLinkedMonitors( const char * );
|
2005-12-23 00:46:25 +08:00
|
|
|
|
|
|
|
bool DumpSettings( char *output, bool verbose );
|
|
|
|
void DumpZoneImage( const char *zone_string=0 );
|
|
|
|
|
2007-12-30 02:50:53 +08:00
|
|
|
static int LoadLocalMonitors( const char *device, Monitor **&monitors, Purpose purpose );
|
2008-07-16 16:35:59 +08:00
|
|
|
static int LoadRemoteMonitors( const char *protocol, const char *host, const char*port, const char*path, Monitor **&monitors, Purpose purpose );
|
2007-12-30 02:50:53 +08:00
|
|
|
static int LoadFileMonitors( const char *file, Monitor **&monitors, Purpose purpose );
|
2009-01-20 23:01:32 +08:00
|
|
|
static int LoadFfmpegMonitors( const char *file, Monitor **&monitors, Purpose purpose );
|
2007-12-30 02:50:53 +08:00
|
|
|
static Monitor *Load( int id, bool load_zones, Purpose purpose );
|
2007-08-30 02:11:09 +08:00
|
|
|
//void writeStreamImage( Image *image, struct timeval *timestamp, int scale, int mag, int x, int y );
|
|
|
|
//void StreamImages( int scale=100, int maxfps=10, time_t ttl=0, int msq_id=0 );
|
|
|
|
//void StreamImagesRaw( int scale=100, int maxfps=10, time_t ttl=0 );
|
|
|
|
//void StreamImagesZip( int scale=100, int maxfps=10, time_t ttl=0 );
|
2004-04-19 21:03:16 +08:00
|
|
|
void SingleImage( int scale=100 );
|
2005-12-21 18:11:44 +08:00
|
|
|
void SingleImageRaw( int scale=100 );
|
2006-01-20 23:27:48 +08:00
|
|
|
void SingleImageZip( int scale=100 );
|
2004-03-04 23:05:54 +08:00
|
|
|
#if HAVE_LIBAVCODEC
|
2007-08-30 02:11:09 +08:00
|
|
|
//void StreamMpeg( const char *format, int scale=100, int maxfps=10, int bitrate=100000 );
|
2004-03-04 23:05:54 +08:00
|
|
|
#endif // HAVE_LIBAVCODEC
|
2003-03-26 19:57:29 +08:00
|
|
|
};
|
|
|
|
|
2007-08-30 02:11:09 +08:00
|
|
|
#define MOD_ADD( var, delta, limit ) (((var)+(limit)+(delta))%(limit))
|
|
|
|
|
|
|
|
class MonitorStream : public StreamBase
|
|
|
|
{
|
|
|
|
protected:
|
|
|
|
typedef struct SwapImage {
|
|
|
|
bool valid;
|
|
|
|
struct timeval timestamp;
|
|
|
|
char file_name[PATH_MAX];
|
|
|
|
} SwapImage;
|
|
|
|
|
|
|
|
private:
|
|
|
|
SwapImage *temp_image_buffer;
|
|
|
|
int temp_image_buffer_count;
|
|
|
|
int temp_read_index;
|
|
|
|
int temp_write_index;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
time_t ttl;
|
|
|
|
|
|
|
|
protected:
|
2008-10-30 07:08:21 +08:00
|
|
|
int playback_buffer;
|
2007-08-30 02:11:09 +08:00
|
|
|
bool delayed;
|
|
|
|
|
|
|
|
int frame_count;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
bool checkSwapPath( const char *path, bool create_path );
|
|
|
|
|
|
|
|
void sendFrame( const char *filepath, struct timeval *timestamp );
|
|
|
|
void sendFrame( Image *image, struct timeval *timestamp );
|
|
|
|
void processCommand( const CmdMsg *msg );
|
|
|
|
|
|
|
|
public:
|
2008-12-06 02:13:45 +08:00
|
|
|
MonitorStream() : playback_buffer( 0 ), delayed( false ), frame_count( 0 )
|
2007-08-30 02:11:09 +08:00
|
|
|
{
|
|
|
|
}
|
2008-10-30 07:08:21 +08:00
|
|
|
void setStreamBuffer( int p_playback_buffer )
|
|
|
|
{
|
|
|
|
playback_buffer = p_playback_buffer;
|
|
|
|
}
|
2007-08-30 02:11:09 +08:00
|
|
|
void setStreamTTL( time_t p_ttl )
|
|
|
|
{
|
|
|
|
ttl = p_ttl;
|
|
|
|
}
|
|
|
|
void setStreamStart( int monitor_id )
|
|
|
|
{
|
|
|
|
loadMonitor( monitor_id );
|
|
|
|
}
|
|
|
|
void runStream();
|
|
|
|
};
|
|
|
|
|
2003-03-26 19:57:29 +08:00
|
|
|
#endif // ZM_MONITOR_H
|