Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

LogAdministrator_Impl.h

Go to the documentation of this file.
00001 00030 // LogState includes all we need 00031 #include "LogState.h" 00032 #include "BP_CosLw_Log.h" 00033 #include <pthread.h> 00034 00035 00047 class LogAdministrator_Impl: 00048 virtual public POA_CosLwLog::LogAdministrator 00049 { 00050 00051 public: 00053 LogAdministrator_Impl(LogState& log_state, CORBA::ORB_ptr orb); 00054 00056 virtual ~LogAdministrator_Impl(); 00057 00066 virtual void set_max_size(CORBA::ULongLong size) 00067 throw(CosLwLog::InvalidParam, CORBA::SystemException); 00068 00077 virtual void set_log_full_action( 00078 CosLwLog::LogFullAction action 00079 ) 00080 throw(CORBA::SystemException); 00081 00090 virtual void set_administrative_state( 00091 CosLwLog::AdministrativeState state 00092 ) 00093 throw(CORBA::SystemException); 00094 00102 virtual void clear_log() throw (CORBA::SystemException); 00103 00114 virtual void destroy() throw (CORBA::SystemException); 00115 00116 00123 virtual CORBA::ULongLong get_max_size() 00124 throw(CORBA::SystemException); 00125 00132 virtual CORBA::ULongLong get_current_size() 00133 throw(CORBA::SystemException); 00134 00145 virtual CORBA::ULongLong get_n_records() 00146 throw(CORBA::SystemException); 00147 00154 virtual CosLwLog::LogFullAction get_log_full_action() 00155 throw(CORBA::SystemException); 00156 00163 virtual CosLwLog::AvailabilityStatus get_availability_status() 00164 throw(CORBA::SystemException); 00165 00172 virtual CosLwLog::AdministrativeState get_administrative_state() 00173 throw(CORBA::SystemException); 00174 00181 virtual CosLwLog::OperationalState get_operational_state() 00182 throw(CORBA::SystemException); 00183 00184 private: 00185 00187 LogState& _log_state; 00188 00190 CORBA::ORB_var _orb; 00191 };