00001 // $Id: SoConversionSvc.h,v 1.5 2008/07/23 14:04:22 truf Exp $ 00002 // ============================================================================ 00003 // CVS tag $Name: v9r5 $ 00004 // ============================================================================ 00005 // $Log: SoConversionSvc.h,v $ 00006 // Revision 1.5 2008/07/23 14:04:22 truf 00007 // *** empty log message *** 00008 // 00009 // Revision 1.4 2006/12/21 10:17:21 gybarran 00010 // *** empty log message *** 00011 // 00012 // Revision 1.3 2004/08/26 08:58:45 ranjard 00013 // v7r0 - use Gaudi v15r1 00014 // 00015 // Revision 1.2 2004/03/18 15:31:05 gybarran 00016 // *** empty log message *** 00017 // 00018 // Revision 1.1 2002/05/31 12:41:30 barrand 00019 // G.Barrand : toward Panoramix 4 00020 // 00021 // Revision 1.3 2001/12/12 15:41:54 ibelyaev 00022 // minor changes to visualize arbitrary DetElem 00023 // 00024 // ============================================================================ 00025 #ifndef SoConversionSvc_h 00026 #define SoConversionSvc_h 00027 00028 // Inheritance : 00029 #include <GaudiKernel/ConversionSvc.h> 00030 #include <OnXSvc/ISoConversionSvc.h> 00031 00032 template <class T> class SvcFactory; 00033 00034 class SoConversionSvc : 00035 public ConversionSvc, public ISoConversionSvc { 00036 friend class SvcFactory<SoConversionSvc>; 00037 public: //IInterface 00038 StatusCode queryInterface(const InterfaceID&,void**); 00039 public: //IService 00040 virtual StatusCode initialize(); 00041 public: 00042 00050 virtual StatusCode createRep 00051 ( DataObject* Object , 00052 IOpaqueAddress*& Address ) ; 00053 00054 virtual StatusCode fillRepRefs 00055 ( IOpaqueAddress* /* Address */ , 00056 DataObject* /* Object */ ) 00057 { return StatusCode::SUCCESS; } 00058 00059 virtual StatusCode UpdateRepRefs 00060 ( IOpaqueAddress* /* Address */ , 00061 DataObject* /* Object */ ) 00062 { return StatusCode::SUCCESS; } 00063 00064 virtual StatusCode updateRepRefs 00065 ( IOpaqueAddress* /* pAddress */ , 00066 DataObject* /* pObject */ ) 00067 { return StatusCode::SUCCESS; } 00068 00069 protected: 00070 SoConversionSvc(const std::string&,ISvcLocator*); 00071 virtual ~SoConversionSvc(); 00072 }; 00073 00074 #endif 00075