2 * LifeCycle Service for MICO
3 * Copyright (C) 1999 Dmitry V. Sedov
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the Free
17 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 * Send comments and/or bug reports to:
20 * mico@informatik.uni-frankfurt.de
21 * or to my private e-mail:
22 * sedov@postman.simcb.ru
26 #ifndef __CosCompoundLifeCycle_Role_impl_h__
27 #define __CosCompoundLifeCycle_Role_impl_h__
29 #include <coss/CosCompoundLifeCycle.h>
30 #include <coss/GraphsRole_impl.h>
32 namespace CosCompoundLifeCycle_impl {
33 class Role_impl : virtual public CosGraphs_impl::Role_impl,
34 virtual public POA_CosCompoundLifeCycle::Role
38 CosLifeCycle::Key factory_id_;
41 Role_impl(CosRelationships::RelatedObject_ptr obj);
42 virtual CosCompoundLifeCycle::Role_ptr copy_role(CosLifeCycle::FactoryFinder_ptr there,
43 const CosLifeCycle::Criteria& the_criteria);
45 virtual void move_role(CosLifeCycle::FactoryFinder_ptr there,
46 const CosLifeCycle::Criteria& the_criteria);
52 #endif /* __CosCompoundLifeCycle_Role_impl_h__ */