timeout-pool.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _CLUTTERMM_TIMEOUT_POOL_H
00004 #define _CLUTTERMM_TIMEOUT_POOL_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* Copyright (C) 2007 The cluttermm Development Team
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library General Public
00022  * License along with this library; if not, write to the Free
00023  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024  */
00025 
00026 #include <clutter/clutter-timeout-pool.h>
00027 
00028 
00029 namespace Clutter
00030 {
00031 
00042 class TimeoutPool
00043 {
00044   public:
00045 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00046   typedef TimeoutPool CppObjectType;
00047   typedef ClutterTimeoutPool BaseObjectType;
00048 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00049 
00050 private:
00051 
00052 
00053 public:
00054   explicit TimeoutPool(int priority);
00055 
00056   typedef sigc::slot<bool> TimeoutSlot;
00057   
00082   guint add(guint interval, const TimeoutSlot& func, int priority = Glib::PRIORITY_DEFAULT);
00083 
00084   
00092   void remove(guint id);
00093 
00094   ClutterTimeoutPool* gobj() { return gobject_; }
00095   const ClutterTimeoutPool* gobj() const { return gobject_; }
00096 
00097 protected:
00098   ClutterTimeoutPool* gobject_;
00099 
00100 private:
00101   // noncopyable:
00102   TimeoutPool(const TimeoutPool& other);
00103   TimeoutPool& operator=(const TimeoutPool& other);
00104 
00105 
00106 };
00107 
00108 }
00109 
00110 
00111 #endif /* _CLUTTERMM_TIMEOUT_POOL_H */
00112 

Generated on Sun Jul 27 21:35:59 2008 for cluttermm by  doxygen 1.5.4