Skip to content

File ManagedTransportLayerSystem.h

File List > SpinnakerNET > ManagedTransportLayerSystem.h

Go to the documentation of this file

//=============================================================================
// Copyright (c) 2026 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of FLIR
// Integrated Imaging Solutions, Inc. ("Confidential Information"). You
// shall not disclose such Confidential Information and shall use it only in
// accordance with the terms of the license agreement you entered into
// with FLIR Integrated Imaging Solutions, Inc. (FLIR).
//
// FLIR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
// SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
// PURPOSE, OR NON-INFRINGEMENT. FLIR SHALL NOT BE LIABLE FOR ANY DAMAGES
// SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
// THIS SOFTWARE OR ITS DERIVATIVES.
//=============================================================================

/* Auto-generated file. Do not modify. */

#ifndef FLIR_SPINNAKER_NET_MANAGEDTRANSPORTLAYERSYSTEM_H
#define FLIR_SPINNAKER_NET_MANAGEDTRANSPORTLAYERSYSTEM_H

#include "ManagedTransportLayerDefs.h"
using namespace System;

namespace SpinnakerNET
{
    public ref class ManagedTransportLayerSystem
    {
    public:
        ManagedTransportLayerSystem(SpinnakerNET::GenApi::NodeMap^ pNodeMapTLDevice)
        {
            SpinnakerNET::GenApi::Node^ aNode;

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("TLID");
                TLID = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                TLID = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("TLVendorName");
                TLVendorName = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                TLVendorName = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("TLModelName");
                TLModelName = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                TLModelName = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("TLVersion");
                TLVersion = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                TLVersion = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("TLFileName");
                TLFileName = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                TLFileName = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("TLDisplayName");
                TLDisplayName = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                TLDisplayName = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("TLPath");
                TLPath = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                TLPath = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("TLType");
                TLType = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Enumeration(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                TLType = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GenTLVersionMajor");
                GenTLVersionMajor = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GenTLVersionMajor = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GenTLVersionMinor");
                GenTLVersionMinor = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GenTLVersionMinor = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GenTLSFNCVersionMajor");
                GenTLSFNCVersionMajor = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GenTLSFNCVersionMajor = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GenTLSFNCVersionMinor");
                GenTLSFNCVersionMinor = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GenTLSFNCVersionMinor = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GenTLSFNCVersionSubMinor");
                GenTLSFNCVersionSubMinor = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GenTLSFNCVersionSubMinor = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GevVersionMajor");
                GevVersionMajor = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GevVersionMajor = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GevVersionMinor");
                GevVersionMinor = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GevVersionMinor = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("InterfaceUpdateList");
                InterfaceUpdateList = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Command(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                InterfaceUpdateList = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("InterfaceSelector");
                InterfaceSelector = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                InterfaceSelector = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("InterfaceID");
                InterfaceID = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                InterfaceID = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("InterfaceDisplayName");
                InterfaceDisplayName = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::StringNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                InterfaceDisplayName = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GevInterfaceMACAddress");
                GevInterfaceMACAddress = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GevInterfaceMACAddress = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GevInterfaceDefaultIPAddress");
                GevInterfaceDefaultIPAddress = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GevInterfaceDefaultIPAddress = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GevInterfaceDefaultSubnetMask");
                GevInterfaceDefaultSubnetMask = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GevInterfaceDefaultSubnetMask = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GevInterfaceDefaultGateway");
                GevInterfaceDefaultGateway = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GevInterfaceDefaultGateway = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("EnumerateGEVInterfaces");
                EnumerateGEVInterfaces = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::BoolNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                EnumerateGEVInterfaces = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("EnumerateUSBInterfaces");
                EnumerateUSBInterfaces = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::BoolNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                EnumerateUSBInterfaces = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("EnumerateGen2Cameras");
                EnumerateGen2Cameras = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::BoolNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                EnumerateGen2Cameras = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("GEVAutoAssignIPEnable");
                GEVAutoAssignIPEnable = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::BoolNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                GEVAutoAssignIPEnable = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("CpuAffinityPrivilege");
                CpuAffinityPrivilege = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Enumeration(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                CpuAffinityPrivilege = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("CpuAffinityServiceStatus");
                CpuAffinityServiceStatus = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Enumeration(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                CpuAffinityServiceStatus = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("CpuAffinityAvailableCores");
                CpuAffinityAvailableCores = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Integer(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                CpuAffinityAvailableCores = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("CpuAffinityServiceStart");
                CpuAffinityServiceStart = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Command(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                CpuAffinityServiceStart = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("CpuAffinityServiceStop");
                CpuAffinityServiceStop = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Command(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                CpuAffinityServiceStop = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("MediaOptimizationPrivilege");
                MediaOptimizationPrivilege = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::Enumeration(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                MediaOptimizationPrivilege = nullptr;
            }

            try
            {
                aNode = pNodeMapTLDevice->GetNode<SpinnakerNET::GenApi::Node^>("MediaOptimizationEnable");
                MediaOptimizationEnable = (aNode == nullptr) ? nullptr : gcnew SpinnakerNET::GenApi::BoolNode(pNodeMapTLDevice, aNode->Handle);
            }
            catch (::System::Exception^)
            {
                MediaOptimizationEnable = nullptr;
            }

        }

        virtual ~ManagedTransportLayerSystem() {};


    public:
        virtual property SpinnakerNET::GenApi::StringNode^ TLID;

        virtual property SpinnakerNET::GenApi::StringNode^ TLVendorName;

        virtual property SpinnakerNET::GenApi::StringNode^ TLModelName;

        virtual property SpinnakerNET::GenApi::StringNode^ TLVersion;

        virtual property SpinnakerNET::GenApi::StringNode^ TLFileName;

        virtual property SpinnakerNET::GenApi::StringNode^ TLDisplayName;

        virtual property SpinnakerNET::GenApi::StringNode^ TLPath;

        virtual property SpinnakerNET::GenApi::Enumeration^ TLType;

        virtual property SpinnakerNET::GenApi::Integer^ GenTLVersionMajor;

        virtual property SpinnakerNET::GenApi::Integer^ GenTLVersionMinor;

        virtual property SpinnakerNET::GenApi::Integer^ GenTLSFNCVersionMajor;

        virtual property SpinnakerNET::GenApi::Integer^ GenTLSFNCVersionMinor;

        virtual property SpinnakerNET::GenApi::Integer^ GenTLSFNCVersionSubMinor;

        virtual property SpinnakerNET::GenApi::Integer^ GevVersionMajor;

        virtual property SpinnakerNET::GenApi::Integer^ GevVersionMinor;

        virtual property SpinnakerNET::GenApi::Command^ InterfaceUpdateList;

        virtual property SpinnakerNET::GenApi::Integer^ InterfaceSelector;

        virtual property SpinnakerNET::GenApi::StringNode^ InterfaceID;

        virtual property SpinnakerNET::GenApi::StringNode^ InterfaceDisplayName;

        virtual property SpinnakerNET::GenApi::Integer^ GevInterfaceMACAddress;

        virtual property SpinnakerNET::GenApi::Integer^ GevInterfaceDefaultIPAddress;

        virtual property SpinnakerNET::GenApi::Integer^ GevInterfaceDefaultSubnetMask;

        virtual property SpinnakerNET::GenApi::Integer^ GevInterfaceDefaultGateway;

        virtual property SpinnakerNET::GenApi::BoolNode ^ EnumerateGEVInterfaces;

        virtual property SpinnakerNET::GenApi::BoolNode ^ EnumerateUSBInterfaces;

        virtual property SpinnakerNET::GenApi::BoolNode ^ EnumerateGen2Cameras;

        virtual property SpinnakerNET::GenApi::BoolNode ^ GEVAutoAssignIPEnable;

        virtual property SpinnakerNET::GenApi::Enumeration^ CpuAffinityPrivilege;

        virtual property SpinnakerNET::GenApi::Enumeration^ CpuAffinityServiceStatus;

        virtual property SpinnakerNET::GenApi::Integer^ CpuAffinityAvailableCores;

        virtual property SpinnakerNET::GenApi::Command^ CpuAffinityServiceStart;

        virtual property SpinnakerNET::GenApi::Command^ CpuAffinityServiceStop;

        virtual property SpinnakerNET::GenApi::Enumeration^ MediaOptimizationPrivilege;

        virtual property SpinnakerNET::GenApi::BoolNode ^ MediaOptimizationEnable;

    };
}
#endif // FLIR_SPINNAKER_NET_MANAGEDTRANSPORTLAYERSYSTEM_H