Tango Core Classes Reference
9.3.3
|
Single element group reply for a command execution. More...
#include "tango.h"
Public Member Functions | |
bool | extract (std::vector< DevLong > &vl, std::vector< std::string > &vs) |
Get command data and extract them (DevVarLongStringArray) More... | |
bool | extract (std::vector< double > &vd, std::vector< std::string > &vs) |
Get command data and extract them (DevVarDoubleStringArray) More... | |
DeviceData & | get_data () |
Get command data. More... | |
template<typename T > | |
bool | operator>> (T &dest) |
Get command data and extract them. More... | |
Public Member Functions inherited from Tango::GroupReply | |
const std::string & | dev_name () const |
Get device name. More... | |
const DevErrorList & | get_err_stack () const |
Get error stack. More... | |
bool | has_failed () const |
Check if an error has occured. More... | |
const std::string & | obj_name () const |
Get object name. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Tango::GroupReply | |
static bool | enable_exception (bool exception_mode=true) |
Enable/Disable exception. More... | |
Single element group reply for a command execution.
$Author$ $Revision$
bool Tango::GroupCmdReply::extract | ( | std::vector< DevLong > & | vl, |
std::vector< std::string > & | vs | ||
) |
Get command data and extract them (DevVarLongStringArray)
Get command result for a device member of a group hierarchy and extract them in the provided variable in case the command returns a data of the DevVarLongStringArray type
[out] | vl | The array of DevLong part of the DevVarLongStringArray |
[out] | vs | The array of string part of the DevVarLongStringArray data |
bool Tango::GroupCmdReply::extract | ( | std::vector< double > & | vd, |
std::vector< std::string > & | vs | ||
) |
Get command data and extract them (DevVarDoubleStringArray)
Get command result for a device member of a group hierarchy and extract them in the provided variable in case the command returns a data of the DevVarDoubleStringArray type
[out] | vd | The array of DevDouble part of the DevVarDoubleStringArray |
[out] | vs | The array of string part of the DevVarDoubleStringArray data |
DeviceData& Tango::GroupCmdReply::get_data | ( | ) |
Get command data.
Get command result for a device member of a group hierarchy
bool Tango::GroupCmdReply::operator>> | ( | T & | dest | ) |
Get command data and extract them.
Get command result for a device member of a group hierarchy and extract them in the provided variable
[out] | dest | The variable in which the data should be extracted |
References Tango::DeviceData::exceptions().