Line data Source code
1 : /* 2 : * 3 : * 4 : * Distributed under the OpenDDS License. 5 : * See: http://www.opendds.org/license.html 6 : */ 7 : 8 : #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/ 9 : #include "MonitorFactory.h" 10 : 11 : OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL 12 : 13 : namespace OpenDDS { 14 : namespace DCPS { 15 : 16 1 : MonitorFactory::MonitorFactory() 17 : { 18 1 : } 19 : 20 2 : MonitorFactory::~MonitorFactory() 21 : { 22 2 : } 23 : 24 : OpenDDS::DCPS::Monitor* 25 9 : MonitorFactory::create_sp_monitor(Service_Participant*) 26 : { 27 9 : return 0; 28 : } 29 : 30 : OpenDDS::DCPS::Monitor* 31 0 : MonitorFactory::create_dp_monitor(DomainParticipantImpl*) 32 : { 33 0 : return 0; 34 : } 35 : 36 : OpenDDS::DCPS::Monitor* 37 0 : MonitorFactory::create_topic_monitor(TopicImpl*) 38 : { 39 0 : return 0; 40 : } 41 : 42 : OpenDDS::DCPS::Monitor* 43 0 : MonitorFactory::create_publisher_monitor(PublisherImpl*) 44 : { 45 0 : return 0; 46 : } 47 : 48 : OpenDDS::DCPS::Monitor* 49 0 : MonitorFactory::create_subscriber_monitor(SubscriberImpl*) 50 : { 51 0 : return 0; 52 : } 53 : 54 : OpenDDS::DCPS::Monitor* 55 0 : MonitorFactory::create_data_writer_monitor(DataWriterImpl*) 56 : { 57 0 : return 0; 58 : } 59 : 60 : OpenDDS::DCPS::Monitor* 61 0 : MonitorFactory::create_data_writer_periodic_monitor(DataWriterImpl*) 62 : { 63 0 : return 0; 64 : } 65 : 66 : OpenDDS::DCPS::Monitor* 67 0 : MonitorFactory::create_data_reader_monitor(DataReaderImpl*) 68 : { 69 0 : return 0; 70 : } 71 : 72 : OpenDDS::DCPS::Monitor* 73 0 : MonitorFactory::create_data_reader_periodic_monitor(DataReaderImpl*) 74 : { 75 0 : return 0; 76 : } 77 : 78 : OpenDDS::DCPS::Monitor* 79 0 : MonitorFactory::create_transport_monitor(TransportImpl*) 80 : { 81 0 : return 0; 82 : } 83 : 84 : void 85 0 : MonitorFactory::initialize() 86 : { 87 0 : } 88 : 89 9 : void MonitorFactory::deinitialize() 90 : { 91 9 : } 92 : 93 : int 94 117 : MonitorFactory::service_initialize() 95 : { 96 117 : return ACE_Service_Config::process_directive(ace_svc_desc_MonitorFactory); 97 : } 98 : 99 : } // namespace DCPS 100 : } // namespace OpenDDS 101 : 102 : OPENDDS_END_VERSIONED_NAMESPACE_DECL 103 : 104 : using namespace OpenDDS::DCPS; 105 : 106 2 : ACE_FACTORY_DEFINE (OpenDDS_Dcps, MonitorFactory) 107 : ACE_STATIC_SVC_DEFINE (MonitorFactory, 108 : ACE_TEXT ("OpenDDS_Monitor_Default"), 109 : ACE_SVC_OBJ_T, 110 : &ACE_SVC_NAME (MonitorFactory), 111 : ACE_Service_Type::DELETE_THIS | 112 : ACE_Service_Type::DELETE_OBJ, 113 : 0)