pvAccessCPP
7.1.7
|
Interface defining transport sender (instance sending data over transport). More...
#include <remote/pv/remote.h>
Public Types | |
typedef std::tr1::shared_ptr < TransportSender > | shared_pointer |
typedef std::tr1::shared_ptr < const TransportSender > | const_shared_pointer |
typedef std::tr1::weak_ptr < TransportSender > | weak_pointer |
typedef std::tr1::weak_ptr < const TransportSender > | const_weak_pointer |
Public Member Functions | |
virtual void | send (epics::pvData::ByteBuffer *buffer, TransportSendControl *control)=0 |
Called by transport. More... | |
virtual void | lock () |
virtual void | unlock () |
Public Attributes | |
size_t | bytesTX |
size_t | bytesRX |
Interface defining transport sender (instance sending data over transport).
|
pure virtual |
Called by transport.
By this call transport gives callee ownership over the buffer. Calls on TransportSendControl
instance must be made from calling thread. Moreover, ownership is valid only for the time of call of this method. NOTE: these limitations allow efficient implementation.
Implemented in epics::pvAccess::BeaconEmitter.