thread_supervisor
include
thread_supervisor
util.h
Go to the documentation of this file.
1
/**
2
@file
3
@author Alexander Sherikov
4
@copyright 2022 Alexander Sherikov. Licensed under the Apache License,
5
Version 2.0. (see LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
6
@brief
7
*/
8
9
#pragma once
10
11
/// Class definitions that prevent copying
12
#define THREAD_SUPERVISOR_DISABLE_CLASS_COPY(Class) \
13
public: \
14
Class(const Class &) = delete;
/* NOLINT */
\
15
Class &operator=(const Class &) = delete;
/* NOLINT */
\
16
Class(Class &&) = delete;
/* NOLINT */
\
17
Class &operator=(Class &&) = delete;
/* NOLINT */
Generated by
1.9.1