34 #ifndef LSST_CTRL_EVENTS_EVENTSYSTEM_H
35 #define LSST_CTRL_EVENTS_EVENTSYSTEM_H
41 #include <boost/shared_ptr.hpp>
86 void createTransmitter(std::string
const& hostName, std::string
const& topicName,
int hostPort = EventBroker::DEFAULTHOSTPORT);
96 void createReceiver(std::string
const& hostName, std::string
const& topicName,
int hostPort = EventBroker::DEFAULTHOSTPORT);
105 void createReceiver(std::string
const& hostName, std::string
const& topicName, std::string
const& selector,
int hostPort = EventBroker::DEFAULTHOSTPORT);
114 void publishEvent(std::string
const& topicName,
Event& event);
122 Event* receiveEvent(std::string
const& topicName);
132 Event* receiveEvent(std::string
const& topicName,
const long timeout);
157 boost::shared_ptr<EventTransmitter> getTransmitter(std::string
const&
name);
158 boost::shared_ptr<EventReceiver> getReceiver(std::string
const&
name);
table::Key< std::string > name
boost::shared_ptr< LocationId > Ptr
static list< boost::shared_ptr< EventReceiver > > _receivers
Representation of an LSST Event.
lsst::daf::base::PropertySet PropertySet
Representation of an LSST CommandEvent.
static list< boost::shared_ptr< EventTransmitter > > _transmitters
provides access to primary application interface classes for sending and receiving events...
defines the CommandEvent class
static EventSystem * defaultEventSystem
information about the Event Broker
Representation of an LSST Event.
defines the StatusEvent class
Interface for PropertySet class.
This object allows creation of the system's event transmitters and receivers, which can be specified ...