AronDataView.cpp
Go to the documentation of this file.
1#include "AronDataView.h"
2
4{
5
7 {
8 Logging::setTag("AronDataView");
9 }
10
11 void
13 {
14 currentData = aronData;
15 currentAronType = aronType;
16 update();
17 }
18
19 void
21 {
22 if (currentData)
23 {
24 updateData(currentData, currentAronType);
25 updateImageView(currentData);
26
27 emit updated();
28 }
29 }
30
32 AronDataView::getData()
33 {
34 return currentData;
35 }
36} // namespace armarx::armem::gui::instance
void setTag(const LogTag &tag)
Definition Logging.cpp:54
virtual void updateData(const aron::data::DictPtr &data, aron::type::ObjectPtr aronType=nullptr)
Definition DataView.cpp:101
void updateImageView(const aron::data::DictPtr &data)
Definition DataView.cpp:576
aron::type::ObjectPtr currentAronType
Definition DataView.h:96
std::shared_ptr< Dict > DictPtr
Definition Dict.h:42
std::shared_ptr< Object > ObjectPtr
Definition Object.h:36