BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
BALL::VIEW::RepresentationMessage Class Reference

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

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

Inheritance diagram for BALL::VIEW::RepresentationMessage:
BALL::VIEW::Message

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
 
- Public Member Functions inherited from BALL::VIEW::Message
 Message ()
 
 Message (const Message &message)
 
virtual ~Message ()
 
void setSender (const ConnectionObject *sender)
 
const ConnectionObjectgetSender () const
 
void setDeletable (bool flag=true)
 
bool isDeletable () const
 
boost::any & data ()
 

Private Attributes

Representationrepresentation_
 
RepresentationMessageType type_
 

Detailed Description

Base class for all messages concerning a Representation.

Definition at line 569 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 574 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 615 of file message.h.

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

Definition at line 622 of file message.h.

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

Definition at line 611 of file message.h.

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

Member Data Documentation

Representation* BALL::VIEW::RepresentationMessage::representation_
private

Definition at line 627 of file message.h.

RepresentationMessageType BALL::VIEW::RepresentationMessage::type_
private

Definition at line 628 of file message.h.