Skip to content

pylon/TlInfo.h#

Definition of Transport layer information object.

Namespaces#

Name
Pylon
Contains definitions of pylon types.
Pylon::Key
This namespace contains keys for accessing the properties of pylon info objects.

Classes#

Name
class Pylon::CTlInfo
Class used for storing the result of the transport layer enumeration process.

Source code#

//-----------------------------------------------------------------------------
//  Basler pylon SDK
//  Copyright (c) 2006-2022 Basler AG
//  http://www.baslerweb.com
//  Author:  AH
//-----------------------------------------------------------------------------
#ifndef __TLINFO_H__
#define __TLINFO_H__

#if _MSC_VER > 1000
#pragma once
#endif

#include <pylon/Platform.h>

#ifdef _MSC_VER
#   pragma pack(push, PYLON_PACKING)
#endif /* _MSC_VER */

#include <pylon/stdinclude.h>
#include <pylon/Info.h>

namespace Pylon
{
    namespace Key
    {
        const char* const FileNameKey = "FileName";
        const char* const InfoIDKey = "InfoID";
        const char* const VersionKey = "Version";
    } // namespace Key

    class PYLONBASE_API CTlInfo : public CInfoBase
    {
    public:
        String_t GetFileName() const;
        CTlInfo& SetFileName( const String_t& value );
        bool IsFileNameAvailable() const;

        String_t GetInfoID() const;
        CTlInfo& SetInfoID( const String_t& value );
        bool IsInfoIDAvailable() const;

        String_t GetModelName() const;
        CTlInfo& SetModelName( const String_t& value );
        bool IsModelNameAvailable() const;

        String_t GetVersion() const;
        CTlInfo& SetVersion( const String_t& value );
        bool IsVersionAvailable() const;
    };
}

#ifdef _MSC_VER
#   pragma pack(pop)
#endif /* _MSC_VER */

#endif /* __TLINFO_H__ */

Updated on 5 July 2022 at 15:30:01