Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

trtsemaphore.h

Go to the documentation of this file.
00001 /*--------------------------------------------------------------------
00002  *
00003  * (C) Copyright Koninklijke Philips Electronics NV 2006. 
00004  * All rights reserved. This software is licensed under the terms of
00005  * version 2.1 of the GNU Lesser General Public License as published 
00006  * by the Free Software Foundation. For licensing and warranty
00007  * information, see the file COPYING in the main directory.
00008  *
00009  *------------------------------------------------------------------*/
00010 
00011 #ifndef TRTSEMAPHORE_H
00012 #define TRTSEMAPHORE_H
00013 
00014 #include "ossemaphore.h"
00015 #include "trt.h"
00016 
00017 class trtSemaphore : public osSemaphore
00018 {
00019 public:
00020   trtSemaphore(int credit=0);
00021   ~trtSemaphore();
00022 
00023   void signal();
00024   void wait();
00025 
00026 private:
00027   semaphore_t ps;
00028 };
00029 
00030 #endif

Generated on Wed Feb 15 14:52:39 2006 for yapi by doxygen 1.3.2