summaryrefslogtreecommitdiff
path: root/src/BinMFunction/BinMFunction.cxx
blob: d3546da49f124c943f7c2d9b69f880a37c99f13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// File:	BinMFunction.cxx
// Created:	Thu May 13 15:16:24 2004
// Author:	Sergey ZARITCHNY <szy@opencascade.com>
// Copyright:	Open CasCade S.A. 2004

#include <BinMFunction.ixx>
#include <BinMDF_ADriverTable.hxx>
#include <CDM_MessageDriver.hxx>
#include <BinMFunction_FunctionDriver.hxx>
#include <BinMFunction_GraphNodeDriver.hxx>
#include <BinMFunction_ScopeDriver.hxx>

//=======================================================================
//function : AddDrivers
//purpose  : 
//=======================================================================

void BinMFunction::AddDrivers (const Handle(BinMDF_ADriverTable)& theDriverTable,
			       const Handle(CDM_MessageDriver)&   theMsgDriver)
{
  theDriverTable->AddDriver (new BinMFunction_FunctionDriver  (theMsgDriver) );
  theDriverTable->AddDriver (new BinMFunction_GraphNodeDriver (theMsgDriver) );
  theDriverTable->AddDriver (new BinMFunction_ScopeDriver     (theMsgDriver) );
}