From 2f651f316ef1df8d5286bf9f1e414ad56e57867b Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 28 Mar 2011 08:49:11 +0000 Subject: Mon Mar 28 07:41:37 UTC 2011 Johnny Willemsen * bin/fuzz.pl: Extended to check for old documentation style Converted to doxygen * ASNMP/agent/agent_impl.h: * ASNMP/agent/snmp_agent.h: * ASNMP/asnmp/address.cpp: * ASNMP/asnmp/asn1.cpp: * ASNMP/asnmp/counter.cpp: * ASNMP/asnmp/ctr64.cpp: * ASNMP/asnmp/gauge.cpp: * ASNMP/asnmp/integer.cpp: * ASNMP/asnmp/octet.cpp: * ASNMP/asnmp/oid.cpp: * ASNMP/asnmp/pdu.cpp: * ASNMP/asnmp/sagent.cpp: * ASNMP/asnmp/snmp.cpp: * ASNMP/asnmp/target.cpp: * ASNMP/asnmp/timetick.cpp: * ASNMP/asnmp/transaction.cpp: * ASNMP/asnmp/vb.cpp: * ASNMP/asnmp/wpdu.cpp: * ASNMP/examples/get/get.cpp: * ASNMP/examples/get/get_async.cpp: * ASNMP/examples/next/next.cpp: * ASNMP/examples/set/set.cpp: * ASNMP/examples/trap/trap.cpp: * ASNMP/examples/walk/walk.cpp: * ASNMP/tests/Address_Test.cpp: * ASNMP/tests/Counter64_Test.cpp: * ASNMP/tests/Counter_Test.cpp: * ASNMP/tests/Gauge_Test.cpp: * ASNMP/tests/Integer_Test.cpp: * ASNMP/tests/Octet_Test.cpp: * ASNMP/tests/Oid_Test.cpp: * ASNMP/tests/Target_Test.cpp: * ASNMP/tests/Varbind_Test.cpp: * ASNMP/tests/test_config.h: * Kokyu/Kokyu_dsrt.h: * ace/Codeset_Registry.h: * ace/Codeset_Registry.inl: * ace/ETCL/ETCL_l.cpp: * ace/ETCL/ETCL_y.cpp: * ace/OS_NS_signal.inl: * apps/Gateway/Gateway/Concrete_Connection_Handlers.h: * apps/Gateway/Gateway/Config_Files.h: * apps/Gateway/Gateway/Connection_Handler.h: * apps/Gateway/Gateway/Connection_Handler_Acceptor.h: * apps/Gateway/Gateway/Connection_Handler_Connector.h: * apps/Gateway/Gateway/Consumer_Dispatch_Set.h: * apps/Gateway/Gateway/Event.h: * apps/Gateway/Gateway/Event_Channel.h: * apps/Gateway/Gateway/Event_Forwarding_Discriminator.h: * apps/Gateway/Gateway/File_Parser.h: * apps/Gateway/Gateway/Gateway.h: * apps/Gateway/Gateway/Options.h: * apps/Gateway/Gateway/gatewayd.cpp: * apps/Gateway/Peer/Options.h: * apps/Gateway/Peer/Peer.h: * apps/Gateway/Peer/peerd.cpp: * apps/JAWS/clients/Blobby/Blob.h: * apps/JAWS/clients/Blobby/Blob_Handler.h: * apps/JAWS/clients/Blobby/Options.h: * apps/JAWS/clients/Blobby/blobby.cpp: * apps/JAWS/clients/Caching/ID_Generator.h: * apps/JAWS/clients/Caching/Local_Locator.h: * apps/JAWS/clients/Caching/Locator_Request_Reply.h: * apps/JAWS/clients/Caching/URL_Array_Helper.h: * apps/JAWS/clients/Caching/URL_Locator.h: * apps/JAWS/clients/Caching/URL_Properties.h: * apps/JAWS/clients/Caching/http_client.cpp: * apps/JAWS/clients/Caching/http_handler.h: * apps/JAWS/clients/Caching/http_handler.cpp: * apps/JAWS2/JAWS/IO_Handler.h: * apps/JAWS2/JAWS/Jaws_IO.h: * apps/drwho/BS_Client.h: * apps/drwho/BS_Server.h: * apps/drwho/Binary_Search.h: * apps/drwho/CM_Client.h: * apps/drwho/CM_Server.h: * apps/drwho/Comm_Manager.h: * apps/drwho/Drwho_Node.h: * apps/drwho/File_Manager.h: * apps/drwho/HT_Client.h: * apps/drwho/HT_Server.h: * apps/drwho/Hash_Table.h: * apps/drwho/Multicast_Manager.h: * apps/drwho/Options.h: * apps/drwho/PMC_All.h: * apps/drwho/PMC_Flo.h: * apps/drwho/PMC_Ruser.h: * apps/drwho/PMC_Usr.h: * apps/drwho/PMS_All.h: * apps/drwho/PMS_Flo.h: * apps/drwho/PMS_Ruser.h: * apps/drwho/PMS_Usr.h: * apps/drwho/PM_Client.h: * apps/drwho/PM_Server.h: * apps/drwho/Protocol_Manager.h: * apps/drwho/Protocol_Record.h: * apps/drwho/Rwho_DB_Manager.h: * apps/drwho/SL_Client.h: * apps/drwho/SL_Server.h: * apps/drwho/SML_Client.h: * apps/drwho/SML_Server.h: * apps/drwho/SMR_Client.h: * apps/drwho/SMR_Server.h: * apps/drwho/SM_Client.h: * apps/drwho/SM_Server.h: * apps/drwho/Search_Struct.h: * apps/drwho/Select_Manager.h: * apps/drwho/Single_Lookup.h: * apps/drwho/client.cpp: * apps/drwho/global.h: * apps/drwho/server.cpp: * netsvcs/clients/Tokens/collection/collection.cpp: * netsvcs/clients/Tokens/deadlock/deadlock_detection_test.cpp: * netsvcs/clients/Tokens/invariant/invariant.cpp: * netsvcs/clients/Tokens/manual/manual.cpp: * netsvcs/clients/Tokens/mutex/test_mutex.cpp: * netsvcs/clients/Tokens/rw_lock/rw_locks.cpp: * performance-tests/Synch-Benchmarks/Synch_Lib/Benchmark_Base.h: * performance-tests/Synch-Benchmarks/Synch_Lib/Benchmark_Base.cpp: * protocols/tests/HTBP/Send_Recv_Tests/client.cpp: * protocols/tests/HTBP/Send_Recv_Tests/server.cpp: * websvcs/lib/URL_Addr.h: --- .../Gateway/Event_Forwarding_Discriminator.h | 53 ++++++++++++---------- 1 file changed, 28 insertions(+), 25 deletions(-) (limited to 'ACE/apps/Gateway/Gateway/Event_Forwarding_Discriminator.h') diff --git a/ACE/apps/Gateway/Gateway/Event_Forwarding_Discriminator.h b/ACE/apps/Gateway/Gateway/Event_Forwarding_Discriminator.h index 2a83a53a584..a30d48da7d0 100644 --- a/ACE/apps/Gateway/Gateway/Event_Forwarding_Discriminator.h +++ b/ACE/apps/Gateway/Gateway/Event_Forwarding_Discriminator.h @@ -1,18 +1,15 @@ /* -*- C++ -*- */ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// gateway -// -// = FILENAME -// Event_Forwarding_Discriminator.h -// -// = AUTHOR -// Doug Schmidt -// -// ============================================================================ +//============================================================================= +/** + * @file Event_Forwarding_Discriminator.h + * + * $Id$ + * + * @author Doug Schmidt + */ +//============================================================================= + #ifndef _CONSUMER_MAP_H #define _CONSUMER_MAP_H @@ -27,39 +24,45 @@ #include "Event.h" #include "Consumer_Dispatch_Set.h" +/** + * @class Event_Forwarding_Discriminator + * + * @brief Map events to the set of Consumer_Proxies that have subscribed + * to receive the event. + */ class Event_Forwarding_Discriminator { - // = TITLE - // Map events to the set of Consumer_Proxies that have subscribed - // to receive the event. public: + /// Associate Event with the Consumer_Dispatch_Set. int bind (Event_Key event, Consumer_Dispatch_Set *cds); - // Associate Event with the Consumer_Dispatch_Set. + /// Locate EXID and pass out parameter via INID. If found, + /// return 0, else -1. int unbind (Event_Key event); - // Locate EXID and pass out parameter via INID. If found, - // return 0, else -1. + /// Break any association of EXID. int find (Event_Key event, Consumer_Dispatch_Set *&cds); - // Break any association of EXID. public: + /// Map that associates s (external ids) with + /// *'s . ACE_Map_Manager map_; - // Map that associates s (external ids) with - // *'s . }; +/** + * @class Event_Forwarding_Discriminator_Iterator + * + * @brief Define an iterator for the Consumer Map. + */ class Event_Forwarding_Discriminator_Iterator { - // = TITLE - // Define an iterator for the Consumer Map. public: Event_Forwarding_Discriminator_Iterator (Event_Forwarding_Discriminator &mm); int next (Consumer_Dispatch_Set *&); int advance (void); private: + /// Map we are iterating over. ACE_Map_Iterator map_iter_; - // Map we are iterating over. }; #endif /* _CONSUMER_MAP_H */ -- cgit v1.2.1