ImagingTools Core SDK
CEventBasedRepresentationViewComp.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <icomp/CComponentBase.h>
7#include <imod/TSingleModelObserverBase.h>
8
9// ImtCore includes
10#include <imtloggui/IEventItemFactory.h>
11#include <imtloggui/CRepresentationViewCompBase.h>
12
13
14namespace imtloggui
15{
16
17
18class CEventBasedRepresentationViewComp: public imtloggui::CRepresentationViewCompBase
19{
20public:
21 typedef CRepresentationViewCompBase BaseClass;
22
23 I_BEGIN_COMPONENT(CEventBasedRepresentationViewComp)
24 I_ASSIGN(m_eventItemFactoryCompPtr, "EventItemFactory", "Event item factory component", false, "");
25 I_END_COMPONENT
26
27protected:
28 // reimplemented (imod::CSingleModelObserverBase)
29 virtual void OnUpdate(const istd::IChangeable::ChangeSet& changeSet);
30
31private:
32 I_REF(IEventItemFactory, m_eventItemFactoryCompPtr);
33};
34
35
36} // namespace imtloggui
37
38