|
pvAccessCPP 7.1.9
|
#include <server/pv/beaconEmitter.h>
Public Types | |
| typedef std::tr1::shared_ptr< BeaconEmitter > | shared_pointer |
| typedef std::tr1::shared_ptr< const BeaconEmitter > | const_shared_pointer |
| typedef std::tr1::weak_ptr< TransportSender > | weak_pointer |
| typedef std::tr1::weak_ptr< const TransportSender > | const_weak_pointer |
Public Member Functions | |
| BeaconEmitter (std::string const &protocol, Transport::shared_pointer const &transport, std::tr1::shared_ptr< ServerContextImpl > &context) | |
| Constructor. | |
| void | send (epics::pvData::ByteBuffer *buffer, TransportSendControl *control) |
| Called by transport. | |
| void | timerStopped () |
| void | start () |
| Start emitting. | |
| void | reschedule () |
| Reschedule timer. | |
| void | callback () |
| Timer callback. | |
| void | destroy () |
| virtual void | lock () |
| virtual void | unlock () |
Public Attributes | |
| size_t | bytesTX |
| size_t | bytesRX |
Definition at line 40 of file beaconEmitter.h.
| typedef std::tr1::shared_ptr<const BeaconEmitter> epics::pvAccess::BeaconEmitter::const_shared_pointer |
Definition at line 47 of file beaconEmitter.h.
|
inherited |
| typedef std::tr1::shared_ptr<BeaconEmitter> epics::pvAccess::BeaconEmitter::shared_pointer |
Definition at line 46 of file beaconEmitter.h.
|
inherited |
| epics::pvAccess::BeaconEmitter::BeaconEmitter | ( | std::string const & | protocol, |
| Transport::shared_pointer const & | transport, | ||
| std::tr1::shared_ptr< ServerContextImpl > & | context ) |
Constructor.
| protocol | a protocol (transport) name to report. |
| transport | transport to be used to send beacons. |
| context | PVA context. |
|
virtual |
Timer callback.
Implements epics::pvData::TimerCallback.
|
inlinevirtualinherited |
Definition at line 97 of file pvAccess.h.
|
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.
Implements epics::pvAccess::TransportSender.
|
virtual |
Implements epics::pvData::TimerCallback.
|
inlinevirtualinherited |
Definition at line 98 of file pvAccess.h.