Changeset 21025
- Timestamp:
- 02/10/08 07:39:15 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/tweek/tweek/CORBA/SubjectManagerImpl.cpp
r21013 r21025 300 300 } 301 301 302 SubjectManagerImpl::SubjectManagerImpl(const SubjectManagerImpl& sm)303 :304 #if defined(TWEEK_USE_OMNIORB)305 omniServant(sm)306 , tweek::_impl_SubjectManager(sm)307 ,308 #elif defined(TWEEK_USE_TAO)309 TAO_Abstract_ServantBase(sm)310 ,311 #endif312 PortableServer::ServantBase(sm)313 , POA_tweek::SubjectManager(sm)314 , PortableServer::RefCountServantBase(sm)315 , mCorbaMgr(sm.mCorbaMgr)316 , mName(sm.mName)317 , mInfoMap(sm.mInfoMap)318 {319 /* Do nothing. */ ;320 }321 322 302 } // End of tweek namespace juggler/trunk/modules/tweek/tweek/CORBA/SubjectManagerImpl.h
r21013 r21025 32 32 #include <string> 33 33 #include <map> 34 #include <boost/noncopyable.hpp> 35 34 36 #include <vpr/vpr.h> 35 37 #include <vpr/Sync/Mutex.h> … … 56 58 */ 57 59 class TWEEK_CLASS_API SubjectManagerImpl 58 : public POA_tweek::SubjectManager 60 : private boost::noncopyable 61 , public POA_tweek::SubjectManager 59 62 , public PortableServer::RefCountServantBase 60 63 { … … 184 187 SubjectManagerImpl(const CorbaManager& corbaMgr, const std::string& name); 185 188 186 // These two have to be here because Visual C++ will try to make them187 // exported public symbols. This causes problems because copying188 // vpr::Mutex objects is not allowed.189 SubjectManagerImpl(const SubjectManagerImpl& sm);190 191 void operator=(const SubjectManagerImpl&)192 {193 /* Do nothing. */ ;194 }195 196 189 void storeSubject(Subject_ptr subject, const std::string& name); 197 190
