1 #ifndef EA4_PVRPC_GET_INFO_COMMAND_H
2 #define EA4_PVRPC_GET_INFO_COMMAND_H
4 #include "pvrpc/ArchiveCommand.h"
6 namespace ea4 {
namespace pvrpc {
24 virtual const char*
getName()
const {
return commandName.c_str(); }
30 virtual epics::pvData::PVStructurePtr
31 process(epics::pvData::PVStructurePtr
const & request);
35 void createRequestType();
36 void createResponseType();
37 void createSevrType();
49 void setSevrPV(epics::pvData::PVStructurePtr& sevrPV,
57 static std::string commandName;
60 epics::pvData::StructureConstPtr requestType;
63 epics::pvData::StructureConstPtr responseType;
66 epics::pvData::StructureConstPtr sevrType;
68 epics::pvData::PVStructurePtr result;
virtual epics::pvData::PVStructurePtr createRequest()
Returns the request structure.
virtual epics::pvData::PVStructurePtr process(epics::pvData::PVStructurePtr const &request)
Delegates this request to the RPC service.
Basic class of the RPC commands.
Definition: ArchiveCommand.h:17
GetInfoCommand()
Constructor.
Command returning the general info: arrays of the 'status' strings, severity' strings, etc.
Definition: GetInfoCommand.h:12
virtual const char * getName() const
Returns 'getInfo'.
Definition: GetInfoCommand.h:24