Ocean
CreatorF.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_F_H
9 #define META_OCEAN_CV_SYNTHESIS_CREATOR_F_H
10 
14 
15 namespace Ocean
16 {
17 
18 namespace CV
19 {
20 
21 namespace Synthesis
22 {
23 
24 /**
25  * This class is the base class for all creators that support mappings with float accuracy.
26  * @ingroup cvsynthesis
27  */
28 class CreatorF : virtual public Creator
29 {
30  protected:
31 
32  /**
33  * Creates a new creator object.
34  * @param layer The layer that is used to create the information
35  */
36  inline CreatorF(const LayerF& layer);
37 
38  protected:
39 
40  /// Specialized layer reference.
41  const LayerF& layerF_;
42 };
43 
44 inline CreatorF::CreatorF(const LayerF& layer) :
45  Creator(layer),
46  layerF_(layer)
47 {
48  // nothing to do here
49 }
50 
51 }
52 
53 }
54 
55 }
56 
57 #endif // META_OCEAN_CV_SYNTHESIS_CREATOR_F_H
This class is the base class for all creators that support mappings with float accuracy.
Definition: CreatorF.h:29
CreatorF(const LayerF &layer)
Creates a new creator object.
Definition: CreatorF.h:44
const LayerF & layerF_
Specialized layer reference.
Definition: CreatorF.h:41
This class implements the base class for all creators.
Definition: Creator.h:29
This class implements the base class for all synthesis layers with float accuracy.
Definition: LayerF.h:29
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15