certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/libCERTI SHMWin32.hh [br_CERTI_SHM_NEWGEN_dev]


From: certi-cvs
Subject: [certi-cvs] certi/libCERTI SHMWin32.hh [br_CERTI_SHM_NEWGEN_dev]
Date: Wed, 20 Jan 2010 11:24:58 +0000

CVSROOT:        /sources/certi
Module name:    certi
Branch:         br_CERTI_SHM_NEWGEN_dev
Changes by:     Adelantado <adele>      10/01/20 11:24:58

Added files:
        libCERTI       : SHMWin32.hh 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/SHMWin32.hh?cvsroot=certi&only_with_tag=br_CERTI_SHM_NEWGEN_dev&rev=1.1.2.1

Patches:
Index: SHMWin32.hh
===================================================================
RCS file: SHMWin32.hh
diff -N SHMWin32.hh
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ SHMWin32.hh 20 Jan 2010 11:24:58 -0000      1.1.2.1
@@ -0,0 +1,27 @@
+#ifndef SHM_WIN32_H
+#define SHM_WIN32_H
+
+// Specifics includes
+#include "SHM.hh"
+#include "certi.hh"
+#include "Exception.hh"
+
+class CERTI_EXPORT SHMWin32 : public SHM {
+
+    private :
+        HANDLE _hMapFile ;
+        LPCTSTR _pBuf;
+
+    public :
+    SHMWin32(const std::string& SHMName, const int SHMSize, const bool True) ;
+    SHMWin32(const std::string& SHMName, const int SHMSize) ;
+    ~SHMWin32() ;
+
+    void Open() throw(certi::SharedMemoryNotOpen) ;
+    void Attach() throw(certi::SharedMemoryNotAttached) ;
+    void Close() throw(certi::SharedMemoryNotClosed,
+                       certi::HandleNotClosed);
+
+} ;
+
+#endif




reply via email to

[Prev in Thread] Current Thread [Next in Thread]