Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

FIFO_Recv_Msg.cpp

Go to the documentation of this file.
00001 #include "ace_pch.h"
00002 // FIFO_Recv_Msg.cpp
00003 // $Id: FIFO_Recv_Msg.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:21 chad Exp $
00004 
00005 #include "ace/FIFO_Recv_Msg.h"
00006 #include "ace/Log_Msg.h"
00007 
00008 #if defined (ACE_LACKS_INLINE_FUNCTIONS)
00009 #include "ace/FIFO_Recv_Msg.i"
00010 #endif
00011 
00012 ACE_RCSID(ace, FIFO_Recv_Msg, "$Id: FIFO_Recv_Msg.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:21 chad Exp $")
00013 
00014 ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Recv_Msg)
00015 
00016 void
00017 ACE_FIFO_Recv_Msg::dump (void) const
00018 {
00019   ACE_TRACE ("ACE_FIFO_Recv_Msg::dump");
00020   ACE_FIFO_Recv::dump ();
00021 }
00022 
00023 // Note that persistent means "open FIFO for writing, as well as
00024 // reading."  This ensures that the FIFO never gets EOF, even if there
00025 // aren't any writers at the moment!
00026 
00027 int
00028 ACE_FIFO_Recv_Msg::open (const ACE_TCHAR *fifo_name,
00029                          int flags,
00030                          int perms,
00031                          int persistent,
00032                          LPSECURITY_ATTRIBUTES sa)
00033 {
00034   ACE_TRACE ("ACE_FIFO_Recv_Msg::open");
00035 
00036   return ACE_FIFO_Recv::open (fifo_name,
00037                               flags,
00038                               perms,
00039                               persistent,
00040                               sa);
00041 }
00042 
00043 ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg (void)
00044 {
00045   ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg");
00046 }
00047 
00048 ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg (const ACE_TCHAR *fifo_name,
00049                                       int flags,
00050                                       int perms,
00051                                       int persistent,
00052                                       LPSECURITY_ATTRIBUTES sa)
00053 {
00054   ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg");
00055 
00056   if (this->ACE_FIFO_Recv_Msg::open (fifo_name,
00057                                      flags,
00058                                      perms,
00059                                      persistent,
00060                                      sa) == -1)
00061     ACE_ERROR ((LM_ERROR,  ACE_LIB_TEXT ("%p\n"),  ACE_LIB_TEXT ("ACE_FIFO_Recv_Msg")));
00062 }

Generated on Mon Jun 16 11:19:39 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002