Public Member Functions | Static Public Attributes | List of all members
eprosima::fastcdr::exception::LockedExternalAccessException Class Reference

This class is thrown as an exception when accessing to set the value of a locked external. More...

#include <LockedExternalAccessException.hpp>

Inheritance diagram for eprosima::fastcdr::exception::LockedExternalAccessException:
Inheritance graph
[legend]

Public Member Functions

Cdr_DllAPI LockedExternalAccessException (const char *const &message) noexcept
 Default constructor. More...
 
Cdr_DllAPI LockedExternalAccessException (const LockedExternalAccessException &ex) noexcept
 Default copy constructor. More...
 
Cdr_DllAPI LockedExternalAccessException (LockedExternalAccessException &&ex) noexcept
 Default move constructor. More...
 
Cdr_DllAPI LockedExternalAccessExceptionoperator= (const LockedExternalAccessException &ex) noexcept
 Assigment operation. More...
 
LockedExternalAccessExceptionoperator= (LockedExternalAccessException &&ex) noexcept
 Assigment operation. More...
 
Cdr_DllAPI void raise () const override
 This function throws the object as exception. More...
 
virtual Cdr_DllAPI ~LockedExternalAccessException () noexcept
 Default destructor. More...
 
- Public Member Functions inherited from eprosima::fastcdr::exception::Exception
virtual const Cdr_DllAPI char * what () const noexcept override
 This function returns the error message. More...
 
virtual Cdr_DllAPI ~Exception () noexcept
 Default destructor. More...
 

Static Public Attributes

static const Cdr_DllAPI char *const LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT
 Default message used in the library. More...
 

Additional Inherited Members

- Protected Member Functions inherited from eprosima::fastcdr::exception::Exception
Cdr_DllAPI Exception (const char *const &message) noexcept
 Default constructor. More...
 
Cdr_DllAPI Exception (const Exception &ex) noexcept
 Default copy constructor. More...
 
Cdr_DllAPI Exception (Exception &&ex) noexcept
 Default move constructor. More...
 
Cdr_DllAPI Exceptionoperator= (const Exception &ex) noexcept
 Assigment operation. More...
 
Cdr_DllAPI Exceptionoperator= (Exception &&ex) noexcept
 Assigment operation. More...
 

Detailed Description

This class is thrown as an exception when accessing to set the value of a locked external.

Definition at line 27 of file LockedExternalAccessException.hpp.

Constructor & Destructor Documentation

◆ LockedExternalAccessException() [1/3]

LockedExternalAccessException::LockedExternalAccessException ( const char *const &  message)
noexcept

Default constructor.

Parameters
messageAn error message. This message pointer is copied.

Definition at line 22 of file LockedExternalAccessException.cpp.

◆ LockedExternalAccessException() [2/3]

LockedExternalAccessException::LockedExternalAccessException ( const LockedExternalAccessException ex)
noexcept

Default copy constructor.

Parameters
exLockedExternalAccessException that will be copied.

Definition at line 28 of file LockedExternalAccessException.cpp.

◆ LockedExternalAccessException() [3/3]

LockedExternalAccessException::LockedExternalAccessException ( LockedExternalAccessException &&  ex)
noexcept

Default move constructor.

Parameters
exLockedExternalAccessException that will be moved.

Definition at line 34 of file LockedExternalAccessException.cpp.

◆ ~LockedExternalAccessException()

LockedExternalAccessException::~LockedExternalAccessException ( )
virtualnoexcept

Default destructor.

Definition at line 64 of file LockedExternalAccessException.cpp.

Member Function Documentation

◆ operator=() [1/2]

LockedExternalAccessException & LockedExternalAccessException::operator= ( const LockedExternalAccessException ex)
noexcept

Assigment operation.

Parameters
exLockedExternalAccessException that will be copied.

Definition at line 40 of file LockedExternalAccessException.cpp.

◆ operator=() [2/2]

LockedExternalAccessException & LockedExternalAccessException::operator= ( LockedExternalAccessException &&  ex)
noexcept

Assigment operation.

Parameters
exLockedExternalAccessException that will be moved.

Definition at line 52 of file LockedExternalAccessException.cpp.

◆ raise()

void LockedExternalAccessException::raise ( ) const
overridevirtual

This function throws the object as exception.

Implements eprosima::fastcdr::exception::Exception.

Definition at line 68 of file LockedExternalAccessException.cpp.

Member Data Documentation

◆ LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT

const char *const LockedExternalAccessException::LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT
static
Initial value:
=
"Locked external: value cannot be set"

Default message used in the library.

Definition at line 78 of file LockedExternalAccessException.hpp.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:52