SHAPER  9.12.0
ModelAPI_ObjectDeletedMessage Class Referenceabstract

Message that feature was deleted (used for Object Browser update) More...

Inheritance diagram for ModelAPI_ObjectDeletedMessage:
Inheritance graph

Public Member Functions

virtual const std::list< std::pair< std::shared_ptr< ModelAPI_Document >, std::string > > & groups () const =0
 Returns the groups where the objects were deleted. More...
 
virtual std::shared_ptr< Events_MessageGroupnewEmpty ()=0
 Creates the new empty message of this kind. More...
 
virtual const Events_ID messageId ()=0
 Returns the identifier of the kind of a message. More...
 
virtual void Join (const std::shared_ptr< Events_MessageGroup > &theJoined)=0
 Appends to this message the given one. More...
 
const Events_IDeventID () const
 Returns identifier of the message. More...
 
void * sender () const
 Returns sender of the message or NULL if it is anonymous message. More...
 

Protected Member Functions

 ModelAPI_ObjectDeletedMessage (const Events_ID theID, const void *theSender=0)
 Creates an empty message. More...
 
virtual ~ModelAPI_ObjectDeletedMessage ()
 The virtual destructor. More...
 

Detailed Description

Message that feature was deleted (used for Object Browser update)

Constructor & Destructor Documentation

◆ ModelAPI_ObjectDeletedMessage()

ModelAPI_ObjectDeletedMessage::ModelAPI_ObjectDeletedMessage ( const Events_ID  theID,
const void *  theSender = 0 
)
protected

Creates an empty message.

◆ ~ModelAPI_ObjectDeletedMessage()

ModelAPI_ObjectDeletedMessage::~ModelAPI_ObjectDeletedMessage ( )
protectedvirtual

The virtual destructor.

Member Function Documentation

◆ groups()

virtual const std::list<std::pair<std::shared_ptr<ModelAPI_Document>, std::string> >& ModelAPI_ObjectDeletedMessage::groups ( ) const
pure virtual

Returns the groups where the objects were deleted.

Implemented in Model_ObjectDeletedMessage.

◆ newEmpty()

virtual std::shared_ptr<Events_MessageGroup> ModelAPI_ObjectDeletedMessage::newEmpty ( )
pure virtual

Creates the new empty message of this kind.

Implements Events_MessageGroup.

Implemented in Model_ObjectDeletedMessage.

◆ messageId()

virtual const Events_ID ModelAPI_ObjectDeletedMessage::messageId ( )
pure virtual

Returns the identifier of the kind of a message.

Implemented in Model_ObjectDeletedMessage.

◆ Join()

virtual void ModelAPI_ObjectDeletedMessage::Join ( const std::shared_ptr< Events_MessageGroup > &  theJoined)
pure virtual

Appends to this message the given one.

Implements Events_MessageGroup.

Implemented in Model_ObjectDeletedMessage.

◆ eventID()

const Events_ID& Events_Message::eventID ( ) const
inlineinherited

Returns identifier of the message.

◆ sender()

void* Events_Message::sender ( ) const
inlineinherited

Returns sender of the message or NULL if it is anonymous message.