Ocean
CreatorFrame.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_CREATOR_FRAME_H
9 #define META_OCEAN_CV_SYNTHESIS_CREATOR_FRAME_H
10 
13 
14 namespace Ocean
15 {
16 
17 namespace CV
18 {
19 
20 namespace Synthesis
21 {
22 
23 /**
24  * This class implements the base class for all creator objects that create a resulting frame as output.
25  * @ingroup cvsynthesis
26  */
27 class CreatorFrame : virtual public Creator
28 {
29  protected:
30 
31  /**
32  * Creates a new creator object.
33  * @param layer The layer that is used to create the information
34  * @param target The target frame that will receive the creator output
35  */
36  inline CreatorFrame(const Layer& layer, Frame& target);
37 
38  protected:
39 
40  /// Target frame of the creator.
42 };
43 
44 inline CreatorFrame::CreatorFrame(const Layer& layer, Frame& target) :
45  Creator(layer),
46  target_(target)
47 {
48  // nothing to do here
49 }
50 
51 }
52 
53 }
54 
55 }
56 
57 #endif // META_OCEAN_CV_SYNTHESIS_CREATOR_FRAME_H
This class implements the base class for all creator objects that create a resulting frame as output.
Definition: CreatorFrame.h:28
CreatorFrame(const Layer &layer, Frame &target)
Creates a new creator object.
Definition: CreatorFrame.h:44
Frame & target_
Target frame of the creator.
Definition: CreatorFrame.h:41
This class implements the base class for all creators.
Definition: Creator.h:29
This class implements the base class for all inpainting layers.
Definition: Layer.h:35
This class implements Ocean's image class.
Definition: Frame.h:1760
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15