syncpoint.h

Go to the documentation of this file.
00001 /*
00002  * syncpoint.h
00003  *
00004  * Single thread synchronisation point (event) class.
00005  *
00006  * Portable Windows Library
00007  *
00008  * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
00009  *
00010  * The contents of this file are subject to the Mozilla Public License
00011  * Version 1.0 (the "License"); you may not use this file except in
00012  * compliance with the License. You may obtain a copy of the License at
00013  * http://www.mozilla.org/MPL/
00014  *
00015  * Software distributed under the License is distributed on an "AS IS"
00016  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
00017  * the License for the specific language governing rights and limitations
00018  * under the License.
00019  *
00020  * The Original Code is Portable Windows Library.
00021  *
00022  * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
00023  *
00024  * Portions are Copyright (C) 1993 Free Software Foundation, Inc.
00025  * All Rights Reserved.
00026  *
00027  * Contributor(s): ______________________________________.
00028  *
00029  * $Log: syncpoint.h,v $
00030  * Revision 1.10  2003/09/17 05:41:59  csoutheren
00031  * Removed recursive includes
00032  *
00033  * Revision 1.9  2003/09/17 01:18:02  csoutheren
00034  * Removed recursive include file system and removed all references
00035  * to deprecated coooperative threading support
00036  *
00037  * Revision 1.8  2002/09/16 01:08:59  robertj
00038  * Added #define so can select if #pragma interface/implementation is used on
00039  *   platform basis (eg MacOS) rather than compiler, thanks Robert Monaghan.
00040  *
00041  * Revision 1.7  2002/01/23 04:26:36  craigs
00042  * Added copy constructors for PSemaphore, PMutex and PSyncPoint to allow
00043  * use of default copy constructors for objects containing instances of
00044  * these classes
00045  *
00046  * Revision 1.6  2001/05/22 12:49:32  robertj
00047  * Did some seriously wierd rewrite of platform headers to eliminate the
00048  *   stupid GNU compiler warning about braces not matching.
00049  *
00050  * Revision 1.5  1999/03/09 02:59:51  robertj
00051  * Changed comments to doc++ compatible documentation.
00052  *
00053  * Revision 1.4  1999/02/16 08:11:17  robertj
00054  * MSVC 6.0 compatibility changes.
00055  *
00056  * Revision 1.3  1998/11/30 02:52:00  robertj
00057  * New directory structure
00058  *
00059  * Revision 1.2  1998/09/23 06:21:34  robertj
00060  * Added open source copyright license.
00061  *
00062  * Revision 1.1  1998/03/23 02:41:34  robertj
00063  * Initial revision
00064  *
00065  */
00066 
00067 #ifndef _PSYNCPOINT
00068 #define _PSYNCPOINT
00069 
00070 #ifdef P_USE_PRAGMA
00071 #pragma interface
00072 #endif
00073 
00074 #include <ptlib/semaphor.h>
00075 
00076 
00095 class PSyncPoint : public PSemaphore
00096 {
00097   PCLASSINFO(PSyncPoint, PSemaphore);
00098 
00099   public:
00102     PSyncPoint();
00103     PSyncPoint(const PSyncPoint &);
00104 
00105 
00106 // Include platform dependent part of class
00107 #ifdef _WIN32
00108 #include "msos/ptlib/syncpoint.h"
00109 #else
00110 #include "unix/ptlib/syncpoint.h"
00111 #endif
00112 };
00113 
00114 #endif
00115 
00116 
00117 // End Of File ///////////////////////////////////////////////////////////////

Generated on Fri Mar 7 06:25:03 2008 for PTLib by  doxygen 1.5.1