diff options
Diffstat (limited to 'TAO/examples/Logging')
-rw-r--r-- | TAO/examples/Logging/Logger_i.cpp | 6 | ||||
-rw-r--r-- | TAO/examples/Logging/Logger_i.h | 6 | ||||
-rw-r--r-- | TAO/examples/Logging/Logging_Service_i.cpp | 8 | ||||
-rw-r--r-- | TAO/examples/Logging/Logging_Service_i.h | 10 | ||||
-rw-r--r-- | TAO/examples/Logging/Logging_Test_i.cpp | 12 | ||||
-rw-r--r-- | TAO/examples/Logging/Logging_Test_i.h | 12 |
6 files changed, 27 insertions, 27 deletions
diff --git a/TAO/examples/Logging/Logger_i.cpp b/TAO/examples/Logging/Logger_i.cpp index 765a792642e..c5157ae2c99 100644 --- a/TAO/examples/Logging/Logger_i.cpp +++ b/TAO/examples/Logging/Logger_i.cpp @@ -6,11 +6,11 @@ #include "ace/Log_Record.h" #include "ace/os_include/os_netdb.h" -Logger_Factory_i::Logger_Factory_i (void) +Logger_Factory_i::Logger_Factory_i () { } -Logger_Factory_i::~Logger_Factory_i (void) +Logger_Factory_i::~Logger_Factory_i () { } @@ -68,7 +68,7 @@ Logger_i::Logger_i (const char *name) // Do nothing } -Logger_i::~Logger_i (void) +Logger_i::~Logger_i () { ACE_OS::free (this->name_); } diff --git a/TAO/examples/Logging/Logger_i.h b/TAO/examples/Logging/Logger_i.h index 2b94f5ab540..3bb8414a11e 100644 --- a/TAO/examples/Logging/Logger_i.h +++ b/TAO/examples/Logging/Logger_i.h @@ -31,7 +31,7 @@ public: Logger_i (const char* name); /// destructor - virtual ~Logger_i (void); + virtual ~Logger_i (); /// Writes the <log_rec> to the standard output. virtual void log (const Logger::Log_Record &log_rec); @@ -82,10 +82,10 @@ class Logger_Factory_i : public virtual POA_Logger_Factory { public: /// Constructor. - Logger_Factory_i (void); + Logger_Factory_i (); /// Destructor. - ~Logger_Factory_i (void); + ~Logger_Factory_i (); /** * This function returns a logger with name <name>. If <name> is diff --git a/TAO/examples/Logging/Logging_Service_i.cpp b/TAO/examples/Logging/Logging_Service_i.cpp index 01068f6bfab..537c81cde11 100644 --- a/TAO/examples/Logging/Logging_Service_i.cpp +++ b/TAO/examples/Logging/Logging_Service_i.cpp @@ -1,14 +1,14 @@ #include "Logging_Service_i.h" #include "tao/debug.h" -Logger_Server::Logger_Server (void) +Logger_Server::Logger_Server () :service_name_ (ACE_TEXT("LoggingService")) { // Do nothing } int -Logger_Server::parse_args (void) +Logger_Server::parse_args () { ACE_Get_Opt get_opts (argc_, argv_, ACE_TEXT("dn:")); int c; @@ -112,7 +112,7 @@ Logger_Server::init_naming_service () } int -Logger_Server::run (void) +Logger_Server::run () { int ret = this->orb_manager_.run (); if (ret == -1) @@ -122,7 +122,7 @@ Logger_Server::run (void) return 0; } -Logger_Server::~Logger_Server (void) +Logger_Server::~Logger_Server () { // Do nothing } diff --git a/TAO/examples/Logging/Logging_Service_i.h b/TAO/examples/Logging/Logging_Service_i.h index 72aec50c78e..f5b07aab74f 100644 --- a/TAO/examples/Logging/Logging_Service_i.h +++ b/TAO/examples/Logging/Logging_Service_i.h @@ -43,17 +43,17 @@ class Logger_Server { public: /// Constructor. - Logger_Server (void); + Logger_Server (); /// Destructor. - ~Logger_Server (void); + ~Logger_Server (); /// Initialize the Logger_Server state - parsing arguments and ... int init (int argc, ACE_TCHAR **argv); /// Run the ORB. - int run (void); + int run (); /// This function creates and returns a logger with the given <name>. /// Currently, <name> is unused. @@ -61,11 +61,11 @@ public: private: /// Parses the commandline arguments. - int parse_args (void); + int parse_args (); /// Initialises the name server and registers logger_factory with the /// name server. - int init_naming_service (void); + int init_naming_service (); /// The ORB manager. TAO_ORB_Manager orb_manager_; diff --git a/TAO/examples/Logging/Logging_Test_i.cpp b/TAO/examples/Logging/Logging_Test_i.cpp index 86ce2bd23a2..60597175a72 100644 --- a/TAO/examples/Logging/Logging_Test_i.cpp +++ b/TAO/examples/Logging/Logging_Test_i.cpp @@ -10,13 +10,13 @@ #include "ace/OS_NS_sys_time.h" // Constructor - Logger_Client::Logger_Client (void) + Logger_Client::Logger_Client () { // Do nothing } // Destructor -Logger_Client::~Logger_Client (void) +Logger_Client::~Logger_Client () { // Do nothing } @@ -70,7 +70,7 @@ Logger_Client::init (int argc, ACE_TCHAR *argv[]) } int -Logger_Client::init_naming_service (void) +Logger_Client::init_naming_service () { // Initialize the naming services if (my_name_client_.init (orb_.in ()) != 0) @@ -124,7 +124,7 @@ Logger_Client::init_naming_service (void) } int -Logger_Client::init_loggers (void) +Logger_Client::init_loggers () { // Retrieve the Logger obj ref corresponding to key1 and // key2. @@ -174,7 +174,7 @@ Logger_Client::init_loggers (void) // Execute client example code. int -Logger_Client::run (void) +Logger_Client::run () { try { @@ -261,7 +261,7 @@ Logger_Client::run (void) // Parses the command line arguments and returns an error status. int -Logger_Client::parse_args (void) +Logger_Client::parse_args () { ACE_Get_Opt get_opts (argc_, argv_, ACE_TEXT("d")); int c; diff --git a/TAO/examples/Logging/Logging_Test_i.h b/TAO/examples/Logging/Logging_Test_i.h index 4ea1d598921..e151e38c9b4 100644 --- a/TAO/examples/Logging/Logging_Test_i.h +++ b/TAO/examples/Logging/Logging_Test_i.h @@ -41,20 +41,20 @@ class Logger_Client { public: /// Constructor. - Logger_Client (void); + Logger_Client (); /// Destructor. - ~Logger_Client (void); + ~Logger_Client (); /// Initialize the client communication endpoint with server. int init (int argc, ACE_TCHAR **argv); /// Execute client example code. - int run (void); + int run (); private: /// Parses the arguments passed on the command line. - int parse_args (void); + int parse_args (); /// Prepares the <Log_Record> for logging. void init_record (Logger::Log_Record &newrec, @@ -62,10 +62,10 @@ private: const char *msg); /// Initialises the name server and resolves the logger_factory - int init_naming_service (void); + int init_naming_service (); /// Instantiates the 2 logger member variables - int init_loggers (void); + int init_loggers (); /// Shows contents of the record (for debugging purposes). void show_record (Logger::Log_Record &newrec); |