TeiaCareSDK  v0.1.0
TeiaCareSDK is a collection of reusable C++ components
Loading...
Searching...
No Matches
tc::sdk::non_moveable Class Reference

Utility class expected to be used as a base class to define non-moveable classes. More...

#include <non_moveable.hpp>

Inheritance diagram for tc::sdk::non_moveable:

Protected Member Functions

 non_moveable ()=default
 Constructor.
 
 ~non_moveable ()=default
 Destructor.
 
 non_moveable (non_moveable &&)=delete
 Move constructor.
 
non_moveableoperator= (non_moveable &&)=delete
 Move assignment operator.
 

Detailed Description

Utility class expected to be used as a base class to define non-moveable classes.

Note
It is not necessary to publicly derive from this class. It is sufficient to derive privately to prevent move operations on the derived class.
class my_class : private non_moveable
{ ... };
Thread safe, blocking queue.
Utility class expected to be used as a base class to define non-moveable classes.

Definition at line 29 of file non_moveable.hpp.

Constructor & Destructor Documentation

◆ non_moveable() [1/2]

tc::sdk::non_moveable::non_moveable ( )
inlineprotecteddefault

Constructor.

Default constructor for tc::sdk::non_moveable

◆ ~non_moveable()

tc::sdk::non_moveable::~non_moveable ( )
inlineprotecteddefault

Destructor.

Default constructor for tc::sdk::non_moveable

◆ non_moveable() [2/2]

tc::sdk::non_moveable::non_moveable ( non_moveable &&  )
protecteddelete

Move constructor.

Move constructor marked as deleted.

Member Function Documentation

◆ operator=()

non_moveable & tc::sdk::non_moveable::operator= ( non_moveable &&  )
protecteddelete

Move assignment operator.

Move assignment operator marked as deleted.


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