SALOME documentation central
src/DSC/DSC_User/port_factory.hxx
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _PORT_FACTORY_HXX
00027 #define _PORT_FACTORY_HXX
00028
00029 #include "base_port.hxx"
00030 #include "uses_port.hxx"
00031 #include "provides_port.hxx"
00032
00033 #include <string>
00034
00039 class port_factory {
00040 public:
00041 virtual ~port_factory() {}
00042
00049 virtual provides_port * create_data_servant(std::string type) = 0;
00050
00057 virtual uses_port * create_data_proxy(std::string type) = 0;
00058 };
00059
00060 #endif
00061
Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS