1 #ifndef EA4_PVRPC_GET_CHANNELS_COMMAND_H
2 #define EA4_PVRPC_GET_CHANNELS_COMMAND_H
4 #include "pvrpc/ArchiveCommand.h"
6 namespace ea4 {
namespace pvrpc {
21 virtual const char*
getName()
const {
return commandName.c_str(); }
27 virtual epics::pvData::PVStructurePtr
28 process(epics::pvData::PVStructurePtr
const & request);
32 void createRequestType();
34 void createResponseType();
35 void createInfoType();
39 static std::string commandName;
42 epics::pvData::StructureConstPtr requestType;
45 epics::pvData::StructureConstPtr responseType;
49 epics::pvData::StructureConstPtr infoType;
virtual epics::pvData::PVStructurePtr process(epics::pvData::PVStructurePtr const &request)
Delegates this request to the RPC service.
virtual epics::pvData::PVStructurePtr createRequest()
Returns the request structure.
Basic class of the RPC commands.
Definition: ArchiveCommand.h:17
GetChannelsCommand()
Constructor.
Command returning the array of the channel infos.
Definition: GetChannelsCommand.h:9
virtual const char * getName() const
Returns 'getChannels'.
Definition: GetChannelsCommand.h:21