SHAPER  9.12.0
ModelAPI_ReplaceParameterMessage Class Reference

Message that the parameter should be replaced with its value. More...

Inheritance diagram for ModelAPI_ReplaceParameterMessage:
Inheritance graph

Public Member Functions

MODELAPI_EXPORT ModelAPI_ReplaceParameterMessage (const Events_ID theID, const void *theSender=0)
 Creates an empty message. More...
 
virtual MODELAPI_EXPORT ~ModelAPI_ReplaceParameterMessage ()
 The virtual destructor. More...
 
MODELAPI_EXPORT ObjectPtr object () const
 Returns an object. More...
 
MODELAPI_EXPORT void setObject (ObjectPtr theObject)
 Sets an object. 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 void send (ObjectPtr theObject, const void *theSender)
 Useful method that creates and sends the AttributeEvalMessage event. More...
 

Detailed Description

Message that the parameter should be replaced with its value.

Constructor & Destructor Documentation

◆ ModelAPI_ReplaceParameterMessage()

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

Creates an empty message.

◆ ~ModelAPI_ReplaceParameterMessage()

ModelAPI_ReplaceParameterMessage::~ModelAPI_ReplaceParameterMessage ( )
virtual

The virtual destructor.

Member Function Documentation

◆ eventId()

static MODELAPI_EXPORT Events_ID& ModelAPI_ReplaceParameterMessage::eventId ( )
inlinestatic

Static. Returns EventID of the message.

◆ send()

void ModelAPI_ReplaceParameterMessage::send ( ObjectPtr  theObject,
const void *  theSender 
)
static

Useful method that creates and sends the AttributeEvalMessage event.

◆ object()

ObjectPtr ModelAPI_ReplaceParameterMessage::object ( ) const

Returns an object.

◆ setObject()

void ModelAPI_ReplaceParameterMessage::setObject ( ObjectPtr  theObject)

Sets an object.

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