Tango Core Classes Reference  9.3.4
Tango::GroupReply Class Reference

Base class for Group reply. More...

#include "tango.h"

Inheritance diagram for Tango::GroupReply:

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...
 

Detailed Description

Base class for Group reply.

$Author$ $Revision$

Member Function Documentation

◆ dev_name()

const std::string& Tango::GroupReply::dev_name ( ) const
inline

Get device name.

Returns the device name for the group element

Returns
The device name

◆ enable_exception()

static bool Tango::GroupReply::enable_exception ( bool  exception_mode = true)
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.

Parameters
[in]exception_modeThe new exception mode
Returns
The previous exception mode

◆ get_err_stack()

const DevErrorList& Tango::GroupReply::get_err_stack ( ) const
inline

Get error stack.

Returns the error stack for the group element

Returns
The error stack

◆ has_failed()

bool Tango::GroupReply::has_failed ( ) const
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

Returns
The error flag

◆ obj_name()

const std::string& Tango::GroupReply::obj_name ( ) const
inline

Get object name.

Returns the object name (i.e. command or attribute) for the group element

Returns
The object name

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