ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
Loading...
Searching...
No Matches
hdps::DatasetAddedEvent Class Reference

#include <Event.h>

Inheritance diagram for hdps::DatasetAddedEvent:
hdps::DatasetEvent hdps::HdpsEvent

Public Member Functions

 DatasetAddedEvent (const Dataset< DatasetImpl > &dataset)
 
QString getParentDatasetName () const
 
void setParentDatasetName (const QString &parentDatasetName)
 
bool getVisible () const
 
void setVisible (const bool &visible)
 
- Public Member Functions inherited from hdps::DatasetEvent
 DatasetEvent (const EventType &eventType, const Dataset< DatasetImpl > &dataset)
 
Dataset< DatasetImplgetDataset ()
 
template<typename DatasetType >
Dataset< DatasetType > getDataset ()
 
void setDataset (const Dataset< DatasetImpl > &dataset)
 
- Public Member Functions inherited from hdps::HdpsEvent
 HdpsEvent (EventType type)
 
EventType getType () const
 

Protected Attributes

QString _parentDatasetName
 
bool _visible
 
- Protected Attributes inherited from hdps::DatasetEvent
Dataset< DatasetImpl_dataset
 

Detailed Description

Dataset added event class Dataset event which is emitted by the core when data is added

Constructor & Destructor Documentation

◆ DatasetAddedEvent()

hdps::DatasetAddedEvent::DatasetAddedEvent ( const Dataset< DatasetImpl > &  dataset)
inline

Constructor

Parameters
datasetSmart pointer to the dataset

Member Function Documentation

◆ getParentDatasetName()

QString hdps::DatasetAddedEvent::getParentDatasetName ( ) const
inline

Get the name of the parent dataset

◆ getVisible()

bool hdps::DatasetAddedEvent::getVisible ( ) const
inline

Get whether the dataset is visible in the data hierarchy

◆ setParentDatasetName()

void hdps::DatasetAddedEvent::setParentDatasetName ( const QString &  parentDatasetName)
inline

Set the name of the parent dataset

Parameters
parentDatasetNameName of the parent dataset

◆ setVisible()

void hdps::DatasetAddedEvent::setVisible ( const bool &  visible)
inline

Set whether the dataset is visible in the data hierarchy

Parameters
visibleWhether the dataset is visible in the data hierarchy

Member Data Documentation

◆ _parentDatasetName

QString hdps::DatasetAddedEvent::_parentDatasetName
protected

◆ _visible

bool hdps::DatasetAddedEvent::_visible
protected

Name of the parent dataset


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