SHAPER  9.13.0
ModelAPI_DocumentCreatedMessage Class Reference

Message that document (Part, PartSet) was created. More...

Inheritance diagram for ModelAPI_DocumentCreatedMessage:
Inheritance graph

Public Member Functions

MODELAPI_EXPORT ModelAPI_DocumentCreatedMessage (const Events_ID theID, const void *theSender=0)
 Creates an empty message. More...
 
virtual MODELAPI_EXPORT ~ModelAPI_DocumentCreatedMessage ()
 The virtual destructor. More...
 
MODELAPI_EXPORT DocumentPtr document () const
 Returns a document stored in the message. More...
 
MODELAPI_EXPORT void setDocument (DocumentPtr theDocument)
 Sets a document to the message. 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...
 

Static Public Member Functions

static MODELAPI_EXPORT Events_ID eventId ()
 Static. Returns EventID of the message. More...
 

Detailed Description

Message that document (Part, PartSet) was created.

Constructor & Destructor Documentation

◆ ModelAPI_DocumentCreatedMessage()

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

Creates an empty message.

◆ ~ModelAPI_DocumentCreatedMessage()

ModelAPI_DocumentCreatedMessage::~ModelAPI_DocumentCreatedMessage ( )
virtual

The virtual destructor.

Member Function Documentation

◆ eventId()

static MODELAPI_EXPORT Events_ID ModelAPI_DocumentCreatedMessage::eventId ( )
inlinestatic

Static. Returns EventID of the message.

◆ document()

DocumentPtr ModelAPI_DocumentCreatedMessage::document ( ) const

Returns a document stored in the message.

◆ setDocument()

void ModelAPI_DocumentCreatedMessage::setDocument ( DocumentPtr  theDocument)

Sets a document to the message.

◆ 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.