sw_engine: concrete shape rendering sequence.
[platform/core/graphics/tizenvg.git] / src / lib / tvgSceneNode.cpp
1 /*
2  * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *  Licensed under the Apache License, Version 2.0 (the "License");
5  *  you may not use this file except in compliance with the License.
6  *  You may obtain a copy of the License at
7  *
8  *               http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *  Unless required by applicable law or agreed to in writing, software
11  *  distributed under the License is distributed on an "AS IS" BASIS,
12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *  See the License for the specific language governing permissions and
14  *  limitations under the License.
15  *
16  */
17 #ifndef _TVG_SCENE_NODE_CPP_
18 #define _TVG_SCENE_NODE_CPP_
19
20 #include "tvgCommon.h"
21
22 /************************************************************************/
23 /* Internal Class Implementation                                        */
24 /************************************************************************/
25
26 struct SceneNode::Impl
27 {
28
29 };
30
31
32
33 /************************************************************************/
34 /* External Class Implementation                                        */
35 /************************************************************************/
36
37 SceneNode::SceneNode() : pImpl(make_unique<Impl>())
38 {
39
40 }
41
42
43 SceneNode::~SceneNode()
44 {
45     cout << "SceneNode(" << this << ") destroyed!" << endl;
46 }
47
48
49 unique_ptr<SceneNode> SceneNode::gen() noexcept
50 {
51     return unique_ptr<SceneNode>(new SceneNode);
52 }
53
54
55 int SceneNode::push(unique_ptr<ShapeNode> shape) noexcept
56 {
57     return 0;
58 }
59
60
61 int SceneNode::update(RenderMethod* engine) noexcept
62 {
63
64     return 0;
65 }
66
67 #endif /* _TVG_SCENE_NODE_CPP_ */