Skip to content

Commit

Permalink
Removed redundant void
Browse files Browse the repository at this point in the history
    * connectors/ami4ccm/tutorials/hello/tutorial/src/tutorials/hello/ami4ccm_tutorial.adoc:
    * connectors/dds4ccm/tests/latency/components/sender/latency_sender_exec.cpp:
    * connectors/dds4ccm/tests/latency/components/sender/latency_sender_exec.h:
    * connectors/psdd4ccm/tests/latency/components/receiver/latency_receiver_exec.h:
    * connectors/psdd4ccm/tests/latency/components/sender/latency_sender_exec.cpp:
    * connectors/psdd4ccm/tests/latency/components/sender/latency_sender_exec.h:
    * ddsx11/tests/latency/sender/main.cpp:
    * ddsx11/tests/minimal_latency/sender/main.cpp:
  • Loading branch information
jwillemsen committed Nov 17, 2023
1 parent e5cfcad commit d9ca0f4
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 29 deletions.
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 @@ -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
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 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

0 comments on commit d9ca0f4

Please sign in to comment.