Go to the documentation of this file.00001 #ifndef logging_acs_log_i_H
00002 #define logging_acs_log_i_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef __cplusplus
00031 #error This is a C++ include file and cannot be used from plain C
00032 #endif
00033
00034 #include <time.h>
00035
00036 #include <acsutil.h>
00037
00038 #include <orbsvcs/Log/BasicLog_i.h>
00039
00040 #include <logging_idlC.h>
00041
00042 #include "loggingACSStructuredPushSupplier.h"
00043
00044 #define LOG_BIN_TYPE 0
00045 #define LOG_XML_TYPE 1
00046
00050 class ACSLog_i : public TAO_BasicLog_i
00051 {
00052
00053 public:
00054
00058 ACSLog_i (CORBA::ORB_ptr orb,
00059 PortableServer::POA_ptr poa,
00060 TAO_LogMgr_i &logmgr_i,
00061 DsLogAdmin::LogMgr_ptr factory,
00062 DsLogAdmin::LogId id);
00063
00067 ~ACSLog_i();
00068
00072 virtual void
00073 set_logging_supplier(ACSStructuredPushSupplier* supplier)
00074 {
00075 m_logging_supplier = supplier;
00076 }
00077
00085 void
00086 write_recordlist (const DsLogAdmin::RecordList & list);
00087
00088 protected:
00089
00090 bool m_logBin;
00092 ACSStructuredPushSupplier* m_logging_supplier;
00093 Logging::LogStatistics logStat;
00096 char *supOutput;
00097 };
00098
00099
00100 #endif