// 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

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_ShapeExtend_BasicMsgRegistrator.hxx>

#include <MMgt_TShared.hxx>
#include <Handle_Standard_Transient.hxx>
#include <Message_Gravity.hxx>
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).
//!
//! The methods of this class are empty and redefined, for instance,
//! in the classes for Data Exchange processors for attaching
//! messages to interface file entities or CAS.CADE shapes.
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: 




};







#endif // _ShapeExtend_BasicMsgRegistrator_HeaderFile
