Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

VIEW::DatasetMessage Class Reference
[Messages]

Message to notify about changes in a Dataset. More...

#include <message.h>

Inheritance diagram for VIEW::DatasetMessage:

VIEW::Message List of all members.

Public Types

enum  Type {
  UNDEFINED = -1, ADD = 0, REMOVE, UPDATE,
  SELECTED, VISUALIZE, VISUALIZE_END = 100
}
 Message type enumeration. More...

Public Member Functions

 DatasetMessage (Dataset *set=0, Type type=UNDEFINED)
 DatasetMessage (const DatasetMessage &msg)
Type getType () const
void setType (Type type)
DatasetgetDataset () const
void setDataset (Dataset *set)
bool isValid () const

Protected Attributes

Datasetdataset_
Type type_
String dataset_type_

Detailed Description

Message to notify about changes in a Dataset.

This message can be e.g. used to notify all ModularWidget about a new DockResult, Trajectory or any other kind of dataset. The Dataset contains the information on the kind of data it contains. The receiving widget thus has to query the type of the message and the the type of the Dataset.

See also:
Dataset

DatasetController

DatasetControl


Member Enumeration Documentation

enum VIEW::DatasetMessage::Type
 

Message type enumeration.

Enumeration values:
UNDEFINED  Default Value.
ADD  To add.
REMOVE  To be removed.
UPDATE  Update.
SELECTED  Was selected in Control.
VISUALIZE_END  Allow >90 different kinds of visualization.