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

ign -> gz Namespace Migration : gz-transport #311

Merged
merged 28 commits into from
May 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
b7723c3
Update header guards
methylDragon May 18, 2022
481885c
Migrate namespaces
methylDragon May 18, 2022
2abe365
Add migration line
methylDragon May 18, 2022
9796364
Implement deprecation trick
methylDragon May 18, 2022
12e202b
Add deprecation test
methylDragon May 18, 2022
a8e9431
Include config.hh
methylDragon May 18, 2022
2ee6c0c
Use pragma deprecation message instead
methylDragon May 19, 2022
c315bb8
Ticktock config macros
methylDragon May 19, 2022
1546644
Fix migration
methylDragon May 19, 2022
7129e27
Migrate inline namespaces
methylDragon May 20, 2022
56c1ae6
Migrate includes to gz
methylDragon May 20, 2022
1e9b32d
Mention gz headers in migration
methylDragon May 20, 2022
6ebd9b9
Update config.hh
methylDragon May 20, 2022
3a68528
Migrate Export.hh macros and update deprecated test
methylDragon May 20, 2022
362c080
Support gz-msgs hard-tock and update more macros
methylDragon May 20, 2022
8363110
Migrate github links
methylDragon May 20, 2022
6989bf0
Migrate user-facing Ignition to Gazebo
methylDragon May 20, 2022
f0d3c02
Migrate "ignition.msgs" -> "gz.msgs"
methylDragon May 21, 2022
0fcf37e
Include config.hh in recursive directories and <lib>.hh
methylDragon May 22, 2022
f1a06af
Include config.hh in .h and .hpp redirection headers
methylDragon May 22, 2022
3de2277
`Gazebo Robotics` -> `Gazebo`
methylDragon May 23, 2022
de43793
`ignitionrobotics` -> `gazebosim`
methylDragon May 23, 2022
06a1686
Rollback osrf-migration.github.io migrations
methylDragon May 24, 2022
53f081c
Migrate Ignition's -> Gazebo's
methylDragon May 25, 2022
a5bfed8
Tick-tock IGN_TRANSPORT_LOG_SQL_PATH
methylDragon May 25, 2022
7887884
Wording changes
methylDragon May 25, 2022
2d73ee6
Tick-tock usage of GZ_TRANSPORT_LOG_SQL_PATH
methylDragon May 26, 2022
f4deacb
Fix linting errors
methylDragon May 29, 2022
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
Prev Previous commit
Next Next commit
Migrate inline namespaces
Signed-off-by: methylDragon <[email protected]>
methylDragon committed May 20, 2022
commit 7129e272fc842b857f5f420d0e8692cb3a041c36
2 changes: 1 addition & 1 deletion include/gz/transport/AdvertiseOptions.hh
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Forward declarations.
class AdvertiseOptionsPrivate;
2 changes: 1 addition & 1 deletion include/gz/transport/Clock.hh
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
//////////////////////////////////////////////////
/// \brief A Clock interface for time tracking
2 changes: 1 addition & 1 deletion include/gz/transport/Discovery.hh
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
/// \brief Options for sending discovery messages.
enum class DestinationType
{
2 changes: 1 addition & 1 deletion include/gz/transport/HandlerStorage.hh
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \class HandlerStorage HandlerStorage.hh
/// gz/transport/HandlerStorage.hh
2 changes: 1 addition & 1 deletion include/gz/transport/Helpers.hh
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief Constant used when not interested in throttling.
static const uint64_t kUnthrottled = std::numeric_limits<uint64_t>::max();
2 changes: 1 addition & 1 deletion include/gz/transport/MessageInfo.hh
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
class MessageInfoPrivate;

2 changes: 1 addition & 1 deletion include/gz/transport/NetUtils.hh
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief Determine if an IP is private.
/// Reference: https://github.com/ros/ros_comm/blob/hydro-devel/clients/
2 changes: 1 addition & 1 deletion include/gz/transport/Node.hh
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Forward declarations.
class NodePrivate;
2 changes: 1 addition & 1 deletion include/gz/transport/NodeOptions.hh
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Forward declarations.
class NodeOptionsPrivate;
2 changes: 1 addition & 1 deletion include/gz/transport/NodeShared.hh
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Forward declarations.
class Node;
2 changes: 1 addition & 1 deletion include/gz/transport/Packet.hh
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Message types.
static const uint8_t Uninitialized = 0;
2 changes: 1 addition & 1 deletion include/gz/transport/Publisher.hh
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Forward declarations.
class MessagePublisherPrivate;
2 changes: 1 addition & 1 deletion include/gz/transport/RepHandler.hh
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \class IRepHandler RepHandler.hh gz/transport/RepHandler.hh
/// \brief Interface class used to manage a replier handler.
2 changes: 1 addition & 1 deletion include/gz/transport/ReqHandler.hh
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \class IReqHandler ReqHandler.hh gz/transport/ReqHandler.hh
/// \brief Interface class used to manage a request handler.
2 changes: 1 addition & 1 deletion include/gz/transport/SubscribeOptions.hh
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
class SubscribeOptionsPrivate;

2 changes: 1 addition & 1 deletion include/gz/transport/SubscriptionHandler.hh
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief SubscriptionHandlerBase contains functions and data which are
/// common to all SubscriptionHandler types.
2 changes: 1 addition & 1 deletion include/gz/transport/TopicStatistics.hh
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Forward declarations.
class TopicStatisticsPrivate;
2 changes: 1 addition & 1 deletion include/gz/transport/TopicStorage.hh
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \class TopicStorage TopicStorage.hh gz/transport/TopicStorage.hh
/// \brief Store address information about topics and provide convenient
2 changes: 1 addition & 1 deletion include/gz/transport/TopicUtils.hh
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \class TopicUtils TopicUtils.hh gz/transport/TopicUtils.hh
/// \brief This class provides different utilities related with topics.
2 changes: 1 addition & 1 deletion include/gz/transport/TransportTypes.hh
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief Forward declarations.
class IRepHandler;
2 changes: 1 addition & 1 deletion include/gz/transport/Uuid.hh
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ namespace gz
namespace transport
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \class Uuid Uuid.hh gz/transport/Uuid.hh
/// \brief A portable class for representing a Universally Unique Identifier
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Batch.hh
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief Forward declaration
class BatchPrivate;
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Descriptor.hh
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Forward declaration
class Log;
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Log.hh
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief Name of Environment variable containing path to schema
const std::string SchemaLocationEnvVar = "IGN_TRANSPORT_LOG_SQL_PATH";
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Message.hh
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief Forward Declarations
class MessagePrivate;
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/MsgIter.hh
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief Forward Declarations
class MsgIterPrivate;
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Playback.hh
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
// Forward declarations
class PlaybackHandle;
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/QualifiedTime.hh
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
//////////////////////////////////////////////////
/// \brief Since time is continuous, it may be difficult to know the exact
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/QueryOptions.hh
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
//////////////////////////////////////////////////
/// \brief The QueryOptions interface is used by Log::QueryMessages() to
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Recorder.hh
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
enum class RecorderError : int64_t
{
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/SqlStatement.hh
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
/// \brief A class which contains a SQL statement parameter. SqlParameter
/// can be useful for keeping SQL queries sanitized and avoid SQL
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/detail/QueryOptions.hh
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ namespace gz
namespace log
{
// Inline bracket to help doxygen filtering.
inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
inline namespace GZ_TRANSPORT_VERSION_NAMESPACE {
//
//////////////////////////////////////////////////
template <typename Container>