Ocean
Loading...
Searching...
No Matches
CreatorI.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_I_H
9#define META_OCEAN_CV_SYNTHESIS_CREATOR_I_H
10
14
15namespace Ocean
16{
17
18namespace CV
19{
20
21namespace Synthesis
22{
23
24/**
25 * This class is the base class for all creators that support mappings with integer accuracy.
26 * @ingroup cvsynthesis
27 */
28class CreatorI : 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 CreatorI(const LayerI& layer);
37
38 protected:
39
40 /// Specialized layer reference.
42};
43
44inline CreatorI::CreatorI(const LayerI& layer) :
45 Creator(layer),
46 layerI_(layer)
47{
48 // nothing to do here
49}
50
51}
52
53}
54
55}
56
57#endif // META_OCEAN_CV_SYNTHESIS_CREATOR_I_H
This class implements the base class for all creators.
Definition Creator.h:29
This class is the base class for all creators that support mappings with integer accuracy.
Definition CreatorI.h:29
const LayerI & layerI_
Specialized layer reference.
Definition CreatorI.h:41
CreatorI(const LayerI &layer)
Creates a new creator object.
Definition CreatorI.h:44
This class implements the base class for all synthesis layers with integer accuracy.
Definition LayerI.h:29
The namespace covering the entire Ocean framework.
Definition Accessor.h:15