![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "beaconEmitter.h"
Public Types | |
typedef std::tr1::shared_ptr< BeaconEmitter > | shared_pointer |
typedef std::tr1::shared_ptr< const BeaconEmitter > | const_shared_pointer |
Public Member Functions | |
BeaconEmitter (std::string const &protocol, Transport::shared_pointer const &transport, std::tr1::shared_ptr< ServerContextImpl > &context) | |
virtual | ~BeaconEmitter () |
void | send (epics::pvData::ByteBuffer *buffer, TransportSendControl *control) |
void | timerStopped () |
void | start () |
void | reschedule () |
void | callback () |
void | destroy () |
![]() | |
POINTER_DEFINITIONS (TransportSender) | |
TransportSender () | |
virtual | ~TransportSender () |
![]() | |
POINTER_DEFINITIONS (Lockable) | |
virtual | ~Lockable () |
virtual void | lock () |
virtual void | unlock () |
![]() | |
entry () | |
~entry () | |
![]() | |
POINTER_DEFINITIONS (TimerCallback) | |
TimerCallback () | |
virtual | ~TimerCallback () |
Additional Inherited Members | |
![]() | |
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.
typedef std::tr1::shared_ptr<BeaconEmitter> epics::pvAccess::BeaconEmitter::shared_pointer |
Definition at line 46 of file beaconEmitter.h.
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. |
Definition at line 25 of file beaconEmitter.cpp.
|
virtual |
Definition at line 41 of file beaconEmitter.cpp.
|
virtual |
Timer callback.
Implements epics::pvData::TimerCallback.
Definition at line 131 of file beaconEmitter.cpp.
void epics::pvAccess::BeaconEmitter::destroy | ( | ) |
Definition at line 106 of file beaconEmitter.cpp.
void epics::pvAccess::BeaconEmitter::reschedule | ( | ) |
Reschedule timer.
Definition at line 120 of file beaconEmitter.cpp.
|
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.
Definition at line 48 of file beaconEmitter.cpp.
void epics::pvAccess::BeaconEmitter::start | ( | ) |
|
virtual |
The timer has stopped.
Implements epics::pvData::TimerCallback.
Definition at line 101 of file beaconEmitter.cpp.