MAK RTIspy API Documentation for HLA 1516
vlIpcCondVar__rti__.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: vlIpcCondVar__rti__.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00010 
00011 #ifndef VXWORKS
00012 
00013 #ifndef vlIpcCondVar__rti___H_
00014 #define vlIpcCondVar__rti___H_
00015 
00016 #include "rtiMsConfig.h"
00017 #include <vlutil/vlMachineTypes.h>
00018 #include "vlCondVar__rti__.h"
00019 #include <vlutil/vlString.h>
00020 #include "vlMutex__rti__.h"
00021 
00022 #if WIN32
00023 #include <winsock2.h>
00024 #include <process.h>
00025 #else
00026 #include <pthread.h>
00027 #endif
00028 
00029 #ifdef DtUSE_UTILITIES_NAMESPACE
00030 namespace DtUSE_UTILITIES_NAMESPACE
00031 {
00032 #endif
00033 
00039 class DT_DLL_RTIUTIL DtIpcCondVar__rti__ : public DtCondVar__rti__
00040 {
00041 public:
00042 
00044 #ifdef WIN32
00045    DtIpcCondVar__rti__(const MAKRti::DtString& name, MAKRti::DtMutex__rti__ * condMutex);
00046 #else
00047    DtIpcCondVar__rti__(pthread_cond_t * cond, MAKRti::DtMutex__rti__ * condMutex);
00048 #endif
00049 
00050    virtual ~DtIpcCondVar__rti__();
00051 
00052 protected:
00053 
00054 public:
00056    virtual void init();
00057 
00058 protected:
00059 #ifdef WIN32
00060    MAKRti::DtString myName;
00061 #endif
00062 };
00063 
00064 #ifdef DtUSE_UTILITIES_NAMESPACE
00065 } 
00066 #endif
00067 
00068 #endif //! vlIpcCondVar__rti___H_
00069 
00070 #endif //! VXWORKS

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)