SHAPER
9.13.0
|
Public Member Functions | |
MODELAPI_EXPORT | ModelAPI_BuildEvalMessage (const Events_ID theID, const void *theSender=0) |
Creates an empty message. More... | |
virtual MODELAPI_EXPORT | ~ModelAPI_BuildEvalMessage () |
The virtual destructor. More... | |
MODELAPI_EXPORT FeaturePtr | parameter () const |
Returns a parameter stored in the message. More... | |
MODELAPI_EXPORT void | setParameter (FeaturePtr theParam) |
Sets a parameter to the message. More... | |
MODELAPI_EXPORT void | setResults (const std::list< std::shared_ptr< ModelAPI_ResultParameter > > &theParamsList, const std::string &theError) |
Sets the results of processing. More... | |
MODELAPI_EXPORT const std::list< std::shared_ptr< ModelAPI_ResultParameter > > & | params () const |
Returns the results of processing: list of parameters found in the expression. More... | |
MODELAPI_EXPORT bool | isProcessed () |
Returns true if the expression is processed. More... | |
MODELAPI_EXPORT const std::string & | error () const |
Returns the interpreter error (empty if no error) More... | |
const Events_ID & | eventID () 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... | |
static MODELAPI_EXPORT std::shared_ptr< ModelAPI_BuildEvalMessage > | send (FeaturePtr theParameter, const void *theSender) |
Useful method that creates and sends the event. More... | |
ModelAPI_BuildEvalMessage::ModelAPI_BuildEvalMessage | ( | const Events_ID | theID, |
const void * | theSender = 0 |
||
) |
Creates an empty message.
|
virtual |
The virtual destructor.
|
inlinestatic |
Static. Returns EventID of the message.
|
inlinestatic |
Useful method that creates and sends the event.
Returns the message, processed, with the resulting fields filled.
FeaturePtr ModelAPI_BuildEvalMessage::parameter | ( | ) | const |
Returns a parameter stored in the message.
void ModelAPI_BuildEvalMessage::setParameter | ( | FeaturePtr | theParam | ) |
Sets a parameter to the message.
void ModelAPI_BuildEvalMessage::setResults | ( | const std::list< std::shared_ptr< ModelAPI_ResultParameter > > & | theParamsList, |
const std::string & | theError | ||
) |
Sets the results of processing.
const std::list< std::shared_ptr< ModelAPI_ResultParameter > > & ModelAPI_BuildEvalMessage::params | ( | ) | const |
Returns the results of processing: list of parameters found in the expression.
bool ModelAPI_BuildEvalMessage::isProcessed | ( | ) |
Returns true if the expression is processed.
const std::string & ModelAPI_BuildEvalMessage::error | ( | ) | const |
Returns the interpreter error (empty if no error)
|
inlineinherited |
Returns identifier of the message.
|
inlineinherited |
Returns sender of the message or NULL if it is anonymous message.