// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _ShapeExtend_BasicMsgRegistrator_HeaderFile #define _ShapeExtend_BasicMsgRegistrator_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_DefineHandle_HeaderFile #include #endif #ifndef _Handle_ShapeExtend_BasicMsgRegistrator_HeaderFile #include #endif #ifndef _MMgt_TShared_HeaderFile #include #endif #ifndef _Handle_Standard_Transient_HeaderFile #include #endif #ifndef _Message_Gravity_HeaderFile #include #endif class Standard_Transient; class Message_Msg; class TopoDS_Shape; //! Abstract class that can be used for attaching messages
//! to the objects (e.g. shapes).
//! It is used by ShapeHealing algorithms to attach a message
//! describing encountered case (e.g. removing small edge from
//! a wire).
class ShapeExtend_BasicMsgRegistrator : public MMgt_TShared { public: //! Empty constructor.
Standard_EXPORT ShapeExtend_BasicMsgRegistrator(); //! Sends a message to be attached to the object.
//! Object can be of any type interpreted by redefined MsgRegistrator.
Standard_EXPORT virtual void Send(const Handle(Standard_Transient)& object,const Message_Msg& message,const Message_Gravity gravity) ; //! Sends a message to be attached to the shape.
Standard_EXPORT virtual void Send(const TopoDS_Shape& shape,const Message_Msg& message,const Message_Gravity gravity) ; //! Calls Send method with Null Transient.
Standard_EXPORT virtual void Send(const Message_Msg& message,const Message_Gravity gravity) ; DEFINE_STANDARD_RTTI(ShapeExtend_BasicMsgRegistrator) protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif