Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
imt::base::core::platform::Nonmovable Class Reference

Base class for a not movable class that disables copy, assignment and move of instances. More...

#include <Imt.Base.Core.Platform/inc/Imt.Base.Core.Platform/Nonmovable.h>

Inheritance diagram for imt::base::core::platform::Nonmovable:
imt::base::core::serialization::Deserializer imt::base::core::serialization::Serializer imt::base::core::util::MD5 imt::base::dff::activeparts::ActivePartAbs imt::base::dff::activeparts::ActivePartContainerAbs imt::base::dff::activeparts::ChannelOneToAny< NumberOfReceivers > imt::base::dff::activeparts::ChannelOneToNull imt::base::dff::activeparts::ChannelOneToOne imt::base::dff::activeparts::OneShotTimer imt::base::dff::activeparts::PeriodicTimer imt::base::dff::activeparts::PortInput imt::base::dff::activeparts::PortInputSplit< NumberOfPortsToSplit > imt::base::dff::activeparts::PortOutput imt::base::dff::activeparts::VariableOneShotTimer imt::base::dff::gtest::helper::AssertActionHandler imt::base::dff::runtime::EventData imt::base::dff::runtime::EventReadyList imt::base::lib::crypto::Sha256Hash imt::base::lib::remoting::DataFrame imt::base::lib::remoting::DataFrameCRC16CheckReceiveLayer imt::base::lib::remoting::DataFrameCRC16CheckSendLayer imt::base::lib::remoting::DataFrameSyncReceiveLayer imt::base::lib::remoting::DataFrameSyncSendLayer imt::base::lib::remoting::RemoteObjectAbs imt::base::lib::remoting::RemotingServiceBase imt::base::lib::srecconverter::SRecConverter

Protected Member Functions

 Nonmovable () noexcept=default
 
 Nonmovable (Nonmovable const &other) noexcept=delete
 
 Nonmovable (Nonmovable &&other) noexcept=delete
 
 ~Nonmovable () noexcept=default
 
Nonmovableoperator= (Nonmovable const &other) &noexcept=delete
 
Nonmovableoperator= (Nonmovable &&other) &noexcept=delete
 

Detailed Description

Base class for a not movable class that disables copy, assignment and move of instances.

Construction and deletion of instances is permitted, so that such a class can be used for RAII. https://www.modernescpp.com/index.php/c-core-guidelines-constructors-assignments-and-desctructors/ https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2895r0.html

Definition at line 51 of file Nonmovable.h.

Constructor & Destructor Documentation

◆ Nonmovable() [1/3]

imt::base::core::platform::Nonmovable::Nonmovable ( )
protecteddefaultnoexcept

◆ Nonmovable() [2/3]

imt::base::core::platform::Nonmovable::Nonmovable ( Nonmovable const &  other)
protecteddeletenoexcept

◆ Nonmovable() [3/3]

imt::base::core::platform::Nonmovable::Nonmovable ( Nonmovable &&  other)
protecteddeletenoexcept

◆ ~Nonmovable()

imt::base::core::platform::Nonmovable::~Nonmovable ( )
protecteddefaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

Nonmovable & imt::base::core::platform::Nonmovable::operator= ( Nonmovable &&  other) &
protecteddeletenoexcept

◆ operator=() [2/2]

Nonmovable & imt::base::core::platform::Nonmovable::operator= ( Nonmovable const &  other) &
protecteddeletenoexcept

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