diff options
Diffstat (limited to 'ACE/ace/Local_Tokens.h')
-rw-r--r-- | ACE/ace/Local_Tokens.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ACE/ace/Local_Tokens.h b/ACE/ace/Local_Tokens.h index c420cf92e9e..2df0c741dff 100644 --- a/ACE/ace/Local_Tokens.h +++ b/ACE/ace/Local_Tokens.h @@ -125,19 +125,19 @@ public: void operator= (const ACE_TPQ_Entry &rhs); /// Get top of the queue. - ACE_Token_Proxy *proxy (void) const; + ACE_Token_Proxy *proxy () const; /// Set top of the queue. void proxy (ACE_Token_Proxy *); /// Get nesting level of the entry. - int nesting_level (void) const; + int nesting_level () const; /// Delta nesting level of the entry. void nesting_level (int delta); /// Get client_id of the entry. - const ACE_TCHAR *client_id (void) const; + const ACE_TCHAR *client_id () const; /// Set client_id of the entry. void client_id (const ACE_TCHAR *); @@ -152,7 +152,7 @@ public: void sleep_hook (void (*sh)(void *)); /// Get sleep hook of the entry. - PTVF sleep_hook (void) const; + PTVF sleep_hook () const; /// Call the sleep hook function or method passing arg. void call_sleep_hook (void); @@ -168,7 +168,7 @@ public: ACE_TPQ_Entry *next_; /// Get whether this client is blocked waiting for a token. - int waiting (void) const; + int waiting () const; /// Set whether this client is blocked waiting for a token. void waiting (int w); @@ -219,7 +219,7 @@ public: virtual ~ACE_TSS_TPQ_Entry (void); /// Allows us to pass args to the construction of the TSS object. - virtual ACE_TPQ_Entry *make_TSS_TYPE (void) const; + virtual ACE_TPQ_Entry *make_TSS_TYPE () const; /// Operator overloading and inheritance don't mix. operator ACE_TPQ_Entry *(void); @@ -272,7 +272,7 @@ public: int next (ACE_TPQ_Entry *&next_item); /// Returns 1 when all items have been seen, else 0. - int done (void) const; + int done () const; /// Move forward by one element in the queue. void advance (void); @@ -445,7 +445,7 @@ public: * ACE_Token_Request so that the type of a token can be sent to a * remote Token Server. */ - virtual int type (void) const = 0; + virtual int type () const = 0; // = The following methods allow the deadlock detection algorithm to // check if this token has been visited. @@ -553,7 +553,7 @@ public: void dump () const; /// Returns ACE_Tokens::MUTEX. - virtual int type (void) const; + virtual int type () const; /// Returns a stack of the current owners. Returns -1 on error, 0 on /// success. If @a id is non-zero, returns 1 if id is an owner. @@ -651,7 +651,7 @@ public: enum PROXY_TYPE { READER, WRITER }; /// Returns READER or WRITER. - virtual int type (void) const; + virtual int type () const; /// Returns a stack of the current owners. Returns -1 on error, 0 on /// success. If @a id is non-zero, returns 1 if id is an owner. @@ -705,7 +705,7 @@ public: bool operator== (const ACE_Token_Name &rhs) const; /// Get the token name. - const ACE_TCHAR *name (void) const; + const ACE_TCHAR *name () const; /// Set the token name. void name (const ACE_TCHAR *new_name); @@ -823,7 +823,7 @@ public: /// Get the client id of the proxy. This is implemented as /// thread-specific data. - virtual const ACE_TCHAR *client_id (void) const; + virtual const ACE_TCHAR *client_id () const; /** * Set the client_id for the calling thread. I strongly recommend @@ -840,7 +840,7 @@ public: * So, for instance, the token within the reactor should probably be * called "Reactor Token." */ - virtual const ACE_TCHAR *name (void) const; + virtual const ACE_TCHAR *name () const; /** * This should really be called <someone_waiting>. This is called @@ -857,7 +857,7 @@ public: virtual const ACE_TCHAR *owner_id (void); /// Return a dynamically allocated clone of the derived class. - virtual ACE_Token_Proxy *clone (void) const = 0; + virtual ACE_Token_Proxy *clone () const = 0; /// Dump the state of the class. void dump () const; @@ -868,7 +868,7 @@ public: * should return a different type value than a Writer proxy. The * default implementation returns 0. */ - virtual int type (void) const; + virtual int type () const; protected: /// Duplication. @@ -937,7 +937,7 @@ public: ACE_Synch_Options::defaults) { return 0; } /// Return a dynamically allocated clone of the derived class. - virtual ACE_Token_Proxy *clone (void) const { return new ACE_Null_Token; } + virtual ACE_Token_Proxy *clone () const { return new ACE_Null_Token; } /// Dump the state of the class. void dump () const; @@ -985,7 +985,7 @@ public: void dump () const; /// Return deep copy. - virtual ACE_Token_Proxy *clone (void) const; + virtual ACE_Token_Proxy *clone () const; protected: /// Return a new ACE_Local_Mutex. @@ -1037,10 +1037,10 @@ public: void dump () const; /// Returns ACE_RW_Token::RLOCK. - virtual int type (void) const; + virtual int type () const; /// Return deep copy. - virtual ACE_Token_Proxy *clone (void) const; + virtual ACE_Token_Proxy *clone () const; protected: /// Return a new ACE_Local_Mutex. |