blob: 68d0819f85cf236598b39a4fdd6e423f5ea8dab4 (
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
|
// File: MPrsStd.cxx
// Created: Tue Aug 26 17:34:14 1997
// Author: Guest Design
// <g_design@hankox.paris1.matra-dtv.fr>
#include <MPrsStd.ixx>
#include <MDF_ASDriverHSequence.hxx>
#include <MDF_ARDriverHSequence.hxx>
#include <MPrsStd_AISPresentationStorageDriver.hxx>
#include <MPrsStd_AISPresentationRetrievalDriver.hxx>
#include <MPrsStd_AISPresentationRetrievalDriver_1.hxx>
//#include <MPrsStd_AISViewerStorageDriver.hxx>
//#include <MPrsStd_AISViewerRetrievalDriver.hxx>
#include <MPrsStd_PositionStorageDriver.hxx>
#include <MPrsStd_PositionRetrievalDriver.hxx>
//=======================================================================
//function : AddStorageDriver
//purpose :
//=======================================================================
void MPrsStd::AddStorageDrivers
(const Handle(MDF_ASDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
{
aDriverSeq->Append(new MPrsStd_AISPresentationStorageDriver(theMsgDriver));
// aDriverSeq->Append(new MPrsStd_AISViewerStorageDriver());
aDriverSeq->Append(new MPrsStd_PositionStorageDriver(theMsgDriver));
}
//=======================================================================
//function : AddRetrievalDriver
//purpose :
//=======================================================================
void MPrsStd::AddRetrievalDrivers
(const Handle(MDF_ARDriverHSequence)& aDriverSeq, const Handle(CDM_MessageDriver)& theMsgDriver)
{
aDriverSeq->Append(new MPrsStd_AISPresentationRetrievalDriver(theMsgDriver));
aDriverSeq->Append(new MPrsStd_AISPresentationRetrievalDriver_1(theMsgDriver));
// aDriverSeq->Append(new MPrsStd_AISViewerRetrievalDriver());
aDriverSeq->Append(new MPrsStd_PositionRetrievalDriver(theMsgDriver));
}
|