OpenDDS::DCPS::ShmemLoader Class Reference

#include <ShmemLoader.h>

Inheritance diagram for OpenDDS::DCPS::ShmemLoader:
Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::ShmemLoader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual int init (int argc, ACE_TCHAR *argv[])

Detailed Description

Definition at line 23 of file ShmemLoader.h.


Member Function Documentation

int OpenDDS::DCPS::ShmemLoader::init ( int  argc,
ACE_TCHAR argv[] 
) [virtual]

Reimplemented from ACE_Shared_Object.

Definition at line 34 of file ShmemLoader.cpp.

References OpenDDS::DCPS::TransportRegistry::register_type(), and TheTransportRegistry.

00035 {
00036   static bool initialized(false);
00037 
00038   if (initialized) return 0;  // already initialized
00039 
00040   TransportRegistry* registry = TheTransportRegistry;
00041   registry->register_type(make_rch<ShmemType>());
00042 
00043   //FUTURE: when we're ready, add a ShmemInst to the default config, like so:
00044   /*
00045   TransportInst_rch default_inst =
00046     registry->create_inst(TransportRegistry::DEFAULT_INST_PREFIX + "0200_SHMEM",
00047                           UDP_NAME);
00048   registry->get_config(TransportRegistry::DEFAULT_CONFIG_NAME)
00049     ->sorted_insert(default_inst);
00050   */
00051   initialized = true;
00052 
00053   return 0;
00054 }

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1