Files
pvData/pvDataApp/misc/requester.h
Marty Kraimer 95ae684d3d add == for introspection; == of PVField is done in base class via convert.
Make monitorQueue compatible with monitor, i.e. shared_pointer
2011-04-27 08:27:10 -04:00

35 lines
852 B
C++

/* requester.h */
/**
* Copyright - See the COPYRIGHT that is included with this distribution.
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
*/
#ifndef REQUESTER_H
#define REQUESTER_H
#include <string>
#include "pvType.h"
#include "sharedPtr.h"
namespace epics { namespace pvData {
class Requester;
enum MessageType {
infoMessage,warningMessage,errorMessage,fatalErrorMessage
};
extern StringArray messageTypeName;
class Requester {
public:
typedef std::tr1::shared_ptr<Requester> shared_pointer;
typedef std::tr1::shared_ptr<const Requester> const_shared_pointer;
virtual ~Requester(){}
virtual String getRequesterName() = 0;
virtual void message(String message,MessageType messageType) = 0;
};
}}
#endif /* REQUESTER_H */