7 #ifndef BEACONEMITTER_H 8 #define BEACONEMITTER_H 10 #ifdef epicsExportSharedSymbols 11 # define beaconEmitterEpicsExportSharedSymbols 12 # undef epicsExportSharedSymbols 21 #ifdef beaconEmitterEpicsExportSharedSymbols 22 # define epicsExportSharedSymbols 23 # undef beaconEmitterEpicsExportSharedSymbols 33 class ServerContextImpl;
43 public std::tr1::enable_shared_from_this<BeaconEmitter>
58 Transport::shared_pointer
const & transport, std::tr1::shared_ptr<ServerContextImpl>& context);
88 static const float EPICS_PVA_MIN_BEACON_PERIOD;
93 static const float EPICS_PVA_MIN_BEACON_COUNT_LIMIT;
98 const std::string _protocol;
103 Transport::shared_pointer _transport;
118 const double _fastBeaconPeriod;
123 const double _slowBeaconPeriod;
149 epics::pvData::Timer::weak_pointer _timer;
void send(epics::pvData::ByteBuffer *buffer, TransportSendControl *control)
Class that must be implemented by code that makes Timer requests.
BeaconEmitter(std::string const &protocol, Transport::shared_pointer const &transport, std::tr1::shared_ptr< ServerContextImpl > &context)
std::tr1::shared_ptr< BeaconEmitter > shared_pointer
TODO only here because of the Lockable.
std::tr1::shared_ptr< const BeaconEmitter > const_shared_pointer
This class implements a Bytebuffer that is like the java.nio.ByteBuffer.
std::tr1::shared_ptr< BeaconServerStatusProvider > shared_pointer