diff options
Diffstat (limited to 'ACE/ace')
27 files changed, 60 insertions, 60 deletions
diff --git a/ACE/ace/Containers_T.h b/ACE/ace/Containers_T.h index e14357c352d..6442da5484b 100644 --- a/ACE/ace/Containers_T.h +++ b/ACE/ace/Containers_T.h @@ -1994,7 +1994,7 @@ public: // Define a "trait" typedef T TYPE; typedef ACE_Array_Iterator<T> ITERATOR; - + /// Dynamically create an uninitialized array. /** * Initialize an empty array of the specified size using the provided diff --git a/ACE/ace/Hash_Map_With_Allocator_T.h b/ACE/ace/Hash_Map_With_Allocator_T.h index 1c2413ba3f2..c9559e5c9b5 100644 --- a/ACE/ace/Hash_Map_With_Allocator_T.h +++ b/ACE/ace/Hash_Map_With_Allocator_T.h @@ -42,7 +42,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL * is meaningful! That is why we need this wrapper, which * insures that appropriate allocator pointer is in place for * each call. - * + * * At some point it would be a good idea to update this class to * use the new "two allocator" technique provided by @c * ACE_Hash_Map_Manager_Ex. diff --git a/ACE/ace/Message_Queue_Vx.h b/ACE/ace/Message_Queue_Vx.h index f689cc2d1c3..42f376693e1 100644 --- a/ACE/ace/Message_Queue_Vx.h +++ b/ACE/ace/Message_Queue_Vx.h @@ -107,7 +107,7 @@ public: * the message block sizes. */ virtual void message_bytes (size_t new_size); - + /** * New value of the number of total length on the queue, i.e., sum * of the message block lengths. diff --git a/ACE/ace/Monitor_Control/BSD_Network_Interface_Monitor.h b/ACE/ace/Monitor_Control/BSD_Network_Interface_Monitor.h index d9c1944599b..ed959acb5e5 100644 --- a/ACE/ace/Monitor_Control/BSD_Network_Interface_Monitor.h +++ b/ACE/ace/Monitor_Control/BSD_Network_Interface_Monitor.h @@ -50,7 +50,7 @@ namespace ACE protected: ACE_UINT64 value_; - + private: void init (void); void fetch (ACE_UINT64& value) const; diff --git a/ACE/ace/Monitor_Control/Bytes_Received_Monitor.h b/ACE/ace/Monitor_Control/Bytes_Received_Monitor.h index 720d608965e..a0881a150ab 100644 --- a/ACE/ace/Monitor_Control/Bytes_Received_Monitor.h +++ b/ACE/ace/Monitor_Control/Bytes_Received_Monitor.h @@ -31,7 +31,7 @@ #include "ace/Monitor_Control/Solaris_Network_Interface_Monitor.h" #elif defined (__FreeBSD__) || defined (__Lynx__) #include "ace/Monitor_Control/FreeBSD_Network_Interface_Monitor.h" -#elif defined (__NetBSD__) || defined (__OpenBSD__) +#elif defined (__NetBSD__) || defined (__OpenBSD__) #include "ace/Monitor_Control/BSD_Network_Interface_Monitor.h" #else #include "ace/Monitor_Control/Null_Network_Interface_Monitor.h" @@ -74,7 +74,7 @@ namespace ACE /// Stores the default name, used if none is supplied by the user. static const char* default_name (void); - + private: /// Overridden reset, calls platform-specific reset. virtual void clear_i (void); diff --git a/ACE/ace/Monitor_Control/Bytes_Sent_Monitor.h b/ACE/ace/Monitor_Control/Bytes_Sent_Monitor.h index 2bcdf90ed06..59d7166c972 100644 --- a/ACE/ace/Monitor_Control/Bytes_Sent_Monitor.h +++ b/ACE/ace/Monitor_Control/Bytes_Sent_Monitor.h @@ -31,7 +31,7 @@ #include "ace/Monitor_Control/Solaris_Network_Interface_Monitor.h" #elif defined (__FreeBSD__) || defined (__Lynx__) #include "ace/Monitor_Control/FreeBSD_Network_Interface_Monitor.h" -#elif defined (__NetBSD__) || defined (__OpenBSD__) +#elif defined (__NetBSD__) || defined (__OpenBSD__) #include "ace/Monitor_Control/BSD_Network_Interface_Monitor.h" #else #include "ace/Monitor_Control/Null_Network_Interface_Monitor.h" @@ -74,7 +74,7 @@ namespace ACE /// Stores the default name, used if none is supplied by the user. static const char* default_name (void); - + private: /// Overridden reset, calls platform-specific reset. virtual void clear_i (void); diff --git a/ACE/ace/Monitor_Control/CPU_Load_Monitor.h b/ACE/ace/Monitor_Control/CPU_Load_Monitor.h index 307a90c351f..aae4e62405c 100644 --- a/ACE/ace/Monitor_Control/CPU_Load_Monitor.h +++ b/ACE/ace/Monitor_Control/CPU_Load_Monitor.h @@ -56,11 +56,11 @@ namespace ACE /// Stores the default name, used if none is supplied by the user. static const char* default_name (void); - + private: /// Overridden reset, calls platform-specific reset. virtual void clear_i (void); - + /// Common code to the constructor and to clear_i(). void init (void); diff --git a/ACE/ace/Monitor_Control/Linux_Network_Interface_Monitor.h b/ACE/ace/Monitor_Control/Linux_Network_Interface_Monitor.h index 3516450bab3..a656eb13911 100644 --- a/ACE/ace/Monitor_Control/Linux_Network_Interface_Monitor.h +++ b/ACE/ace/Monitor_Control/Linux_Network_Interface_Monitor.h @@ -53,9 +53,9 @@ namespace ACE protected: ACE_UINT64 value_; - + private: - /// Common code. + /// Common code. void init (void); private: diff --git a/ACE/ace/Monitor_Control/Memory_Usage_Monitor.h b/ACE/ace/Monitor_Control/Memory_Usage_Monitor.h index 65f731e9d45..e7dd19db2a6 100644 --- a/ACE/ace/Monitor_Control/Memory_Usage_Monitor.h +++ b/ACE/ace/Monitor_Control/Memory_Usage_Monitor.h @@ -56,7 +56,7 @@ namespace ACE /// Stores the default name, used if none is supplied by the user. static const char* default_name (void); - + private: /// Overridden reset, calls platform-specific reset. virtual void clear_i (void); diff --git a/ACE/ace/Monitor_Control/Monitor_Group.h b/ACE/ace/Monitor_Control/Monitor_Group.h index 557170e2964..8f85734f825 100644 --- a/ACE/ace/Monitor_Control/Monitor_Group.h +++ b/ACE/ace/Monitor_Control/Monitor_Group.h @@ -44,7 +44,7 @@ namespace ACE void add_member (Monitor_Base* member); virtual void update (void); - + /// These are overridden to be no-ops. virtual void receive (double data); virtual void receive (size_t data); diff --git a/ACE/ace/Monitor_Control/Null_Network_Interface_Monitor.h b/ACE/ace/Monitor_Control/Null_Network_Interface_Monitor.h index 8aa4e79c7ae..3d6ea0a4064 100644 --- a/ACE/ace/Monitor_Control/Null_Network_Interface_Monitor.h +++ b/ACE/ace/Monitor_Control/Null_Network_Interface_Monitor.h @@ -44,7 +44,7 @@ namespace ACE /// Platform-specific implementation. void update_i (void); - + /// Platform-specific reset. void clear_impl (void); diff --git a/ACE/ace/Monitor_Control/Num_Threads_Monitor.h b/ACE/ace/Monitor_Control/Num_Threads_Monitor.h index 40607ff1ce3..53d13479ac2 100644 --- a/ACE/ace/Monitor_Control/Num_Threads_Monitor.h +++ b/ACE/ace/Monitor_Control/Num_Threads_Monitor.h @@ -62,7 +62,7 @@ namespace ACE /// Stores the default name, used if none is supplied by the user. static const char* default_name (void); - + private: /// Overridden reset, calls platform-specific reset. virtual void clear_i (void); diff --git a/ACE/ace/Monitor_Control/Packets_Received_Monitor.h b/ACE/ace/Monitor_Control/Packets_Received_Monitor.h index bda86565bff..47da6d7659a 100644 --- a/ACE/ace/Monitor_Control/Packets_Received_Monitor.h +++ b/ACE/ace/Monitor_Control/Packets_Received_Monitor.h @@ -31,7 +31,7 @@ #include "ace/Monitor_Control/Solaris_Network_Interface_Monitor.h" #elif defined (__FreeBSD__) || defined (__Lynx__) #include "ace/Monitor_Control/FreeBSD_Network_Interface_Monitor.h" -#elif defined (__NetBSD__) || defined (__OpenBSD__) +#elif defined (__NetBSD__) || defined (__OpenBSD__) #include "ace/Monitor_Control/BSD_Network_Interface_Monitor.h" #else #include "ace/Monitor_Control/Null_Network_Interface_Monitor.h" @@ -74,7 +74,7 @@ namespace ACE /// Stores the default name, used if none is supplied by the user. static const char* default_name (void); - + private: /// Overridden reset, calls platform-specific reset. virtual void clear_i (void); diff --git a/ACE/ace/Monitor_Control/Packets_Sent_Monitor.h b/ACE/ace/Monitor_Control/Packets_Sent_Monitor.h index 7643e4df798..8bb2c15ea34 100644 --- a/ACE/ace/Monitor_Control/Packets_Sent_Monitor.h +++ b/ACE/ace/Monitor_Control/Packets_Sent_Monitor.h @@ -31,7 +31,7 @@ #include "ace/Monitor_Control/Solaris_Network_Interface_Monitor.h" #elif defined (__FreeBSD__) || defined (__Lynx__) #include "ace/Monitor_Control/FreeBSD_Network_Interface_Monitor.h" -#elif defined (__NetBSD__) || defined (__OpenBSD__) +#elif defined (__NetBSD__) || defined (__OpenBSD__) #include "ace/Monitor_Control/BSD_Network_Interface_Monitor.h" #else #include "ace/Monitor_Control/Null_Network_Interface_Monitor.h" @@ -74,7 +74,7 @@ namespace ACE /// Stores the default name, used if none is supplied by the user. static const char* default_name (void); - + private: /// Overridden reset, calls platform-specific reset. virtual void clear_i (void); diff --git a/ACE/ace/Monitor_Control/Solaris_Network_Interface_Monitor.h b/ACE/ace/Monitor_Control/Solaris_Network_Interface_Monitor.h index 499227148cd..7fc974769ec 100644 --- a/ACE/ace/Monitor_Control/Solaris_Network_Interface_Monitor.h +++ b/ACE/ace/Monitor_Control/Solaris_Network_Interface_Monitor.h @@ -46,7 +46,7 @@ namespace ACE /// network information about the system. To get the specific /// value we want to monitor, we just vary the lookup string. Solaris_Network_Interface_Monitor (const ACE_TCHAR *lookup_str); - + /// Platform-specific implementation. void update_i (void); @@ -55,10 +55,10 @@ namespace ACE protected: ACE_UINT64 value_; - + private: /// Common code. - + void init (void); void access_kstats (ACE_UINT64 &which_member); int check_ks_module (const unsigned long ks_instance, @@ -66,7 +66,7 @@ namespace ACE const char *max_str, ACE_UINT64 *value_array, ACE_UINT64 &which_member); - + private: static const unsigned long MAX_LO_INTERFACES = 5UL; diff --git a/ACE/ace/Monitor_Control/Windows_Monitor.h b/ACE/ace/Monitor_Control/Windows_Monitor.h index 12c9f5733f5..9a00d24536e 100644 --- a/ACE/ace/Monitor_Control/Windows_Monitor.h +++ b/ACE/ace/Monitor_Control/Windows_Monitor.h @@ -53,7 +53,7 @@ namespace ACE protected: double value_; - + private: /// Code common to constructor and clear_impl(). void init (void); diff --git a/ACE/ace/OS_NS_stdio.h b/ACE/ace/OS_NS_stdio.h index e8b0fc589aa..b61170acc39 100644 --- a/ACE/ace/OS_NS_stdio.h +++ b/ACE/ace/OS_NS_stdio.h @@ -123,7 +123,7 @@ inline ACE_HANDLE ace_fileno_helper (FILE *fp) # endif /* defined (fileno) */ } #endif /* !ACE_FILENO_EQUIVALENT */ - + #if !defined (ACE_LACKS_CUSERID) && !defined(ACE_HAS_ALT_CUSERID) \ && !defined(ACE_WIN32) && !defined (ACE_VXWORKS) /// Helper for the ACE_OS::cuserid() function diff --git a/ACE/ace/QoS/QoS_Session.h b/ACE/ace/QoS/QoS_Session.h index 3e08bbc69ce..da426bc8eb3 100644 --- a/ACE/ace/QoS/QoS_Session.h +++ b/ACE/ace/QoS/QoS_Session.h @@ -52,7 +52,7 @@ public: RSVP_RESV_EVENT, RSVP_RESV_CONFIRM, RSVP_RESV_ERROR, - RSVP_PATH_ERROR + RSVP_PATH_ERROR }; /// A flag to indicate if this endpoint is a sender or a receiver or @@ -64,7 +64,7 @@ public: ACE_QOS_BOTH }; - + /// to shutup g++. virtual ~ACE_QoS_Session (void) {}; @@ -118,7 +118,7 @@ public: virtual void rsvp_event_type (RSVP_Event_Type event_type) = 0; ///Set the RAPI event that last occured - + virtual RSVP_Event_Type rsvp_event_type (void) = 0; ///Get the RAPI event that last occured @@ -137,10 +137,10 @@ public: //Set the source host virtual ACE_INET_Addr* source_addr (void) const = 0; - + /// Set the source port for this session. virtual void source_addr (ACE_INET_Addr* source_addr) = 0; - + /** * Returns the version of the underlying RSVP implementation. Is diff --git a/ACE/ace/QoS/QoS_Session_Impl.h b/ACE/ace/QoS/QoS_Session_Impl.h index a9ea0287540..14f2f6653db 100644 --- a/ACE/ace/QoS/QoS_Session_Impl.h +++ b/ACE/ace/QoS/QoS_Session_Impl.h @@ -115,7 +115,7 @@ public: //Set the source host virtual ACE_INET_Addr* source_addr (void) const; - + /// Set the source port for this session. virtual void source_addr (ACE_INET_Addr* source_addr); @@ -221,7 +221,7 @@ public: //Set the source host virtual ACE_INET_Addr* source_addr (void) const; - + /// Set the source port for this session. virtual void source_addr (ACE_INET_Addr* source_addr); diff --git a/ACE/ace/SSL/SSL_Asynch_Stream.h b/ACE/ace/SSL/SSL_Asynch_Stream.h index 1957c023468..29da8944cdc 100644 --- a/ACE/ace/SSL/SSL_Asynch_Stream.h +++ b/ACE/ace/SSL/SSL_Asynch_Stream.h @@ -306,13 +306,13 @@ protected: * * Check 1: * - * SSL clients that require a peer certificate must specify SSL_VERIFY_PEER + * SSL clients that require a peer certificate must specify SSL_VERIFY_PEER * via ACE_SSL_Context::default_verify_mode. If the peer sends an invalid * certificate, the SSL handshake will fail; however, if the peer does not - * send a certificate, the SSL handshake will complete successfully which + * send a certificate, the SSL handshake will complete successfully which * may not be acceptable. In this case, you must override this method in a * subclass and return false if the call to SSL_get_peer_certificate returns - * null. + * null. * * Check 2: * @@ -322,10 +322,10 @@ protected: * by your CA to usurp your session. For further info on this check, see * the post_connection_check method in Example 5-8 of 'Network Security with * OpenSSL' by Viega, et. al. - * + * * Return: - * - * false - Terminate the connection. Outstanding IO complete with ERR_CANCELED. + * + * false - Terminate the connection. Outstanding IO complete with ERR_CANCELED. * * true - Proceed with connection. The default implementation returns true. */ diff --git a/ACE/ace/SSL/SSL_SOCK_Stream.h b/ACE/ace/SSL/SSL_SOCK_Stream.h index f7a7da788bd..c3d8da6faed 100644 --- a/ACE/ace/SSL/SSL_SOCK_Stream.h +++ b/ACE/ace/SSL/SSL_SOCK_Stream.h @@ -233,7 +233,7 @@ public: int flags, const ACE_Time_Value *timeout, size_t *bytes_transferred = 0) const; - + /** * Try to receive exactly len bytes into buf (uses the recv() call). * The ACE_Time_Value indicates how long to blocking trying to diff --git a/ACE/ace/Stack_Trace.h b/ACE/ace/Stack_Trace.h index 2f5901c5220..b59ab98bba0 100644 --- a/ACE/ace/Stack_Trace.h +++ b/ACE/ace/Stack_Trace.h @@ -37,31 +37,31 @@ * A new conversion character, the question mark, was added to ACE_Log_Msg for stack * trace logging. The %? conversion character was added as a convenience so that users * need not instantiate an ACE_Stack_Trace instance solely for the purpose of printing - * it in an ACE logging message. The following are functionally equivalent: + * it in an ACE logging message. The following are functionally equivalent: * * \code - * ACE_DEBUG((LM_DEBUG, "%?")); + * ACE_DEBUG((LM_DEBUG, "%?")); * * ACE_Stack_Trace st; - * ACE_DEBUG ((LM_DEBUG, "%s", st.c_str() )); + * ACE_DEBUG ((LM_DEBUG, "%s", st.c_str() )); * \endcode * * These usage examples were shown in $ACE_ROOT/tests/Stack_Trace_Test.cpp. * * @note The stack trace functionality was currently supported on platforms: - * - Any platform using glibc as its runtime library, or where ACE_HAS_EXECINFO_H is defined + * - Any platform using glibc as its runtime library, or where ACE_HAS_EXECINFO_H is defined * (this covers Linux and Mac) and gcc version >= 3.3. * - VxWorks, both kernel and RTP * - Solaris * - Windows 32 and 64 bit (Visual C++, excluding WinCE/mobile) * - * @note Since stack trace buffer size has limitation(@c ACE_STACK_TRACE_SYMBUFSIZ), you will not - * get a complete stack trace if @c ACE_STACK_TRACE_SYMBUFSIZ value is less than actual stack - * trace data length. To get a complete stack trace, you need set @c ACE_STACK_TRACE_SYMBUFSIZ - * with a larger value that is enough for the stack trace data in your @c config.h file + * @note Since stack trace buffer size has limitation(@c ACE_STACK_TRACE_SYMBUFSIZ), you will not + * get a complete stack trace if @c ACE_STACK_TRACE_SYMBUFSIZ value is less than actual stack + * trace data length. To get a complete stack trace, you need set @c ACE_STACK_TRACE_SYMBUFSIZ + * with a larger value that is enough for the stack trace data in your @c config.h file * and rebuild ACE. * - * @note Using ACE logging mechanism (%?) to log the stack trace also has ACE_MAXLOGMSGLEN size limitation. + * @note Using ACE logging mechanism (%?) to log the stack trace also has ACE_MAXLOGMSGLEN size limitation. * To get a complete stack trace, you could use different output method. Following is an example. * * \code @@ -75,8 +75,8 @@ public: /** * @brief Grab a snapshot of the current stack trace and hold it for later use. * - * @param starting_frame_offset offset into the array of frames to start printing; 0 is the - * platform-specific offset for the first frame, positive numbers give less frames, negative give + * @param starting_frame_offset offset into the array of frames to start printing; 0 is the + * platform-specific offset for the first frame, positive numbers give less frames, negative give * more frames * @param num_frames the number of stack frames to include (0 indicates platform-specific maximum) * diff --git a/ACE/ace/Unbounded_Set.h b/ACE/ace/Unbounded_Set.h index 70a9f63e3f7..9a235126c08 100644 --- a/ACE/ace/Unbounded_Set.h +++ b/ACE/ace/Unbounded_Set.h @@ -50,7 +50,7 @@ public: // = Initialization method. ACE_Unbounded_Set_Iterator (ACE_Unbounded_Set<T> &s, bool end = false); - + ACE_Unbounded_Set_Iterator (const base_type &s); }; @@ -63,13 +63,13 @@ class ACE_Unbounded_Set_Const_Iterator : public ACE_Unbounded_Set_Ex_Const_Iterator<T, ACE_Unbounded_Set_Default_Comparator<T> > { public: - + typedef ACE_Unbounded_Set_Ex_Const_Iterator<T, ACE_Unbounded_Set_Default_Comparator<T> > base_type; - + // = Initialization method. ACE_Unbounded_Set_Const_Iterator (const ACE_Unbounded_Set<T> &s, bool end = false); - + ACE_Unbounded_Set_Const_Iterator (const base_type &s); }; diff --git a/ACE/ace/XtReactor/XtReactor.h b/ACE/ace/XtReactor/XtReactor.h index cf578ab55cd..ec6d7cf70e8 100644 --- a/ACE/ace/XtReactor/XtReactor.h +++ b/ACE/ace/XtReactor/XtReactor.h @@ -110,7 +110,7 @@ protected: /// Synchronize XtInputHandler for @a handle virtual void synchronize_XtInput(ACE_HANDLE handle); - /// Compute needed Xt condition by looking at base class wait set. + /// Compute needed Xt condition by looking at base class wait set. virtual int compute_Xt_condition(ACE_HANDLE handle); /// Wait for events to occur. diff --git a/ACE/ace/config-kfreebsd.h b/ACE/ace/config-kfreebsd.h index 32304399b9c..c1f54c60732 100644 --- a/ACE/ace/config-kfreebsd.h +++ b/ACE/ace/config-kfreebsd.h @@ -133,7 +133,7 @@ /* Define to 1 if platform has the <new.h> header file. */ #ifdef ACE_HAS_NEW_H -#undef ACE_HAS_NEW_H +#undef ACE_HAS_NEW_H #endif #ifndef ACE_LACKS_NEW_H diff --git a/ACE/ace/config-qnx-rtp.h b/ACE/ace/config-qnx-rtp.h index 513d6eb1b00..ea4c3902b60 100644 --- a/ACE/ace/config-qnx-rtp.h +++ b/ACE/ace/config-qnx-rtp.h @@ -2,8 +2,8 @@ // $Id$ // The following configuration file is designed to work for QNX RTP // GNU C++ and the POSIX (pthread) threads package. You can get QNX -// RTP at http://get.qnx.com. -// This header is intended to switch between configuration for +// RTP at http://get.qnx.com. +// This header is intended to switch between configuration for // various NTO versions. #ifndef ACE_CONFIG_QNX_RTP_H #define ACE_CONFIG_QNX_RTP_H diff --git a/ACE/ace/os_include/os_netdb.h b/ACE/ace/os_include/os_netdb.h index 217aa655c8c..9a53cf5dd54 100644 --- a/ACE/ace/os_include/os_netdb.h +++ b/ACE/ace/os_include/os_netdb.h @@ -40,7 +40,7 @@ extern "C" #if !defined (ACE_LACKS_NETDB_H) # include /**/ <netdb.h> #endif /* !ACE_LACKS_NETDB_H */ - + #if defined (ACE_LACKS_HOSTENT) struct hostent { char *h_name; /* official name of host */ |