00001 // OSB library ************************************************ -*- C++ -*- 00006 /* 00007 AUTHOR(S): Stephan Broennimann (vb) 00008 00009 RCS information 00010 $Name: OSB_060808 $ 00011 $Revision: 1.8 $ 00012 00013 License 00014 OSB rating and billing library for communication networks 00015 Copyright (C) 2004, 2005, 2006 OSB systems 00016 00017 This file may be distributed and/or modify under the terms of the 00018 GNU General Public License (GPL) as published by the Free Software 00019 Foundation which is provided in the file LICENSE.GPL included in the 00020 packaging of this file. 00021 00022 The file is distributed in the hope that it will be useful, but WITHOUT 00023 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00024 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00025 for more details. 00026 00027 Holders of a OSB Commercial License may use this file under the terms 00028 and conditions of this commercial license. 00029 */ 00030 #ifndef _CORBA_STATUS_H_ 00031 #define _CORBA_STATUS_H_ 00032 00033 // ************************************************************************ 00034 // included header files 00035 // + standard includes 00036 00037 // + libraries 00038 #include <status.h> 00039 00040 // + local headers 00041 #include "corba_statusC.h" 00042 00043 // + class declarations 00044 namespace OSB_LIB { 00045 class StatusChanges; 00046 class StatusRequest; 00047 class StatusRequests; 00048 } 00049 00050 // ************************************************************************ 00051 // namespace extensions 00052 namespace OSB_CORBA { 00053 using corba::cadmin::StatusChange; 00054 using corba::cadmin::StatusHistory; 00055 using corba::cadmin::StatusRequest; 00056 using corba::cadmin::StatusValue; 00057 00058 // ************************************************************************ 00059 // forward declarations 00060 00061 // ************************************************************************ 00062 // type definitions 00063 00064 // ************************************************************************ 00065 // class definitions 00066 00074 StatusValue statusValue( 00075 const OSB_LIB::StatusValue status 00076 ); 00077 00085 OSB_LIB::StatusValue statusValue( 00086 const OSB_CORBA::StatusValue status 00087 ); 00095 StatusChange statChange( 00096 const OSB_LIB::StatusChange& sc 00097 ); 00098 00107 OSB_LIB::StatusRequest statRequest( 00108 const StatusRequest& request 00109 ); 00110 00117 StatusRequest statRequest( 00118 const OSB_LIB::StatusRequest& sr 00119 ); 00120 00131 StatusHistory* statusHistory( 00132 const OSB_LIB::StatusRequests& srList, 00133 const OSB_LIB::StatusChanges& scList 00134 ); 00135 } // namespace OSB_CORBA 00136 00137 // ************************************************************************ 00138 // inline definitions 00139 namespace OSB_CORBA { 00140 } // namespace OSB_CORBA 00141 #endif // #ifndef _CORBA_STATUS_H_