Release 18.08
[platform/upstream/armnn.git] / src / armnn / IGraphObservable.hpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // See LICENSE file in the project root for full license information.
4 //
5 #pragma once
6
7 #include "Layer.hpp"
8
9 namespace armnn
10 {
11
12 enum class GraphEvent
13 {
14     LayerAdded,
15     LayerErased
16 };
17
18 class IGraphObservable
19 {
20 public:
21     virtual void Update(Layer* graphLayer) = 0;
22
23 protected:
24     virtual ~IGraphObservable() = default;
25 };
26
27 } //namespace armnn
28