forked from facontidavide/PlotJuggler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If this commit is applied then plotjuggler will be able to compile and run with Fast-CDR version 2.x.x from eProsima. It can compile from: - local thirdparty folder included within the repo - install of fastcdr within the machine (usually /usr/local) to do so: - Udpated files, API and namespace names Done it because I need to use plotJuggler with latest lib from eProsima and I would like this to be available for everyone. Issue: [facontidavide#919]
- Loading branch information
manuelValch
authored and
manuelValch
committed
Feb 6, 2024
1 parent
92f7389
commit 0687ebf
Showing
22 changed files
with
9,800 additions
and
8,767 deletions.
There are no files selected for viewing
6,773 changes: 3,375 additions & 3,398 deletions
6,773
plotjuggler_plugins/ParserROS/rosx_introspection/3rdparty/Fast-CDR/include/fastcdr/Cdr.h
Large diffs are not rendered by default.
Oops, something went wrong.
578 changes: 309 additions & 269 deletions
578
...ggler_plugins/ParserROS/rosx_introspection/3rdparty/Fast-CDR/include/fastcdr/FastBuffer.h
Large diffs are not rendered by default.
Oops, something went wrong.
4,018 changes: 2,021 additions & 1,997 deletions
4,018
plotjuggler_plugins/ParserROS/rosx_introspection/3rdparty/Fast-CDR/include/fastcdr/FastCdr.h
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
...introspection/3rdparty/Fast-CDR/include/fastcdr/exceptions/BadOptionalAccessException.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
// Copyright 2023 Proyectos y Sistemas de Mantenimiento SL (eProsima). | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#ifndef _FASTCDR_EXCEPTIONS_BADOPTIONALACCESSEXCEPTION_H_ | ||
#define _FASTCDR_EXCEPTIONS_BADOPTIONALACCESSEXCEPTION_H_ | ||
|
||
#include "Exception.h" | ||
|
||
namespace eprosima { | ||
namespace fastcdr { | ||
namespace exception { | ||
/*! | ||
* @brief This class is thrown as an exception when accessing the value of a null optional. | ||
* @ingroup EXCEPTIONMODULE | ||
*/ | ||
class BadOptionalAccessException : public Exception | ||
{ | ||
public: | ||
|
||
/*! | ||
* @brief Default constructor. | ||
* | ||
* @param message An error message. This message pointer is copied. | ||
*/ | ||
Cdr_DllAPI BadOptionalAccessException( | ||
const char* const& message) noexcept; | ||
|
||
/*! | ||
* @brief Default copy constructor. | ||
* | ||
* @param ex BadOptionalAccessException that will be copied. | ||
*/ | ||
Cdr_DllAPI BadOptionalAccessException( | ||
const BadOptionalAccessException& ex) noexcept; | ||
|
||
/*! | ||
* @brief Default move constructor. | ||
* | ||
* @param ex BadOptionalAccessException that will be moved. | ||
*/ | ||
Cdr_DllAPI BadOptionalAccessException( | ||
BadOptionalAccessException&& ex) noexcept; | ||
|
||
/*! | ||
* @brief Assigment operation. | ||
* | ||
* @param ex BadOptionalAccessException that will be copied. | ||
*/ | ||
Cdr_DllAPI BadOptionalAccessException& operator =( | ||
const BadOptionalAccessException& ex) noexcept; | ||
|
||
/*! | ||
* @brief Assigment operation. | ||
* | ||
* @param ex BadOptionalAccessException that will be moved. | ||
*/ | ||
BadOptionalAccessException& operator =( | ||
BadOptionalAccessException&& ex) noexcept; | ||
|
||
//! @brief Default destructor | ||
virtual Cdr_DllAPI ~BadOptionalAccessException() noexcept; | ||
|
||
//! @brief This function throws the object as exception. | ||
Cdr_DllAPI void raise() const override; | ||
|
||
//! @brief Default message used in the library. | ||
static Cdr_DllAPI const char* const BAD_OPTIONAL_ACCESS_MESSAGE_DEFAULT; | ||
}; | ||
} //namespace exception | ||
} //namespace fastcdr | ||
} //namespace eprosima | ||
#endif // _FASTCDR_EXCEPTIONS_BADOPTIONALACCESSEXCEPTION_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.