LCOV - code coverage report
Current view: top level - eq/server - connectionDescription.h (source / functions) Hit Total Coverage
Test: Equalizer Lines: 1 1 100.0 %
Date: 2017-12-16 05:07:20 Functions: 2 2 100.0 %

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2006-2014, Stefan Eilemann <eile@equalizergraphics.com>
       3             :  *
       4             :  * This library is free software; you can redistribute it and/or modify it under
       5             :  * the terms of the GNU Lesser General Public License version 2.1 as published
       6             :  * by the Free Software Foundation.
       7             :  *
       8             :  * This library is distributed in the hope that it will be useful, but WITHOUT
       9             :  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
      10             :  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
      11             :  * details.
      12             :  *
      13             :  * You should have received a copy of the GNU Lesser General Public License
      14             :  * along with this library; if not, write to the Free Software Foundation, Inc.,
      15             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      16             :  */
      17             : 
      18             : #ifndef EQSERVER_CONNECTION_DESCRIPTION_H
      19             : #define EQSERVER_CONNECTION_DESCRIPTION_H
      20             : 
      21             : #include <co/connectionDescription.h>
      22             : #include <eq/server/api.h>
      23             : 
      24             : namespace eq
      25             : {
      26             : namespace server
      27             : {
      28             : class ConnectionDescription : public co::ConnectionDescription
      29             : {
      30             : public:
      31             :     EQSERVER_API ConnectionDescription();
      32             : 
      33             :     /** @name Attributes */
      34             :     //@{
      35             :     // Note: also update string array init in connectionDescription.cpp
      36             :     /** String attributes */
      37             :     enum SAttribute
      38             :     {
      39             :         SATTR_HOSTNAME,
      40             :         SATTR_FILENAME,
      41             :         SATTR_FILL1,
      42             :         SATTR_FILL2,
      43             :         SATTR_ALL
      44             :     };
      45             : 
      46             :     /** Integer attributes */
      47             :     enum IAttribute
      48             :     {
      49             :         IATTR_TYPE,
      50             :         IATTR_PORT,
      51             :         IATTR_BANDWIDTH,
      52             :         IATTR_FILL1,
      53             :         IATTR_FILL2,
      54             :         IATTR_ALL
      55             :     };
      56             :     //@}
      57             : 
      58             :     static const std::string& getSAttributeString(const SAttribute attr);
      59             :     static const std::string& getIAttributeString(const IAttribute attr);
      60             : 
      61             : protected:
      62        1920 :     virtual ~ConnectionDescription() {}
      63             : };
      64             : }
      65             : }
      66             : #endif // EQSERVER_CONNECTION_DESCRIPTION_H

Generated by: LCOV version 1.11