Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed redundant void #417

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ sender.
[source,c++]
--------------------------------------------------------------------
IDL::traits<Hello::CCM_MyFoo>::ref_type
Receiver_exec_i::get_do_my_foo (void)
Receiver_exec_i::get_do_my_foo ()
{  return CORBA::make_reference <do_my_foo_exec_i> (this->context_);
}
--------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ namespace Test_Receiver_Impl
/** @name User defined private operations. */
//@{
//@@{__RIDL_REGEN_MARKER__} - BEGIN : Test_Receiver_Impl::Receiver_exec_i[user_private_ops]
void start (void);
void start ();
//@@{__RIDL_REGEN_MARKER__} - END : Test_Receiver_Impl::Receiver_exec_i[user_private_ops]
//@}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ namespace Test_Sender_Impl
}

void
Sender_exec_i::calc_results (void)
Sender_exec_i::calc_results ()
{
if (this->iteration_nr_ == 0)
return; // ignore first iteration
Expand Down Expand Up @@ -654,7 +654,7 @@ namespace Test_Sender_Impl
}

void
Sender_exec_i::calculate_clock_overhead (void)
Sender_exec_i::calculate_clock_overhead ()
{
int num_of_loops_clock = 320;
uint64_t begin_time = 0;
Expand All @@ -669,7 +669,7 @@ namespace Test_Sender_Impl
}

void
Sender_exec_i::init_values (void)
Sender_exec_i::init_values ()
{
this->duration_times_.reset (new uint64_t[this->samples_]);
this->iteration_results_.reset (new IterationResult[this->iterations_]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,11 @@ namespace Test_Sender_Impl
/** @name User defined private operations. */
//@{
//@@{__RIDL_REGEN_MARKER__} - BEGIN : Test_Sender_Impl::Sender_exec_i[user_private_ops]
void start (void);
void calc_results (void);
void reset_results (void);
void init_values (void);
void calculate_clock_overhead (void);
void start ();
void calc_results ();
void reset_results ();
void init_values ();
void calculate_clock_overhead ();
void record_time (uint64_t receive_time);
//@@{__RIDL_REGEN_MARKER__} - END : Test_Sender_Impl::Sender_exec_i[user_private_ops]
//@}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ namespace Test_Receiver_Impl
/** @name User defined private operations. */
//@{
//@@{__RIDL_REGEN_MARKER__} - BEGIN : Test_Receiver_Impl::Receiver_exec_i[user_private_ops]
void start (void);
void start ();
//@@{__RIDL_REGEN_MARKER__} - END : Test_Receiver_Impl::Receiver_exec_i[user_private_ops]
//@}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ namespace Test_Sender_Impl
}

void
Sender_exec_i::calc_results (void)
Sender_exec_i::calc_results ()
{
if (this->iteration_nr_ == 0)
return; // ignore first iteration
Expand Down Expand Up @@ -515,7 +515,7 @@ namespace Test_Sender_Impl
}

void
Sender_exec_i::calculate_clock_overhead (void)
Sender_exec_i::calculate_clock_overhead ()
{
int num_of_loops_clock = 320;
uint64_t begin_time = 0;
Expand All @@ -530,7 +530,7 @@ namespace Test_Sender_Impl
}

void
Sender_exec_i::init_values (void)
Sender_exec_i::init_values ()
{
this->duration_times_.reset (new uint64_t[this->samples_]);
this->iteration_results_.reset (new IterationResult[this->iterations_]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ namespace Test_Sender_Impl
/** @name User defined private operations. */
//@{
//@@{__RIDL_REGEN_MARKER__} - BEGIN : Test_Sender_Impl::Sender_exec_i[user_private_ops]
void start (void);
void calc_results (void);
void reset_results (void);
void init_values (void);
void calculate_clock_overhead (void);
void start ();
void calc_results ();
void reset_results ();
void init_values ();
void calculate_clock_overhead ();
void record_time (uint64_t receive_time);
//@@{__RIDL_REGEN_MARKER__} - END : Test_Sender_Impl::Sender_exec_i[user_private_ops]
//@}
Expand Down
14 changes: 7 additions & 7 deletions ddsx11/tests/latency/sender/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ class TestExecutor
private:
void usage ();
bool parse_args (int argc, char * argv[]);
void calc_results (void);
void reset_results (void);
void init_values (void);
void calculate_clock_overhead (void);
void calc_results ();
void reset_results ();
void init_values ();
void calculate_clock_overhead ();
void record_time (uint64_t receive_time);
void start_publishing ();
void start ();
Expand Down Expand Up @@ -737,7 +737,7 @@ TestExecutor::reset_results()
}

void
TestExecutor::calc_results (void)
TestExecutor::calc_results ()
{
if (this->iteration_nr_ == 0)
return; // ignore first iteration
Expand Down Expand Up @@ -907,7 +907,7 @@ TestExecutor::record_time (uint64_t receive_time)
}

void
TestExecutor::calculate_clock_overhead (void)
TestExecutor::calculate_clock_overhead ()
{
int num_of_loops_clock = 320;
uint64_t begin_time = 0;
Expand All @@ -922,7 +922,7 @@ TestExecutor::calculate_clock_overhead (void)
}

void
TestExecutor::init_values (void)
TestExecutor::init_values ()
{
this->duration_times_.reset (new uint64_t[this->samples_]);
this->iteration_results_.reset (new IterationResult[this->iterations_]);
Expand Down
14 changes: 7 additions & 7 deletions ddsx11/tests/minimal_latency/sender/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ class TestExecutor
private:
void usage ();
bool parse_args (int argc, char * argv[]);
void calc_results (void);
void reset_results (void);
void init_values (void);
void calculate_clock_overhead (void);
void calc_results ();
void reset_results ();
void init_values ();
void calculate_clock_overhead ();
void record_time (uint64_t receive_time);
void start_publishing ();
void start ();
Expand Down Expand Up @@ -661,7 +661,7 @@ TestExecutor::reset_results()
}

void
TestExecutor::calc_results (void)
TestExecutor::calc_results ()
{
if (this->iteration_nr_ == 0)
return; // ignore first iteration
Expand Down Expand Up @@ -831,7 +831,7 @@ TestExecutor::record_time (uint64_t receive_time)
}

void
TestExecutor::calculate_clock_overhead (void)
TestExecutor::calculate_clock_overhead ()
{
int num_of_loops_clock = 320;
uint64_t begin_time = 0;
Expand All @@ -846,7 +846,7 @@ TestExecutor::calculate_clock_overhead (void)
}

void
TestExecutor::init_values (void)
TestExecutor::init_values ()
{
this->duration_times_.reset (new uint64_t[this->samples_]);
this->iteration_results_.reset (new IterationResult[this->iterations_]);
Expand Down