Skip to content

pylon/EventAdapter.h#

Low Level API: Definition of the IEventAdapter interface.

Namespaces#

Name
Pylon
Contains definitions of pylon types.

Classes#

Name
interface Pylon::IEventAdapter
Low Level API: IEventAdapter delivers event messages to ports.

Source code#

//-----------------------------------------------------------------------------
//  Basler pylon SDK
//  Copyright (c) 2006-2022 Basler AG
//  http://www.baslerweb.com
//  Author:  HN
//-----------------------------------------------------------------------------
#ifndef __PYLON_EVENT_ADAPTER_H__
#define __PYLON_EVENT_ADAPTER_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>

namespace Pylon
{
    interface PUBLIC_INTERFACE IEventAdapter
    {
        virtual void DeliverMessage( const uint8_t msg[], uint32_t numBytes ) = 0;
    };
}

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

#endif //__PYLON_EVENT_ADAPTER_H__

Updated on 5 July 2022 at 15:30:01