SHAPER  9.12.0
ModelAPI_ImportParametersMessage Class Reference
Inheritance diagram for ModelAPI_ImportParametersMessage:
Inheritance graph

Public Member Functions

MODELAPI_EXPORT ModelAPI_ImportParametersMessage (const Events_ID theID, const void *theSender=0)
 Creates an empty message. More...
 
virtual MODELAPI_EXPORT ~ModelAPI_ImportParametersMessage ()
 The virtual destructor. More...
 
MODELAPI_EXPORT std::string filename () const
 Returns a filename stored in the message. More...
 
MODELAPI_EXPORT void setFilename (std::string theFilename)
 Sets a filename 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_IDeventId ()
 Static. Returns EventID of the message. More...
 
static MODELAPI_EXPORT std::shared_ptr< ModelAPI_ImportParametersMessagesend (std::string theParameter, const void *theSender)
 Useful method that creates and sends the event. More...
 

Constructor & Destructor Documentation

◆ ModelAPI_ImportParametersMessage()

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

Creates an empty message.

◆ ~ModelAPI_ImportParametersMessage()

ModelAPI_ImportParametersMessage::~ModelAPI_ImportParametersMessage ( )
virtual

The virtual destructor.

Member Function Documentation

◆ eventId()

static MODELAPI_EXPORT Events_ID& ModelAPI_ImportParametersMessage::eventId ( )
inlinestatic

Static. Returns EventID of the message.

◆ send()

static MODELAPI_EXPORT std::shared_ptr<ModelAPI_ImportParametersMessage> ModelAPI_ImportParametersMessage::send ( std::string  theParameter,
const void *  theSender 
)
inlinestatic

Useful method that creates and sends the event.

Returns the message, processed, with the resulting fields filled.

◆ filename()

std::string ModelAPI_ImportParametersMessage::filename ( ) const

Returns a filename stored in the message.

◆ setFilename()

void ModelAPI_ImportParametersMessage::setFilename ( std::string  theFilename)

Sets a filename 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.