Skip to content

pylon/TransportLayer.h#

Definiton of Transportlayer interface and the common Transportlayer base class.

Namespaces#

Name
Pylon
Contains definitions of pylon types.

Classes#

Name
interface Pylon::ITransportLayer
The interface of Transport Layer objects.

Source code#

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

#if _MSC_VER>1000
#pragma once
#endif // _MSC_VER>1000

#include <pylon/Platform.h>

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

#include <GenICamFwd.h>
#include <pylon/stdinclude.h>
#include <pylon/PylonBase.h>
#include <pylon/DeviceFactory.h>
#include <pylon/TlInfo.h>
#include <pylon/Interface.h>


namespace Pylon
{


    interface PUBLIC_INTERFACE ITransportLayer : public IDeviceFactory
    {
        virtual CTlInfo GetTlInfo() const = 0;


        virtual CDeviceInfo CreateDeviceInfo() = 0;


        virtual GenApi::INodeMap* GetNodeMap() = 0;


        virtual int EnumerateInterfaces( InterfaceInfoList_t& list, bool addToList = false ) = 0;


        virtual IInterface* CreateInterface( const CInterfaceInfo& interfaceInfo ) = 0;


        virtual void DestroyInterface( IInterface* pInterface ) = 0;
    };
}

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

#endif /* __TRANSPORTLAYER__ */

Updated on 5 July 2022 at 15:30:01