13#ifdef epicsExportSharedSymbols
14# define requesterEpicsExportSharedSymbols
15# undef epicsExportSharedSymbols
19#include <pv/sharedPtr.h>
21#ifdef requesterEpicsExportSharedSymbols
22# define epicsExportSharedSymbols
23# undef requesterEpicsExportSharedSymbols
29namespace epics {
namespace pvAccess {
32typedef std::tr1::shared_ptr<Requester> RequesterPtr;
35 infoMessage,warningMessage,errorMessage,fatalErrorMessage
37#define MESSAGE_TYPE_COUNT 4
39epicsShareExtern std::string getMessageTypeName(MessageType messageType);
54 virtual void message(std::string
const & message,MessageType messageType = errorMessage);
58namespace epics {
namespace pvData {
59using ::epics::pvAccess::Requester;
60using ::epics::pvAccess::RequesterPtr;
61using ::epics::pvAccess::MessageType;
62using ::epics::pvAccess::getMessageTypeName;
63using ::epics::pvAccess::infoMessage;
64using ::epics::pvAccess::warningMessage;
65using ::epics::pvAccess::errorMessage;
66using ::epics::pvAccess::fatalErrorMessage;
Callback class for passing messages to a requester.
virtual void message(std::string const &message, MessageType messageType=errorMessage)
Push notification.
virtual std::string getRequesterName()=0
The requester must have a name.
Copyright - See the COPYRIGHT that is included with this distribution.