#include <message.h>
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_ |
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.
Message type enumeration.