mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0029220: Application Framework - replace CDM_MessageDriver interface by Message_Messenger.
This commit is contained in:
@@ -19,14 +19,14 @@
|
||||
#include <BinMFunction_FunctionDriver.hxx>
|
||||
#include <BinMFunction_GraphNodeDriver.hxx>
|
||||
#include <BinMFunction_ScopeDriver.hxx>
|
||||
#include <CDM_MessageDriver.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : AddDrivers
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BinMFunction::AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable,
|
||||
const Handle(CDM_MessageDriver)& theMsgDriver)
|
||||
const Handle(Message_Messenger)& theMsgDriver)
|
||||
{
|
||||
theDriverTable->AddDriver (new BinMFunction_FunctionDriver (theMsgDriver) );
|
||||
theDriverTable->AddDriver (new BinMFunction_GraphNodeDriver (theMsgDriver) );
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#include <Standard_Handle.hxx>
|
||||
|
||||
class BinMDF_ADriverTable;
|
||||
class CDM_MessageDriver;
|
||||
class Message_Messenger;
|
||||
class BinMFunction_FunctionDriver;
|
||||
class BinMFunction_GraphNodeDriver;
|
||||
class BinMFunction_ScopeDriver;
|
||||
@@ -36,7 +36,7 @@ public:
|
||||
|
||||
|
||||
//! Adds the attribute drivers to <theDriverTable>.
|
||||
Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(CDM_MessageDriver)& aMsgDrv);
|
||||
Standard_EXPORT static void AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable, const Handle(Message_Messenger)& aMsgDrv);
|
||||
|
||||
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <BinObjMgt_Persistent.hxx>
|
||||
#include <BinObjMgt_RRelocationTable.hxx>
|
||||
#include <BinObjMgt_SRelocationTable.hxx>
|
||||
#include <CDM_MessageDriver.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TDF_Attribute.hxx>
|
||||
#include <TFunction_Function.hxx>
|
||||
@@ -31,7 +31,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMFunction_FunctionDriver,BinMDF_ADriver)
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
BinMFunction_FunctionDriver::BinMFunction_FunctionDriver
|
||||
(const Handle(CDM_MessageDriver)& theMsgDriver)
|
||||
(const Handle(Message_Messenger)& theMsgDriver)
|
||||
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TFunction_Function)->Name())
|
||||
{
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <BinObjMgt_RRelocationTable.hxx>
|
||||
#include <BinObjMgt_SRelocationTable.hxx>
|
||||
class CDM_MessageDriver;
|
||||
class Message_Messenger;
|
||||
class TDF_Attribute;
|
||||
class BinObjMgt_Persistent;
|
||||
|
||||
@@ -38,7 +38,7 @@ class BinMFunction_FunctionDriver : public BinMDF_ADriver
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT BinMFunction_FunctionDriver(const Handle(CDM_MessageDriver)& theMessageDriver);
|
||||
Standard_EXPORT BinMFunction_FunctionDriver(const Handle(Message_Messenger)& theMessageDriver);
|
||||
|
||||
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <BinObjMgt_Persistent.hxx>
|
||||
#include <BinObjMgt_RRelocationTable.hxx>
|
||||
#include <BinObjMgt_SRelocationTable.hxx>
|
||||
#include <CDM_MessageDriver.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
#include <TColStd_MapIteratorOfMapOfInteger.hxx>
|
||||
@@ -32,7 +32,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMFunction_GraphNodeDriver,BinMDF_ADriver)
|
||||
//function : BinMFunction_GraphNodeDriver
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
BinMFunction_GraphNodeDriver::BinMFunction_GraphNodeDriver(const Handle(CDM_MessageDriver)& theMsgDriver)
|
||||
BinMFunction_GraphNodeDriver::BinMFunction_GraphNodeDriver(const Handle(Message_Messenger)& theMsgDriver)
|
||||
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TFunction_GraphNode)->Name())
|
||||
{
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <BinObjMgt_RRelocationTable.hxx>
|
||||
#include <BinObjMgt_SRelocationTable.hxx>
|
||||
class CDM_MessageDriver;
|
||||
class Message_Messenger;
|
||||
class TDF_Attribute;
|
||||
class BinObjMgt_Persistent;
|
||||
|
||||
@@ -38,7 +38,7 @@ class BinMFunction_GraphNodeDriver : public BinMDF_ADriver
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT BinMFunction_GraphNodeDriver(const Handle(CDM_MessageDriver)& theMessageDriver);
|
||||
Standard_EXPORT BinMFunction_GraphNodeDriver(const Handle(Message_Messenger)& theMessageDriver);
|
||||
|
||||
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <BinObjMgt_Persistent.hxx>
|
||||
#include <BinObjMgt_RRelocationTable.hxx>
|
||||
#include <BinObjMgt_SRelocationTable.hxx>
|
||||
#include <CDM_MessageDriver.hxx>
|
||||
#include <Message_Messenger.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
#include <TColStd_Array1OfInteger.hxx>
|
||||
#include <TDF_Attribute.hxx>
|
||||
@@ -34,7 +34,7 @@ IMPLEMENT_STANDARD_RTTIEXT(BinMFunction_ScopeDriver,BinMDF_ADriver)
|
||||
//function : BinMFunction_GraphNodeDriver
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
BinMFunction_ScopeDriver::BinMFunction_ScopeDriver(const Handle(CDM_MessageDriver)& theMsgDriver)
|
||||
BinMFunction_ScopeDriver::BinMFunction_ScopeDriver(const Handle(Message_Messenger)& theMsgDriver)
|
||||
: BinMDF_ADriver (theMsgDriver, STANDARD_TYPE(TFunction_Scope)->Name())
|
||||
{
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <BinObjMgt_RRelocationTable.hxx>
|
||||
#include <BinObjMgt_SRelocationTable.hxx>
|
||||
class CDM_MessageDriver;
|
||||
class Message_Messenger;
|
||||
class TDF_Attribute;
|
||||
class BinObjMgt_Persistent;
|
||||
|
||||
@@ -38,7 +38,7 @@ class BinMFunction_ScopeDriver : public BinMDF_ADriver
|
||||
public:
|
||||
|
||||
|
||||
Standard_EXPORT BinMFunction_ScopeDriver(const Handle(CDM_MessageDriver)& theMessageDriver);
|
||||
Standard_EXPORT BinMFunction_ScopeDriver(const Handle(Message_Messenger)& theMessageDriver);
|
||||
|
||||
Standard_EXPORT virtual Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
|
||||
|
||||
|
Reference in New Issue
Block a user