00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef ACE_DEV_H
00015 #define ACE_DEV_H
00016 #include "ace/pre.h"
00017
00018 #include "ace/IO_SAP.h"
00019
00020 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00021 # pragma once
00022 #endif
00023
00024 #include "ace/DEV_Addr.h"
00025
00026
00027
00028
00029
00030
00031 #if defined (ACE_HAS_TEMPLATE_TYPEDEFS)
00032 #define ACE_DEV_CONNECTOR ACE_DEV_Connector
00033 #define ACE_DEV_STREAM ACE_DEV_IO
00034 #else
00035 #define ACE_DEV_CONNECTOR ACE_DEV_Connector, ACE_DEV_Addr
00036 #define ACE_DEV_STREAM ACE_DEV_IO, ACE_DEV_Addr
00037 #endif
00038
00039 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00040
00041
00042
00043
00044
00045
00046
00047 class ACE_Export ACE_DEV : public ACE_IO_SAP
00048 {
00049 public:
00050
00051 int close (void);
00052
00053
00054 void dump (void) const;
00055
00056
00057 ACE_ALLOC_HOOK_DECLARE;
00058
00059
00060
00061
00062
00063
00064 int disable (int signum) const ;
00065
00066 protected:
00067
00068 ACE_DEV (void);
00069 };
00070
00071 ACE_END_VERSIONED_NAMESPACE_DECL
00072
00073 #if defined (__ACE_INLINE__)
00074 #include "ace/DEV.inl"
00075 #endif
00076
00077 #include "ace/post.h"
00078 #endif