Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

monitorcontrol.h

Go to the documentation of this file.
00001 /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
00002    this file is part of rcssserver3D
00003    Fri May 9 2003
00004    Copyright (C) 2003 Koblenz University
00005    $Id: monitorcontrol.h,v 1.3 2004/04/30 10:01:22 rollmark Exp $
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; version 2 of the License.
00010 
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software
00018    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019 */
00020 #ifndef OXYGEN_MONITORCONTROL_H
00021 #define OXYGEN_MONITORCONTROL_H
00022 
00023 #include "netcontrol.h"
00024 
00025 namespace oxygen
00026 {
00027 class MonitorServer;
00028 
00033 class MonitorControl : public NetControl
00034 {
00035 public:
00036     MonitorControl();
00037     virtual ~MonitorControl();
00038 
00041     virtual void StartCycle();
00042 
00045     virtual void EndCycle();
00046 
00048     virtual void ClientConnect(boost::shared_ptr<Client> client);
00049 
00051     int GetMonitorInterval();
00052 
00054     void SetMonitorInterval(int i);
00055 
00056 protected:
00057     virtual void OnLink();
00058     virtual void OnUnlink();
00059 
00060 protected:
00062     boost::shared_ptr<MonitorServer> mMonitorServer;
00063 
00065     int mMonitorInterval;
00066 };
00067 
00068 DECLARE_CLASS(MonitorControl);
00069 
00070 } // namespace oxygen
00071 
00072 #endif // OXYGEN_MONITORCONTROL_H

Generated on Thu Apr 6 15:25:39 2006 for rcssserver3d by  doxygen 1.4.4