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

#include <BALL/VIEW/KERNEL/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)
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

Definition at line 129 of file message.h.


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 
VISUALIZE_END 

Allow >90 different kinds of visualization.

Definition at line 135 of file message.h.


Constructor & Destructor Documentation

BALL::VIEW::DatasetMessage::DatasetMessage ( Dataset set = 0,
Type  type = UNDEFINED 
)
BALL::VIEW::DatasetMessage::DatasetMessage ( const DatasetMessage msg  ) 

Member Function Documentation

Dataset* BALL::VIEW::DatasetMessage::getDataset (  )  const [inline]

Definition at line 172 of file message.h.

Type BALL::VIEW::DatasetMessage::getType (  )  const [inline]

Definition at line 166 of file message.h.

bool BALL::VIEW::DatasetMessage::isValid (  )  const
void BALL::VIEW::DatasetMessage::setDataset ( Dataset set  )  [inline]

Definition at line 175 of file message.h.

void BALL::VIEW::DatasetMessage::setType ( Type  type  )  [inline]

Definition at line 169 of file message.h.


Member Data Documentation

Definition at line 182 of file message.h.

Definition at line 184 of file message.h.

Definition at line 183 of file message.h.

Generated by  doxygen 1.6.3