InstanceView Class Reference

#include <RobotAPI/libraries/armem_gui/instance/InstanceView.h>

+ Inheritance diagram for InstanceView:

Signals

void instanceSelected (const MemoryID &id)
 
- Signals inherited from DataView
void actionsMenuRequested (const MemoryID &memoryID, QWidget *parent, const QPoint &pos, QMenu *menu)
 
void memoryIdResolutionRequested (const MemoryID &id)
 
void updated ()
 
void useTypeInfoChanged (bool enable)
 

Public Member Functions

 InstanceView ()
 
void update () override
 
void update (const MemoryID &id, const wm::Memory &memory)
 
void update (const wm::EntityInstance &instance, aron::type::ObjectPtr aronType=nullptr)
 
- Public Member Functions inherited from DataView
void addDataView (DataView *dataView)
 
 DataView ()
 
void setStatusLabel (QLabel *statusLabel)
 
void setUseTypeInfo (bool enable)
 
virtual ~DataView ()=default
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Additional Inherited Members

- Protected Types inherited from DataView
enum  Columns { KEY = 0, VALUE = 1, TYPE = 2 }
 
- Protected Slots inherited from DataView
virtual void prepareTreeContextMenu (const QPoint &pos)
 
void removeImageView ()
 
void showImageView (const aron::Path &elementPath)
 
- Protected Member Functions inherited from DataView
std::optional< MemoryIDgetElementMemoryID (const aron::Path &elementPath)
 
QAction * makeActionCopyMemoryID (const MemoryID &id)
 
void showErrorMessage (const std::string &message)
 
virtual void updateData (const aron::data::DictPtr &data, aron::type::ObjectPtr aronType=nullptr)
 
void updateImageView (const aron::data::DictPtr &data)
 
- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Static Protected Member Functions inherited from DataView
static std::optional< aron::PathgetElementPath (const QTreeWidgetItem *item)
 
- Protected Attributes inherited from DataView
aron::type::ObjectPtr currentAronType = nullptr
 
ImageViewimageView = nullptr
 
QSplitter * splitter
 
QLabel * statusLabel = nullptr
 
QTreeWidget * tree
 
QTreeWidgetItem * treeItemData
 
bool useTypeInfo = true
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Definition at line 17 of file InstanceView.h.

Constructor & Destructor Documentation

◆ InstanceView()

Definition at line 41 of file InstanceView.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ instanceSelected

void instanceSelected ( const MemoryID id)
signal

◆ update() [1/3]

void update ( )
overridevirtual

Implements DataView.

Definition at line 91 of file InstanceView.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update() [2/3]

void update ( const MemoryID id,
const wm::Memory memory 
)

Definition at line 62 of file InstanceView.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update() [3/3]

void update ( const wm::EntityInstance instance,
aron::type::ObjectPtr  aronType = nullptr 
)

Definition at line 84 of file InstanceView.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: