nidas  v1.2-1520
Public Member Functions | Private Attributes | List of all members
nidas::core::DSMEngineIntf::SensorAction Class Reference

Invoke an executeXmlRpc() method on a DSMSensor. More...

Inheritance diagram for nidas::core::DSMEngineIntf::SensorAction:
Inheritance graph
[legend]

Public Member Functions

 SensorAction (XmlRpc::XmlRpcServer *s)
 
void execute (XmlRpc::XmlRpcValue &params, XmlRpc::XmlRpcValue &result) throw ()
 
std::string help ()
 
void registerSensor (const std::string &devname, DSMSensor *sensor)
 

Private Attributes

std::map< std::string,
DSMSensor * > 
_nameToSensor
 

Detailed Description

Invoke an executeXmlRpc() method on a DSMSensor.

The SensorAction::execute() method will look for a DSMSensor which has registered with DSMEngineIntf, with a name (typically a device name) matching the value of params["device"].

Constructor & Destructor Documentation

nidas::core::DSMEngineIntf::SensorAction::SensorAction ( XmlRpc::XmlRpcServer *  s)
inline

Member Function Documentation

void DSMEngineIntf::SensorAction::execute ( XmlRpc::XmlRpcValue &  params,
XmlRpc::XmlRpcValue &  result 
)
throw (
)
std::string nidas::core::DSMEngineIntf::SensorAction::help ( )
inline
void nidas::core::DSMEngineIntf::SensorAction::registerSensor ( const std::string &  devname,
DSMSensor sensor 
)
inline

Member Data Documentation

std::map<std::string,DSMSensor*> nidas::core::DSMEngineIntf::SensorAction::_nameToSensor
private

Referenced by registerSensor().


The documentation for this class was generated from the following files: