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

Base class for all messages concerning a Representation. More...

#include <BALL/VIEW/KERNEL/message.h>

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

List of all members.

Public Types

enum  RepresentationMessageType {
  UNDEFINED = -1, ADD = 0, REMOVE, UPDATE,
  SELECTED, STARTED_UPDATE, FINISHED_UPDATE, ADD_TO_GEOMETRIC_CONTROL
}
 

Types of RepresentationMessage.

More...

Public Member Functions

 RepresentationMessage ()
virtual ~RepresentationMessage ()
 RepresentationMessage (Representation &rep, RepresentationMessageType type)
void setRepresentation (Representation &rep)
RepresentationgetRepresentation ()
void setType (RepresentationMessageType type)
RepresentationMessageType getType () const

Private Attributes

Representationrepresentation_
RepresentationMessageType type_

Detailed Description

Base class for all messages concerning a Representation.

Definition at line 558 of file message.h.


Member Enumeration Documentation

Types of RepresentationMessage.

Enumerator:
UNDEFINED 

Default Value.

ADD 

Add a Representation.

REMOVE 

Remove a Representation.

UPDATE 

Update the Representation.

SELECTED 

Representation was selected in GeometriControl.

STARTED_UPDATE 

Started the update of a Representation, no changes allowed in GeometricControl.

FINISHED_UPDATE 

Finished the update of a Representation.

ADD_TO_GEOMETRIC_CONTROL 

Add a Representation to GeometricControl, but dont update in Scene.

Definition at line 563 of file message.h.


Constructor & Destructor Documentation

BALL::VIEW::RepresentationMessage::RepresentationMessage (  ) 
virtual BALL::VIEW::RepresentationMessage::~RepresentationMessage (  )  [virtual]
BALL::VIEW::RepresentationMessage::RepresentationMessage ( Representation rep,
RepresentationMessageType  type 
)

Member Function Documentation

Representation* BALL::VIEW::RepresentationMessage::getRepresentation (  )  [inline]

Definition at line 604 of file message.h.

RepresentationMessageType BALL::VIEW::RepresentationMessage::getType (  )  const [inline]

Definition at line 611 of file message.h.

void BALL::VIEW::RepresentationMessage::setRepresentation ( Representation rep  )  [inline]

Definition at line 600 of file message.h.

void BALL::VIEW::RepresentationMessage::setType ( RepresentationMessageType  type  ) 

Member Data Documentation

Definition at line 616 of file message.h.

Definition at line 617 of file message.h.

Generated by  doxygen 1.6.3