blob: cb87907a443f0a8eb9e408c80287385192150251 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
#include <Transfer_ActorDispatch.ixx>
#include <Transfer_TransientProcess.hxx>
Transfer_ActorDispatch::Transfer_ActorDispatch
(const Handle(Interface_InterfaceModel)& amodel,
const Interface_GeneralLib& lib)
: thetool (amodel,lib)
{
SetLast(Standard_True); // actor par defaut
thetool.TransientProcess()->SetActor(this);
}
Transfer_ActorDispatch::Transfer_ActorDispatch
(const Handle(Interface_InterfaceModel)& amodel,
const Handle(Interface_Protocol)& protocol)
: thetool (amodel,protocol)
{
SetLast(Standard_True); // actor par defaut
thetool.TransientProcess()->SetActor(this);
}
Transfer_ActorDispatch::Transfer_ActorDispatch
(const Handle(Interface_InterfaceModel)& amodel)
: thetool (amodel)
{
SetLast(Standard_True); // actor par defaut
thetool.TransientProcess()->SetActor(this);
}
void Transfer_ActorDispatch::AddActor
(const Handle(Transfer_ActorOfTransientProcess)& actor)
{ thetool.TransientProcess()->SetActor(actor); }
Transfer_TransferDispatch& Transfer_ActorDispatch::TransferDispatch ()
{ return thetool; }
Handle(Transfer_Binder) Transfer_ActorDispatch::Transfer
(const Handle(Standard_Transient)& start,
const Handle(Transfer_TransientProcess)& /*TP*/)
{
thetool.TransferEntity(start);
return thetool.TransientProcess()->Find(start);
}
|