Tango Core Classes Reference
9.3.4
|
Base class for Group reply. More...
#include "tango.h"
Public Member Functions | |
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 occurred. More... | |
const std::string & | obj_name () const |
Get object name. More... | |
Static Public Member Functions | |
static bool | enable_exception (bool exception_mode=true) |
Enable/Disable exception. More... | |
Base class for Group reply.
$Author$ $Revision$
|
inline |
Get device name.
Returns the device name for the group element
|
static |
Enable/Disable exception.
Set the group exception mode. If set to true, exception will be thrown (when needed) by the library when the user get command execution result. If set to false (the default), the user has to deal with the has_failed() exception to manage cases of wrong execution command.
[in] | exception_mode | The new exception mode |
|
inline |
Get error stack.
Returns the error stack for the group element
|
inline |
Check if an error has occurred.
Returns a boolean set to true if the command executed on the group element has failed. Otherwise, returns false
|
inline |
Get object name.
Returns the object name (i.e. command or attribute) for the group element