ArmNN
 24.08
IGraphObservable.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
7 #include "Layer.hpp"
8 
9 namespace armnn
10 {
11 
12 enum class GraphEvent
13 {
14  LayerAdded,
16 };
17 
19 {
20 public:
21  virtual void Update(Layer* graphLayer) = 0;
22 
23 protected:
24  virtual ~IGraphObservable() = default;
25 };
26 
27 } //namespace armnn
28 
armnn::IGraphObservable::~IGraphObservable
virtual ~IGraphObservable()=default
armnn::GraphEvent
GraphEvent
Definition: IGraphObservable.hpp:12
armnn::GraphEvent::LayerAdded
@ LayerAdded
armnn::Layer
Definition: Layer.hpp:230
armnn::IGraphObservable::Update
virtual void Update(Layer *graphLayer)=0
armnn::GraphEvent::LayerErased
@ LayerErased
armnn::IGraphObservable
Definition: IGraphObservable.hpp:18
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
Layer.hpp