SHAPER  9.12.0
ModelAPI_SolverFailedMessage Class Reference

Message that sends the sketch solver and sketcher GUI processes to show in the property panel. More...

Inheritance diagram for ModelAPI_SolverFailedMessage:
Inheritance graph

Public Member Functions

MODELAPI_EXPORT ModelAPI_SolverFailedMessage (const Events_ID theID, const void *theSender=0)
 Creates an message. More...
 
virtual MODELAPI_EXPORT ~ModelAPI_SolverFailedMessage ()
 Default destructor. More...
 
MODELAPI_EXPORT void setObjects (const std::set< ObjectPtr > &theObjects)
 Sets list of conflicting constraints. More...
 
MODELAPI_EXPORT const std::set< ObjectPtr > & objects () const
 Returns list of conflicting constraints. More...
 
void dof (const int theDOF)
 Sets degrees of freedom. More...
 
const int & dof () const
 Returns degrees of freedom. 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...
 

Detailed Description

Message that sends the sketch solver and sketcher GUI processes to show in the property panel.

Constructor & Destructor Documentation

◆ ModelAPI_SolverFailedMessage()

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

Creates an message.

◆ ~ModelAPI_SolverFailedMessage()

ModelAPI_SolverFailedMessage::~ModelAPI_SolverFailedMessage ( )
virtual

Default destructor.

Member Function Documentation

◆ setObjects()

void ModelAPI_SolverFailedMessage::setObjects ( const std::set< ObjectPtr > &  theObjects)

Sets list of conflicting constraints.

◆ objects()

const std::set< ObjectPtr > & ModelAPI_SolverFailedMessage::objects ( ) const

Returns list of conflicting constraints.

◆ dof() [1/2]

void ModelAPI_SolverFailedMessage::dof ( const int  theDOF)
inline

Sets degrees of freedom.

◆ dof() [2/2]

const int& ModelAPI_SolverFailedMessage::dof ( ) const
inline

Returns degrees of freedom.

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