BALL::VIEW::DatasetMessage Class Reference
[Messages]

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

#include <message.h>

Inheritance diagram for BALL::VIEW::DatasetMessage:
Inheritance graph
[legend]

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)
Dataset * getDataset () const
void setDataset (Dataset *set)
bool isValid () const

Protected Attributes

Dataset * dataset_
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

Message type enumeration.

Enumerator:
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.

Generated on Thu Aug 6 18:30:54 2009 for BALL by doxygen 1.5.8