Ocean
Operator.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_CV_SYNTHESIS_OPERATOR_H
9 #define META_OCEAN_CV_SYNTHESIS_OPERATOR_H
10 
13 
14 namespace Ocean
15 {
16 
17 namespace CV
18 {
19 
20 namespace Synthesis
21 {
22 
23 /**
24  * This class is the base class for all image synthesis operators.
25  * @ingroup cvsynthesis
26  */
27 class Operator
28 {
29  public:
30 
31  /**
32  * Destructs the object.
33  */
34  virtual ~Operator() = default;
35 
36  protected:
37 
38  /**
39  * Creates a new operator object.
40  */
41  inline Operator();
42 
43  /**
44  * Disabled copy constructor.
45  * @param object The object which would be copied
46  */
47  Operator(const Operator& object) = delete;
48 
49  /**
50  * Disabled copy operator.
51  * @param object The object which would be copied
52  * @return Reference to this object
53  */
54  Operator& operator=(const Operator& object) = delete;
55 };
56 
58 {
59  // nothing to do here
60 }
61 
62 }
63 
64 }
65 
66 }
67 
68 #endif // META_OCEAN_CV_SYNTHESIS_OPERATOR_H
This class is the base class for all image synthesis operators.
Definition: Operator.h:28
Operator()
Creates a new operator object.
Definition: Operator.h:57
Operator(const Operator &object)=delete
Disabled copy constructor.
Operator & operator=(const Operator &object)=delete
Disabled copy operator.
virtual ~Operator()=default
Destructs the object.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15