7#ifndef TRANSPORTREGISTRY_H
8#define TRANSPORTREGISTRY_H
15#ifdef epicsExportSharedSymbols
16# define transportRegistryEpicsExportSharedSymbols
17# undef epicsExportSharedSymbols
24#include <pv/epicsException.h>
25#include <pv/sharedPtr.h>
27#ifdef transportRegistryEpicsExportSharedSymbols
28# define epicsExportSharedSymbols
29# undef transportRegistryEpicsExportSharedSymbols
33#include <pv/inetAddressUtil.h>
38class TransportRegistry {
46 bool operator<(
const Key& o)
const;
53 POINTER_DEFINITIONS(TransportRegistry);
58 TransportRegistry*
const owner;
60 std::tr1::shared_ptr<epics::pvData::Mutex> mutex;
68 TransportRegistry() {}
72 void install(
const Transport::shared_pointer& ptr);
73 Transport::shared_pointer remove(Transport::shared_pointer
const & transport);
78 void toArray(transportVector_t & transportArray,
const osiSockAddr *dest=0);
81 transports_t transports;
85 epics::pvData::Mutex _mutex;
Copyright - See the COPYRIGHT that is included with this distribution.