diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/ESF')
19 files changed, 57 insertions, 57 deletions
diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Busy_Lock.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Busy_Lock.h index c41ef28f1a6..b7cc48b1a54 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Busy_Lock.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Busy_Lock.h @@ -49,14 +49,14 @@ public: * Check the documentation in ace/Synch.h for details. */ //@{ - int remove (void); - int acquire (void); - int tryacquire (void); - int release (void); - int acquire_read (void); - int acquire_write (void); - int tryacquire_read (void); - int tryacquire_write (void); + int remove (); + int acquire (); + int tryacquire (); + int release (); + int acquire_read (); + int acquire_write (); + int tryacquire_read (); + int tryacquire_write (); //@} private: diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.h index 0aa25211104..36578eb57e5 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Read.h @@ -36,7 +36,7 @@ class TAO_ESF_Copy_On_Read : public TAO_ESF_Proxy_Collection<PROXY> { public: /// Constructors - TAO_ESF_Copy_On_Read (void); + TAO_ESF_Copy_On_Read (); TAO_ESF_Copy_On_Read (const COLLECTION &collection); // = The TAO_ESF_Proxy_Collection methods @@ -44,7 +44,7 @@ public: virtual void connected (PROXY *proxy); virtual void reconnected (PROXY *proxy); virtual void disconnected (PROXY *proxy); - virtual void shutdown (void); + virtual void shutdown (); private: COLLECTION collection_; diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Write.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Write.h index 20d105bb85f..dddaf15ebc8 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Write.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Copy_On_Write.h @@ -25,13 +25,13 @@ template<class COLLECTION, class ITERATOR> class TAO_ESF_Copy_On_Write_Collection { public: - TAO_ESF_Copy_On_Write_Collection (void); + TAO_ESF_Copy_On_Write_Collection (); /// Increment the reference count - CORBA::ULong _incr_refcnt (void); + CORBA::ULong _incr_refcnt (); /// Decrement the reference count - CORBA::ULong _decr_refcnt (void); + CORBA::ULong _decr_refcnt (); /// The actual collection COLLECTION collection; @@ -62,7 +62,7 @@ public: Collection *&collection); /// Destructor - ~TAO_ESF_Copy_On_Write_Read_Guard (void); + ~TAO_ESF_Copy_On_Write_Read_Guard (); Collection *collection; @@ -94,7 +94,7 @@ public: Collection*& collection); /// Destructor - ~TAO_ESF_Copy_On_Write_Write_Guard (void); + ~TAO_ESF_Copy_On_Write_Write_Guard (); Collection *copy; @@ -124,17 +124,17 @@ public: /// Constructor typedef TAO_ESF_Copy_On_Write_Read_Guard<COLLECTION,ITERATOR,ACE_SYNCH_MUTEX_T> Read_Guard; typedef TAO_ESF_Copy_On_Write_Write_Guard<COLLECTION,ITERATOR,ACE_SYNCH_USE> Write_Guard; - TAO_ESF_Copy_On_Write (void); + TAO_ESF_Copy_On_Write (); /// Destructor - ~TAO_ESF_Copy_On_Write (void); + ~TAO_ESF_Copy_On_Write (); // = The TAO_ESF_Proxy methods virtual void for_each (TAO_ESF_Worker<PROXY> *worker); virtual void connected (PROXY *proxy); virtual void reconnected (PROXY *proxy); virtual void disconnected (PROXY *proxy); - virtual void shutdown (void); + virtual void shutdown (); private: typedef TAO_ESF_Copy_On_Write_Collection<COLLECTION,ITERATOR> Collection; diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.cpp b/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.cpp index 5052c34c873..b1dcefda33e 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.cpp +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.cpp @@ -21,7 +21,7 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL template<class PROXY, class COLLECTION, class ITERATOR, ACE_SYNCH_DECL> TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>:: - TAO_ESF_Delayed_Changes (void) + TAO_ESF_Delayed_Changes () : lock_ (this), busy_cond_ (busy_lock_), busy_count_ (0), @@ -61,7 +61,7 @@ TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>:: template<class PROXY, class COLLECTION, class ITERATOR, ACE_SYNCH_DECL> int TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>:: - busy (void) + busy () { ACE_GUARD_RETURN (ACE_SYNCH_MUTEX_T, ace_mon, this->busy_lock_, -1); @@ -75,7 +75,7 @@ TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>:: template<class PROXY, class COLLECTION, class ITERATOR, ACE_SYNCH_DECL> int TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>:: - idle (void) + idle () { ACE_GUARD_RETURN (ACE_SYNCH_MUTEX_T, ace_mon, this->busy_lock_, -1); @@ -91,7 +91,7 @@ TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>:: template<class PROXY, class COLLECTION, class ITERATOR, ACE_SYNCH_DECL> int TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>:: - execute_delayed_operations (void) + execute_delayed_operations () { while (!this->command_queue_.is_empty ()) { @@ -177,7 +177,7 @@ TAO_ESF_Delayed_Changes<PROXY,C,I,ACE_SYNCH_USE>:: } template<class PROXY, class C, class I,ACE_SYNCH_DECL> void -TAO_ESF_Delayed_Changes<PROXY,C,I,ACE_SYNCH_USE>::shutdown (void) +TAO_ESF_Delayed_Changes<PROXY,C,I,ACE_SYNCH_USE>::shutdown () { ACE_GUARD_THROW_EX (ACE_SYNCH_MUTEX_T, ace_mon, this->busy_lock_, CORBA::INTERNAL ()); diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.h index 31aa6471b07..c3e9f8e40d0 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.h @@ -86,17 +86,17 @@ template<class PROXY, class COLLECTION, class ITERATOR, ACE_SYNCH_DECL> class TAO_ESF_Delayed_Changes : public TAO_ESF_Proxy_Collection<PROXY> { public: - TAO_ESF_Delayed_Changes (void); + TAO_ESF_Delayed_Changes (); TAO_ESF_Delayed_Changes (const COLLECTION &collection); - int busy (void); - int idle (void); - int execute_delayed_operations (void); + int busy (); + int idle (); + int execute_delayed_operations (); void connected_i (PROXY *proxy); void reconnected_i (PROXY *proxy); void disconnected_i (PROXY *proxy); - void shutdown_i (void); + void shutdown_i (); typedef TAO_ESF_Connected_Command<TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>,PROXY> Connected_Command; typedef TAO_ESF_Reconnected_Command<TAO_ESF_Delayed_Changes<PROXY,COLLECTION,ITERATOR,ACE_SYNCH_USE>,PROXY> Reconnected_Command; @@ -108,7 +108,7 @@ public: virtual void connected (PROXY *proxy); virtual void reconnected (PROXY *proxy); virtual void disconnected (PROXY *proxy); - virtual void shutdown (void); + virtual void shutdown (); private: COLLECTION collection_; diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.inl b/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.inl index 55fee94e3e6..0732a41bff2 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.inl +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Delayed_Changes.inl @@ -24,7 +24,7 @@ TAO_ESF_Delayed_Changes<PROXY,C,I,ACE_SYNCH_USE>:: template<class PROXY, class C, class I,ACE_SYNCH_DECL> void TAO_ESF_Delayed_Changes<PROXY,C,I,ACE_SYNCH_USE>:: - shutdown_i (void) + shutdown_i () { this->collection_.shutdown (); } diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.cpp b/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.cpp index 37765884ca4..6a0a8a4c03b 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.cpp +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.cpp @@ -15,7 +15,7 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL template<class PROXY, class C, class ITERATOR, class ACE_LOCK> TAO_ESF_Immediate_Changes<PROXY,C,ITERATOR,ACE_LOCK>:: - TAO_ESF_Immediate_Changes (void) + TAO_ESF_Immediate_Changes () { } diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.h index f1958c0680e..5f46da59d2a 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.h @@ -27,7 +27,7 @@ template<class PROXY, class COLLECTION, class ITERATOR, class ACE_LOCK> class TAO_ESF_Immediate_Changes : public TAO_ESF_Proxy_Collection<PROXY> { public: - TAO_ESF_Immediate_Changes (void); + TAO_ESF_Immediate_Changes (); TAO_ESF_Immediate_Changes (const COLLECTION &collection); // = The TAO_ESF_Proxy methods @@ -35,7 +35,7 @@ public: virtual void connected (PROXY *proxy); virtual void reconnected (PROXY *proxy); virtual void disconnected (PROXY *proxy); - virtual void shutdown (void); + virtual void shutdown (); private: COLLECTION collection_; diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.inl b/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.inl index 3dc79d8bdd7..469b999f73e 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.inl +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Immediate_Changes.inl @@ -33,7 +33,7 @@ TAO_ESF_Immediate_Changes<PROXY,COLLECTION,ITERATOR,ACE_LOCK>:: } template<class PROXY, class COLLECTION, class ITERATOR, class ACE_LOCK> void -TAO_ESF_Immediate_Changes<PROXY,COLLECTION,ITERATOR,ACE_LOCK>::shutdown (void) +TAO_ESF_Immediate_Changes<PROXY,COLLECTION,ITERATOR,ACE_LOCK>::shutdown () { ACE_GUARD (ACE_LOCK, ace_mon, this->lock_); diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Admin.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Admin.h index 54672a13ca8..eb2b2fbc583 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Admin.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Admin.h @@ -60,7 +60,7 @@ public: TAO_ESF_Peer_Admin (EVENT_CHANNEL *ec); /// destructor - virtual ~TAO_ESF_Peer_Admin (void); + virtual ~TAO_ESF_Peer_Admin (); /** * A <peer> has connected, this is invoked when the peer's client diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.h index 45819a38f1f..ceb4b3ab3f3 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Admin.h @@ -66,7 +66,7 @@ public: TAO_ESF_Proxy_Admin (EVENT_CHANNEL *ec); /// Cleanup internal resources, destroy the internal collection - virtual ~TAO_ESF_Proxy_Admin (void); + virtual ~TAO_ESF_Proxy_Admin (); /// Iterate over its internal collection. void for_each (TAO_ESF_Worker<PROXY> *worker); @@ -78,14 +78,14 @@ public: // code is supposed to run under TAO only. /// Create a new PROXY and activate it. virtual INTERFACE* - obtain (void); + obtain (); /** * The Event Channel that owns this Admin object is going * down. Invoke <shutdown> on all the proxies, cleanup the * collection and prepare to terminate. */ - virtual void shutdown (void); + virtual void shutdown (); /** * A <proxy> has connected, this is invoked when the proxy's client diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Collection.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Collection.h index 3250eee56ad..b486e13f02f 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Collection.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_Collection.h @@ -125,7 +125,7 @@ class TAO_ESF_Proxy_Collection { public: /// destructor - virtual ~TAO_ESF_Proxy_Collection (void); + virtual ~TAO_ESF_Proxy_Collection (); /** * Iterate over the collection and invoke worker->work() for each @@ -151,7 +151,7 @@ public: virtual void disconnected (PROXY *proxy) = 0; /// The EC is shutting down, must release all the elements. - virtual void shutdown (void) = 0; + virtual void shutdown () = 0; }; // **************************************************************** diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_List.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_List.h index fe241694268..fbd79d670a7 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_List.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_List.h @@ -38,17 +38,17 @@ public: typedef ACE_Unbounded_Set_Iterator<PROXY*> Iterator; /// Constructor - TAO_ESF_Proxy_List (void); + TAO_ESF_Proxy_List (); /// Return the first element in the collection, or end() if there /// are none - ACE_Unbounded_Set_Iterator<PROXY*> begin (void); + ACE_Unbounded_Set_Iterator<PROXY*> begin (); /// Return one past the last element in the collection - ACE_Unbounded_Set_Iterator<PROXY*> end (void); + ACE_Unbounded_Set_Iterator<PROXY*> end (); /// Return the number of elements in the collection - size_t size (void) const; + size_t size () const; /// Insert a new element to the collection void connected (PROXY *); @@ -61,7 +61,7 @@ public: /// Shutdown the collection, i.e. remove all elements and release /// resources - void shutdown (void); + void shutdown (); private: /// The underlying implementation object diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_RB_Tree.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_RB_Tree.h index aa2e1c1fea7..089f7caaf71 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_RB_Tree.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_RB_Tree.h @@ -37,9 +37,9 @@ public: bool operator == (const TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> &rhs) const; bool operator != (const TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> &rhs) const; - TAO_ESF_Proxy_RB_Tree_Iterator<PROXY>& operator++ (void); + TAO_ESF_Proxy_RB_Tree_Iterator<PROXY>& operator++ (); TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> operator++ (int); - PROXY *operator *(void); + PROXY *operator *(); private: Implementation impl_; @@ -66,17 +66,17 @@ public: typedef TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> Iterator; /// Constructor - TAO_ESF_Proxy_RB_Tree (void); + TAO_ESF_Proxy_RB_Tree (); /// Return the first element in the collection, or end() if there /// are none - TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> begin (void); + TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> begin (); /// Return one past the last element in the collection - TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> end (void); + TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> end (); /// Return the number of elements in the collection - size_t size (void) const; + size_t size () const; /// Insert a new element to the collection void connected (PROXY *); @@ -88,7 +88,7 @@ public: /// Shutdown the collection, i.e. remove all elements and release /// resources - void shutdown (void); + void shutdown (); private: /// The underlying implementation object diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_RefCount_Guard.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_RefCount_Guard.h index 68e677e3a7b..0b4607fe62b 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_RefCount_Guard.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Proxy_RefCount_Guard.h @@ -46,7 +46,7 @@ public: PROXY *proxy); /// Destructor - ~TAO_ESF_Proxy_RefCount_Guard (void); + ~TAO_ESF_Proxy_RefCount_Guard (); protected: /// The reference count, if it gets to zero then the object must be diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_RefCount_Guard.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_RefCount_Guard.h index 49ae0dcf666..61873a0de55 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_RefCount_Guard.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_RefCount_Guard.h @@ -41,7 +41,7 @@ public: TAO_ESF_RefCount_Guard (T &refcount); /// Destructor - ~TAO_ESF_RefCount_Guard (void); + ~TAO_ESF_RefCount_Guard (); protected: /// The reference count diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.h index a31b76e630f..efea73b2dcc 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.h @@ -25,7 +25,7 @@ template<class PROXY> class TAO_ESF_Shutdown_Proxy : public TAO_ESF_Worker<PROXY> { public: - TAO_ESF_Shutdown_Proxy (void); + TAO_ESF_Shutdown_Proxy (); void work (PROXY *proxy); }; diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.inl b/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.inl index 416d6e7dd6f..86e1ef6ccb0 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.inl +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.inl @@ -2,7 +2,7 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL template<class PROXY> ACE_INLINE -TAO_ESF_Shutdown_Proxy<PROXY>::TAO_ESF_Shutdown_Proxy (void) +TAO_ESF_Shutdown_Proxy<PROXY>::TAO_ESF_Shutdown_Proxy () { } diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Worker.h b/TAO/orbsvcs/orbsvcs/ESF/ESF_Worker.h index e0d44d16751..fe8b04411b8 100644 --- a/TAO/orbsvcs/orbsvcs/ESF/ESF_Worker.h +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Worker.h @@ -41,7 +41,7 @@ template<class Object> class TAO_ESF_Worker { public: - virtual ~TAO_ESF_Worker (void); + virtual ~TAO_ESF_Worker (); /// Used by the collection to inform the worker /// the number of proxies in the collection. |