CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/FWCore/ServiceRegistry/src/ServiceToken.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:     ServiceRegistry
00004 // Class  :     ServiceToken
00005 // 
00006 // Implementation:
00007 //     <Notes on implementation>
00008 //
00009 // Original Author:  Chris Jones
00010 //         Created:  Thu Sep  8 04:26:12 EDT 2005
00011 // $Id: ServiceToken.cc,v 1.3 2006/08/08 00:37:39 chrjones Exp $
00012 //
00013 
00014 // system include files
00015 
00016 // user include files
00017 #include "FWCore/ServiceRegistry/interface/ServiceToken.h"
00018 #include "FWCore/ServiceRegistry/interface/ServicesManager.h"
00019 
00020 
00021 //
00022 // constants, enums and typedefs
00023 //
00024 
00025 //
00026 // static data member definitions
00027 //
00028 
00029 //
00030 // constructors and destructor
00031 //
00032 //ServiceToken::ServiceToken()
00033 //{
00034 //}
00035    
00036 // ServiceToken::ServiceToken(const ServiceToken& rhs)
00037 // {
00038 //    // do actual copying here;
00039 // }
00040 
00041 //ServiceToken::~ServiceToken()
00042 //{
00043 //}
00044    
00045 //
00046 // assignment operators
00047 //
00048 // const ServiceToken& ServiceToken::operator=(const ServiceToken& rhs)
00049 // {
00050 //   //An exception safe implementation is
00051 //   ServiceToken temp(rhs);
00052 //   swap(rhs);
00053 //
00054 //   return *this;
00055 // }
00056 
00057 //
00058 // member functions
00059 //
00060 void
00061 edm::ServiceToken::connectTo(edm::ActivityRegistry& iConnectTo)
00062 {
00063    if(0!=manager_.get()){
00064       manager_->connectTo(iConnectTo);
00065    }
00066 }
00067 void
00068 edm::ServiceToken::connect(edm::ActivityRegistry& iConnectTo)
00069 {
00070    if(0!=manager_.get()){
00071       manager_->connect(iConnectTo);
00072    }
00073 }
00074 
00075 void
00076 edm::ServiceToken::copySlotsTo(edm::ActivityRegistry& iConnectTo)
00077 {
00078   if(0!=manager_.get()){
00079     manager_->copySlotsTo(iConnectTo);
00080   }
00081 }
00082 void
00083 edm::ServiceToken::copySlotsFrom(edm::ActivityRegistry& iConnectTo)
00084 {
00085   if(0!=manager_.get()){
00086     manager_->copySlotsFrom(iConnectTo);
00087   }
00088 }
00089 
00090 //
00091 // const member functions
00092 //
00093 
00094 //
00095 // static member functions
00096 //