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

FIFO_Send.cpp

Go to the documentation of this file.
00001 #include "ace_pch.h"
00002 // FIFO_Send.cpp
00003 // $Id: FIFO_Send.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:21 chad Exp $
00004 
00005 #include "ace/FIFO_Send.h"
00006 #include "ace/Log_Msg.h"
00007 
00008 #if defined (ACE_LACKS_INLINE_FUNCTIONS)
00009 #include "ace/FIFO_Send.i"
00010 #endif
00011 
00012 ACE_RCSID(ace, FIFO_Send, "$Id: FIFO_Send.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:21 chad Exp $")
00013 
00014 ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Send)
00015 
00016 void
00017 ACE_FIFO_Send::dump (void) const
00018 {
00019   ACE_TRACE ("ACE_FIFO_Send::dump");
00020   ACE_FIFO::dump ();
00021 }
00022 
00023 ACE_FIFO_Send::ACE_FIFO_Send (void)
00024 {
00025 //  ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
00026 }
00027 
00028 int
00029 ACE_FIFO_Send::open (const ACE_TCHAR *rendezvous_name,
00030                      int flags,
00031                      int perms,
00032                      LPSECURITY_ATTRIBUTES sa)
00033 {
00034   ACE_TRACE ("ACE_FIFO_Send::open");
00035   return ACE_FIFO::open (rendezvous_name,
00036                          flags | O_WRONLY,
00037                          perms,
00038                          sa);
00039 }
00040 
00041 ACE_FIFO_Send::ACE_FIFO_Send (const ACE_TCHAR *fifo_name,
00042                               int flags,
00043                               int perms,
00044                               LPSECURITY_ATTRIBUTES sa)
00045 {
00046   ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send");
00047   if (this->ACE_FIFO_Send::open (fifo_name,
00048                                  flags,
00049                                  perms,
00050                                  sa) == -1)
00051     ACE_ERROR ((LM_ERROR,
00052                 ACE_LIB_TEXT ("%p\n"),
00053                 ACE_LIB_TEXT ("ACE_FIFO_Send::ACE_FIFO_Send")));
00054 }

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