LifeCycle_impl.h
Go to the documentation of this file.
1 /*
2  * This file is protected by Copyright. Please refer to the COPYRIGHT file
3  * distributed with this source distribution.
4  *
5  * This file is part of REDHAWK core.
6  *
7  * REDHAWK core is free software: you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by the
9  * Free Software Foundation, either version 3 of the License, or (at your
10  * option) any later version.
11  *
12  * REDHAWK core is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this program. If not, see http://www.gnu.org/licenses/.
19  */
20 
21 
22 #ifndef LIFECYCLE_IMPL_H
23 #define LIFECYCLE_IMPL_H
24 
25 #include "CF/cf.h"
26 #include "ossie/Autocomplete.h"
27 
28 
29 /*
30 The LifeCycle interface defines generic operations for component
31 initialization and and releasing instantiated objects.
32 
33  */
34 
36 #ifdef BEGIN_AUTOCOMPLETE_IGNORE
37  : public virtual POA_CF::LifeCycle
38 #endif
39 {
40 public:
42  };
43 
44  // Override this method with component specific initialization.
45  void initialize ()
46  throw (CF::LifeCycle::InitializeError, CORBA::SystemException);
47 
48  // Override this method with the code require to release the object.
49  void releaseObject ()
50  throw (CF::LifeCycle::ReleaseError, CORBA::SystemException);
51 
52 };
53 #endif /* */
LifeCycle_impl()
Definition: LifeCycle_impl.h:41
void releaseObject()
Definition: LifeCycle_impl.h:35