File indexing completed on 2026-09-09 09:16:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _ShapeExtend_MsgRegistrator_HeaderFile
0017 #define _ShapeExtend_MsgRegistrator_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <ShapeExtend_DataMapOfTransientListOfMsg.hxx>
0023 #include <ShapeExtend_DataMapOfShapeListOfMsg.hxx>
0024 #include <ShapeExtend_BasicMsgRegistrator.hxx>
0025 #include <Message_Gravity.hxx>
0026 class Standard_Transient;
0027 class Message_Msg;
0028 class TopoDS_Shape;
0029
0030 class ShapeExtend_MsgRegistrator;
0031 DEFINE_STANDARD_HANDLE(ShapeExtend_MsgRegistrator, ShapeExtend_BasicMsgRegistrator)
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041 class ShapeExtend_MsgRegistrator : public ShapeExtend_BasicMsgRegistrator
0042 {
0043
0044 public:
0045
0046 Standard_EXPORT ShapeExtend_MsgRegistrator();
0047
0048
0049
0050
0051 Standard_EXPORT virtual void Send(const Handle(Standard_Transient)& object,
0052 const Message_Msg& message,
0053 const Message_Gravity gravity) Standard_OVERRIDE;
0054
0055
0056
0057
0058 Standard_EXPORT virtual void Send(const TopoDS_Shape& shape,
0059 const Message_Msg& message,
0060 const Message_Gravity gravity) Standard_OVERRIDE;
0061
0062
0063 const ShapeExtend_DataMapOfTransientListOfMsg& MapTransient() const;
0064
0065
0066 const ShapeExtend_DataMapOfShapeListOfMsg& MapShape() const;
0067
0068 DEFINE_STANDARD_RTTIEXT(ShapeExtend_MsgRegistrator, ShapeExtend_BasicMsgRegistrator)
0069
0070 protected:
0071 private:
0072 ShapeExtend_DataMapOfTransientListOfMsg myMapTransient;
0073 ShapeExtend_DataMapOfShapeListOfMsg myMapShape;
0074 };
0075
0076 #include <ShapeExtend_MsgRegistrator.lxx>
0077
0078 #endif