diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 18:44:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 18:44:09 +0100 |
commit | b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f (patch) | |
tree | f78fc5b7b2ea337ffc306a77223018fcc780e507 /ACE/ace/WIN32_Proactor.h | |
parent | 199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff) | |
parent | adc1dcda981a4c76612bedeba2dddb76aa272d6f (diff) | |
download | ATCD-b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f.tar.gz |
Merge pull request #1446 from jwillemsen/jwi-cpp11cleanup
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/WIN32_Proactor.h')
-rw-r--r-- | ACE/ace/WIN32_Proactor.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ACE/ace/WIN32_Proactor.h b/ACE/ace/WIN32_Proactor.h index e370ee08ddc..8ce6d744c25 100644 --- a/ACE/ace/WIN32_Proactor.h +++ b/ACE/ace/WIN32_Proactor.h @@ -57,10 +57,10 @@ public: bool used_with_reactor_event_loop = false); /// Virtual destruction. - virtual ~ACE_WIN32_Proactor (void); + virtual ~ACE_WIN32_Proactor (); /// Close the IO completion port. - virtual int close (void); + virtual int close (); /// This method adds the @a handle to the I/O completion port. This /// function is a no-op function for Unix systems. @@ -81,7 +81,7 @@ public: * completion is dispatched, non-zero (-1) on errors and errno is * set accordingly. */ - virtual int handle_events (void); + virtual int handle_events (); /** * Post a result to the completion port of the Proactor. If errors @@ -94,13 +94,13 @@ public: virtual int post_completion (ACE_WIN32_Asynch_Result *result); /// Add wakeup dispatch threads (reinit). - int wake_up_dispatch_threads (void); + int wake_up_dispatch_threads (); /// Close all dispatch threads. int close_dispatch_threads (int wait); /// Get number of thread used as a parameter to @c CreateIoCompletionPort. - size_t number_of_threads (void) const; + size_t number_of_threads () const; /// Set number of thread used as a parameter to @c CreateIoCompletionPort. void number_of_threads (size_t threads); @@ -108,15 +108,15 @@ public: /// Get the event handle. virtual ACE_HANDLE get_handle (void) const; - virtual ACE_Asynch_Read_Stream_Impl *create_asynch_read_stream (void); - virtual ACE_Asynch_Write_Stream_Impl *create_asynch_write_stream (void); - virtual ACE_Asynch_Read_File_Impl *create_asynch_read_file (void); - virtual ACE_Asynch_Write_File_Impl *create_asynch_write_file (void); - virtual ACE_Asynch_Read_Dgram_Impl *create_asynch_read_dgram (void); - virtual ACE_Asynch_Write_Dgram_Impl *create_asynch_write_dgram (void); - virtual ACE_Asynch_Accept_Impl *create_asynch_accept (void); - virtual ACE_Asynch_Connect_Impl *create_asynch_connect (void); - virtual ACE_Asynch_Transmit_File_Impl *create_asynch_transmit_file (void); + virtual ACE_Asynch_Read_Stream_Impl *create_asynch_read_stream (); + virtual ACE_Asynch_Write_Stream_Impl *create_asynch_write_stream (); + virtual ACE_Asynch_Read_File_Impl *create_asynch_read_file (); + virtual ACE_Asynch_Write_File_Impl *create_asynch_write_file (); + virtual ACE_Asynch_Read_Dgram_Impl *create_asynch_read_dgram (); + virtual ACE_Asynch_Write_Dgram_Impl *create_asynch_write_dgram (); + virtual ACE_Asynch_Accept_Impl *create_asynch_accept (); + virtual ACE_Asynch_Connect_Impl *create_asynch_connect (); + virtual ACE_Asynch_Transmit_File_Impl *create_asynch_transmit_file (); // Methods used to create Asynch_IO_Result objects. We create the right // objects here in these methods. @@ -227,7 +227,7 @@ public: protected: /// Task to process pseudo-asynchronous operations - ACE_Asynch_Pseudo_Task & get_asynch_pseudo_task (void); + ACE_Asynch_Pseudo_Task & get_asynch_pseudo_task (); /// Called when object is signaled by OS (either via UNIX signals or /// when a Win32 object becomes signaled). |