Public Types | Public Member Functions | Protected Attributes

ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL > Class Template Reference

#include <Sock_IOStream.h>

Collaboration diagram for ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Sock_StreamBufferBase
< ACE_SYNCH_USE > 
buffer_type
typedef buffer_type::stream_type stream_type

Public Member Functions

 Sock_IOSBase (stream_type *stream)
 ~Sock_IOSBase ()
buffer_typerdbuf ()
void close ()
const stream_typestream () const

Protected Attributes

buffer_type streambuf_

Detailed Description

template<ACE_SYNCH_DECL>
class ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >

Definition at line 62 of file Sock_IOStream.h.


Member Typedef Documentation

template<ACE_SYNCH_DECL >
typedef Sock_StreamBufferBase<ACE_SYNCH_USE> ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >::buffer_type
template<ACE_SYNCH_DECL >
typedef buffer_type::stream_type ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >::stream_type

Constructor & Destructor Documentation

template<ACE_SYNCH_DECL >
ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >::Sock_IOSBase ( stream_type stream  ) 

Definition at line 31 of file Sock_IOStream.cpp.

template<ACE_SYNCH_DECL >
ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >::~Sock_IOSBase (  ) 

Definition at line 38 of file Sock_IOStream.cpp.

      {
        try
          {
            this->streambuf_.sync();
          }
        catch (...)
          {
          }
      }


Member Function Documentation

template<ACE_SYNCH_DECL >
void ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >::close ( void   ) 

Definition at line 57 of file Sock_IOStream.cpp.

      {
        this->streambuf_.sync ();
        this->streambuf_.close_stream ();
      }

template<ACE_SYNCH_DECL >
Sock_IOSBase< ACE_SYNCH_USE >::buffer_type * ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >::rdbuf (  ) 

Definition at line 51 of file Sock_IOStream.cpp.

      {
        return &this->streambuf_;
      }

template<ACE_SYNCH_DECL >
const Sock_IOSBase< ACE_SYNCH_USE >::stream_type & ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >::stream (  )  const

Definition at line 65 of file Sock_IOStream.cpp.

      {
        return this->streambuf_.stream ();
      }


Member Data Documentation

template<ACE_SYNCH_DECL >
buffer_type ACE::IOS::Sock_IOSBase< ACE_SYNCH_DECL >::streambuf_ [protected]

Definition at line 79 of file Sock_IOStream.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines