Skip to content

Commit

Permalink
Refs #21279: Apply rev suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
  • Loading branch information
JesusPoderoso committed Jul 17, 2024
1 parent 3d8f83b commit 4548260
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
8 changes: 4 additions & 4 deletions examples/cpp/static_edp_discovery/CLIParser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

#include <fastdds/dds/log/Log.hpp>

#ifndef FASTDDS_STATIC_EDP_DISCOVERY_CLI_PARSER_HPP
#define FASTDDS_STATIC_EDP_DISCOVERY_CLI_PARSER_HPP
#ifndef FASTDDS_STATIC_EDP_DISCOVERY__CLIPARSER_HPP
#define FASTDDS_STATIC_EDP_DISCOVERY__CLIPARSER_HPP

namespace eprosima {
namespace fastdds {
Expand Down Expand Up @@ -71,7 +71,7 @@ class CLIParser
static void print_help(
uint8_t return_code)
{
std::cout << "Usage: static_edp_discovery <entity> [options]" << std::endl;
std::cout << "Usage: static_edp_discovery <entity> [options]" << std::endl;
std::cout << "" << std::endl;
std::cout << "Entities:" << std::endl;
std::cout << " publisher Run a publisher entity" << std::endl;
Expand Down Expand Up @@ -336,4 +336,4 @@ class CLIParser
} // namespace fastdds
} // namespace eprosima

#endif // FASTDDS_STATIC_EDP_DISCOVERY_CLI_PARSER_HPP
#endif // FASTDDS_STATIC_EDP_DISCOVERY__CLIPARSER_HPP
2 changes: 2 additions & 0 deletions examples/cpp/static_edp_discovery/PublisherApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <fastdds/rtps/transport/UDPv4TransportDescriptor.hpp>
#include <fastdds/rtps/transport/UDPv6TransportDescriptor.hpp>

#include "HelloWorldPubSubTypes.hpp"

using namespace eprosima::fastdds::dds;
using namespace eprosima::fastdds::rtps;

Expand Down
8 changes: 4 additions & 4 deletions examples/cpp/static_edp_discovery/PublisherApp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef FASTDDS_EXAMPLES_CPP_STATIC_EDP_DISCOVERY__PUBLISHER_APP_HPP
#define FASTDDS_EXAMPLES_CPP_STATIC_EDP_DISCOVERY__PUBLISHER_APP_HPP
#ifndef FASTDDS_EXAMPLES_CPP_STATIC_EDP_DISCOVERY__PUBLISHERAPP_HPP
#define FASTDDS_EXAMPLES_CPP_STATIC_EDP_DISCOVERY__PUBLISHERAPP_HPP

#include <condition_variable>

Expand All @@ -28,7 +28,7 @@

#include "Application.hpp"
#include "CLIParser.hpp"
#include "HelloWorldPubSubTypes.hpp"
#include "HelloWorld.hpp"

using namespace eprosima::fastdds::dds;

Expand Down Expand Up @@ -98,4 +98,4 @@ class PublisherApp : public Application, public DataWriterListener
} // namespace fastdds
} // namespace eprosima

#endif // FASTDDS_EXAMPLES_CPP_STATIC_EDP_DISCOVERY__PUBLISHER_APP_HPP
#endif // FASTDDS_EXAMPLES_CPP_STATIC_EDP_DISCOVERY__PUBLISHERAPP_HPP
8 changes: 4 additions & 4 deletions examples/cpp/static_edp_discovery/SubscriberApp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
*/

#ifndef FASTDDS_EXAMPLE_CPP_STATIC_EDP_DISCOVERY__SUBSCRIBER_APP_HPP
#define FASTDDS_EXAMPLE_CPP_STATIC_EDP_DISCOVERY__SUBSCRIBER_APP_HPP
#ifndef FASTDDS_EXAMPLE_CPP_STATIC_EDP_DISCOVERY__SUBSCRIBERAPP_HPP
#define FASTDDS_EXAMPLE_CPP_STATIC_EDP_DISCOVERY__SUBSCRIBERAPP_HPP

#include <condition_variable>

Expand All @@ -27,7 +27,7 @@
#include <fastdds/dds/topic/TypeSupport.hpp>

#include "CLIParser.hpp"
#include "HelloWorldPubSubTypes.hpp"
#include "HelloWorld.hpp"
#include "Application.hpp"

using namespace eprosima::fastdds::dds;
Expand Down Expand Up @@ -97,4 +97,4 @@ class SubscriberApp : public Application, public DataReaderListener
} // namespace fastdds
} // namespace eprosima

#endif // FASTDDS_EXAMPLE_CPP_STATIC_EDP_DISCOVERY__SUBSCRIBER_APP_HPP
#endif // FASTDDS_EXAMPLE_CPP_STATIC_EDP_DISCOVERY__SUBSCRIBERAPP_HPP

0 comments on commit 4548260

Please sign in to comment.