occt: master 6522304c

Author Committer Branch Timestamp Parent
nds bugmaster master 2020-10-02 11:17:59 master dba98873
Affected Issues  0029451: Information Message Alert to debug an algorithm or object functionality
Changeset 0029451: Information Message Alert to debug an algorithm or object functionality

- Added possibility to send stream information and transient object into Message_Messenger. Message_Printer will process it if needed.
- Add Message_PrinterToReport to send messenger information into Message_Report.
- Extended Message_Report to collect hierarchical alerts, to be able to collect some metrics during alerts processing.
- Added Message_AlertExtended to prepare hierarchical alerts with custom attributes. One attribute for one alert.
- Added Message_CompositeAlerts class to handle a container of alerts.
- Added Message_Level to start a new hierarchical level by creating an instance, stop by destricting.
- Added Message_Attribute and inheritors to store custom information about alert like object, stream, shape, some metrics.
- Implement Message_AttributeAlert to collect start/stop information about active metrics of Message_Report. This kind of attribute is created if at least one metric is active in the report.
- Add Message_MetricType enumeration with possible kinds of metrics in report.
- Implement DumpJson for Message_Report to store all collected alerts into stream.
- Added draw commands for Message_Report, Message_Messenger.
mod - src/Draw/Draw.cxx Diff File
mod - src/Draw/Draw.hxx Diff File
mod - src/Draw/Draw_Commands.cxx Diff File
add - src/Draw/Draw_MessageCommands.cxx Diff File
mod - src/Draw/FILES Diff File
mod - src/Message/FILES Diff File
mod - src/Message/Message.cxx Diff File
mod - src/Message/Message.hxx Diff File
mod - src/Message/Message_Alert.cxx Diff File
mod - src/Message/Message_Alert.hxx Diff File
add - src/Message/Message_AlertExtended.cxx Diff File
add - src/Message/Message_AlertExtended.hxx Diff File
add - src/Message/Message_Attribute.cxx Diff File
add - src/Message/Message_Attribute.hxx Diff File
add - src/Message/Message_AttributeMeter.cxx Diff File
add - src/Message/Message_AttributeMeter.hxx Diff File
add - src/Message/Message_AttributeObject.cxx Diff File
add - src/Message/Message_AttributeObject.hxx Diff File
add - src/Message/Message_AttributeStream.cxx Diff File
add - src/Message/Message_AttributeStream.hxx Diff File
add - src/Message/Message_CompositeAlerts.cxx Diff File
add - src/Message/Message_CompositeAlerts.hxx Diff File
add - src/Message/Message_Level.cxx Diff File
add - src/Message/Message_Level.hxx Diff File
mod - src/Message/Message_Messenger.cxx Diff File
mod - src/Message/Message_Messenger.hxx Diff File
add - src/Message/Message_MetricType.hxx Diff File
mod - src/Message/Message_Printer.cxx Diff File
mod - src/Message/Message_Printer.hxx Diff File
add - src/Message/Message_PrinterToReport.cxx Diff File
add - src/Message/Message_PrinterToReport.hxx Diff File
mod - src/Message/Message_Report.cxx Diff File
mod - src/Message/Message_Report.hxx Diff File
mod - src/TopoDS/FILES Diff File
add - src/TopoDS/TopoDS_AlertAttribute.cxx Diff File
add - src/TopoDS/TopoDS_AlertAttribute.hxx Diff File
add - tests/demo/draw/messenger Diff File