/*
 * SPDX-FileCopyrightText: 2004 Copyright contributors to the cppTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

#ifndef TANGO_CLIENT_DBDEVFULLINFO_H
#define TANGO_CLIENT_DBDEVFULLINFO_H

#include <tango/client/DbDevImportInfo.h>

#include <string>

/** @defgroup DBase Database Client classes
 * @ingroup Client
 */

namespace Tango
{
/****************************************************************
 *                                                              *
 *                  DbDevFullInfo                               *
 *                                                              *
 ****************************************************************/

/**
 * Device information from the database
 *
 * @headerfile tango.h
 * @ingroup DBase
 */
class DbDevFullInfo : public DbDevImportInfo
{
  public:
    std::string class_name;   ///< The device class name
    std::string ds_full_name; ///< The full device server process name
    std::string host;         ///< The host name where the device server process is running
    std::string started_date; ///< Date of the last device export (empty if not set in DB)
    std::string stopped_date; ///< Date of the last device un-export (empty if not set in DB)
    long pid;                 ///< The device server process PID (-1 if not set in DB)
};

} // namespace Tango

#endif // TANGO_CLIENT_DBDEVFULLINFO_H
