ArchiveSupplier − |
#include <archiveeventsArchiveSupplier.h> Inherits BaseSupplier. |
Public Member Functions |
ArchiveSupplier () |
virtual ~ArchiveSupplier () |
template<class T > void sendEvent (CORBA::Short priority, ACS::Time timeStamp, const std::string &component, const std::string &property, T value, const std::string &container=’’) |
void send_event (CORBA::Short priority, ACS::Time timeStamp, const std::string &component, const std::string &property, CORBA::Any value, const std::string &container) |
Protected Member Functions |
virtual const char * getNotificationFactoryName () |
virtual const char * getEventType () |
Class designed to send structured events out which will eventually be stored in the ALMA archive. It’s important to note a couple of issues about this class: 1. It should not be used directly. Use ArchiveSupplierSingleton instead. 2. Until the init method is invoked, all methods should be considered unusable. |
ArchiveSupplier::ArchiveSupplier () Standard constructor. |
virtual ArchiveSupplier::~ArchiveSupplier () [virtual] Destructor |
virtual const char* ArchiveSupplier::getEventType () [inline, protected, virtual] Overridden. |
Implements BaseSupplier. |
virtual const char* ArchiveSupplier::getNotificationFactoryName () [inline, protected, virtual] Overridden. |
Reimplemented from BaseHelper. |
void ArchiveSupplier::send_event (CORBA::Short priority, ACS::Time timeStamp, const std::string & component, const std::string & property, CORBA::Any value, const std::string & container) Sends data to the archive. |
Parameters: |
priority Priority of the event. A higher number is
equivalent to a greater priority. |
Exceptions: |
acsncErrType::PublishEventFailureExImpl Cannot publish the event in the Notification Channel |
Referenced by sendEvent(). |
template<class T > void ArchiveSupplier::sendEvent (CORBA::Short priority, ACS::Time timeStamp, const std::string & component, const std::string & property, T value, const std::string & container = ’’) [inline] Sends data to the archive. |
Parameters: |
priority Priority of the event. A higher number is
equivalent to a greater priority. |
Exceptions: |
acsncErrType::PublishEventFailureExImpl Cannot publish the event in the Notification Channel |
References BaseHelper::channelName_mp, and send_event(). |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |