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