00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/ 00009 #include "MonitorFactory.h" 00010 00011 namespace OpenDDS { 00012 namespace DCPS { 00013 00014 // Implementation skeleton constructor 00015 MonitorFactory::MonitorFactory() 00016 { 00017 } 00018 00019 // Implementation skeleton destructor 00020 MonitorFactory::~MonitorFactory() 00021 { 00022 } 00023 00024 OpenDDS::DCPS::Monitor* 00025 MonitorFactory::create_sp_monitor(Service_Participant*) 00026 { 00027 return 0; 00028 } 00029 00030 OpenDDS::DCPS::Monitor* 00031 MonitorFactory::create_dp_monitor(DomainParticipantImpl*) 00032 { 00033 return 0; 00034 } 00035 00036 OpenDDS::DCPS::Monitor* 00037 MonitorFactory::create_topic_monitor(TopicImpl*) 00038 { 00039 return 0; 00040 } 00041 00042 OpenDDS::DCPS::Monitor* 00043 MonitorFactory::create_publisher_monitor(PublisherImpl*) 00044 { 00045 return 0; 00046 } 00047 00048 OpenDDS::DCPS::Monitor* 00049 MonitorFactory::create_subscriber_monitor(SubscriberImpl*) 00050 { 00051 return 0; 00052 } 00053 00054 OpenDDS::DCPS::Monitor* 00055 MonitorFactory::create_data_writer_monitor(DataWriterImpl*) 00056 { 00057 return 0; 00058 } 00059 00060 OpenDDS::DCPS::Monitor* 00061 MonitorFactory::create_data_writer_periodic_monitor(DataWriterImpl*) 00062 { 00063 return 0; 00064 } 00065 00066 OpenDDS::DCPS::Monitor* 00067 MonitorFactory::create_data_reader_monitor(DataReaderImpl*) 00068 { 00069 return 0; 00070 } 00071 00072 OpenDDS::DCPS::Monitor* 00073 MonitorFactory::create_data_reader_periodic_monitor(DataReaderImpl*) 00074 { 00075 return 0; 00076 } 00077 00078 OpenDDS::DCPS::Monitor* 00079 MonitorFactory::create_transport_monitor(TransportImpl*) 00080 { 00081 return 0; 00082 } 00083 00084 void 00085 MonitorFactory::initialize() 00086 { 00087 } 00088 00089 int 00090 MonitorFactory::service_initialize() 00091 { 00092 return ACE_Service_Config::process_directive(ace_svc_desc_MonitorFactory); 00093 } 00094 00095 } // namespace DCPS 00096 } // namespace OpenDDS 00097 00098 using namespace OpenDDS::DCPS; 00099 00100 00101 ACE_FACTORY_DEFINE (OpenDDS_Dcps, MonitorFactory) 00102 ACE_STATIC_SVC_DEFINE (MonitorFactory, 00103 ACE_TEXT ("OpenDDS_Monitor_Default"), 00104 ACE_SVC_OBJ_T, 00105 &ACE_SVC_NAME (MonitorFactory), 00106 ACE_Service_Type::DELETE_THIS | 00107 ACE_Service_Type::DELETE_OBJ, 00108 0)