Open CASCADE Technology 6.6.0
Public Member Functions
ShapeExtend_MsgRegistrator Class Reference

Attaches messages to the objects (generic Transient or shape).
The objects of this class are transmitted to the Shape Healing
algorithms so that they could collect messages occurred during
processing.

Messages are added to the Maps (stored as a field) that can be
used, for instance, by Data Exchange processors to attach those
messages to initial file entities.

#include <ShapeExtend_MsgRegistrator.hxx>

Inheritance diagram for ShapeExtend_MsgRegistrator:
Inheritance graph
[legend]

Public Member Functions

 ShapeExtend_MsgRegistrator ()
 Creates an object.

virtual void Send (const Handle< Standard_Transient > &object, const Message_Msg &message, const Message_Gravity gravity)
 Sends a message to be attached to the object.
If the object is in the map then the message is added to the
list, otherwise the object is firstly added to the map.

virtual void Send (const TopoDS_Shape &shape, const Message_Msg &message, const Message_Gravity gravity)
 Sends a message to be attached to the shape.
If the shape is in the map then the message is added to the
list, otherwise the shape is firstly added to the map.

const
ShapeExtend_DataMapOfTransientListOfMsg
MapTransient () const
 Returns a Map of objects and message list

const
ShapeExtend_DataMapOfShapeListOfMsg
MapShape () const
 Returns a Map of shapes and message list


Constructor & Destructor Documentation

ShapeExtend_MsgRegistrator::ShapeExtend_MsgRegistrator ( )

Member Function Documentation

const ShapeExtend_DataMapOfShapeListOfMsg& ShapeExtend_MsgRegistrator::MapShape ( ) const
const ShapeExtend_DataMapOfTransientListOfMsg& ShapeExtend_MsgRegistrator::MapTransient ( ) const
virtual void ShapeExtend_MsgRegistrator::Send ( const Handle< Standard_Transient > &  object,
const Message_Msg message,
const Message_Gravity  gravity 
) [virtual]

Reimplemented from ShapeExtend_BasicMsgRegistrator.

virtual void ShapeExtend_MsgRegistrator::Send ( const TopoDS_Shape shape,
const Message_Msg message,
const Message_Gravity  gravity 
) [virtual]

Reimplemented from ShapeExtend_BasicMsgRegistrator.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines