OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / include / coss / LifeNode_impl.h
1 /*
2  *  LifeCycle Service for MICO
3  *  Copyright (C) 1999 Dmitry V. Sedov
4  *
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.
9  *
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.
14  *
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.
18  *
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
23  */
24
25 #ifndef __CosCompoundLifeCycle_Node_impl_h__
26 #define __CosCompoundLifeCycle_Node_impl_h__
27
28 #include <coss/CosCompoundLifeCycle.h>
29 #include <coss/Node_impl.h>
30
31 namespace CosCompoundLifeCycle_impl {
32     class Node_impl : virtual public ::Node_impl, 
33                       virtual public POA_CosCompoundLifeCycle::Node
34     {
35     protected:
36         CosLifeCycle::Key factory_id_;
37
38     public:
39         Node_impl ();
40         Node_impl (CosRelationships::RelatedObject_ptr obj);
41
42         virtual void copy_node(CosLifeCycle::FactoryFinder_ptr there,
43                                const CosLifeCycle::Criteria& the_criteria,
44                                CosCompoundLifeCycle::Node_out new_node,
45                                CosGraphs::Node::Roles_out roles_of_new_node);
46
47         virtual void move_node(CosLifeCycle::FactoryFinder_ptr there,
48                                const CosLifeCycle::Criteria& the_criteria);
49
50         virtual void remove_node();
51
52         virtual CosLifeCycle::LifeCycleObject_ptr get_life_cycle_object();
53     };
54 };
55
56 #endif  /* __CosCompoundLifeCycle_Node_impl_h__ */