7 #ifndef TRANSPORTREGISTRY_H 8 #define TRANSPORTREGISTRY_H 15 #ifdef epicsExportSharedSymbols 16 # define transportRegistryEpicsExportSharedSymbols 17 # undef epicsExportSharedSymbols 27 #ifdef transportRegistryEpicsExportSharedSymbols 28 # define epicsExportSharedSymbols 29 # undef transportRegistryEpicsExportSharedSymbols 49 typedef std::map<Key, Transport::shared_pointer> transports_t;
50 typedef std::map<Key, std::tr1::shared_ptr<epics::pvData::Mutex> > locks_t;
60 std::tr1::shared_ptr<epics::pvData::Mutex>
mutex;
72 void install(
const Transport::shared_pointer& ptr);
73 Transport::shared_pointer
remove(Transport::shared_pointer
const & transport);
81 transports_t transports;
TODO only here because of the Lockable.
void toArray(transportVector_t &transportArray, const osiSockAddr *dest=0)
bool operator<(shared_ptr< T > const &a, shared_ptr< U > const &b) BOOST_NOEXCEPT
std::vector< Transport::shared_pointer > transportVector_t
POINTER_DEFINITIONS(TransportRegistry)
void install(const Transport::shared_pointer &ptr)