Skip to content
STAGING SERVER
DEVELOPMENT SERVER

pylon/private/DeviceSpecificInstantCamera.h#

Template for device specific instant camera class.

Namespaces#

Name
Pylon
Contains definitions of pylon types.

Classes#

Name
class Pylon::CDeviceSpecificInstantCameraT
Implementation Detail: Header only implementation class for creating device specific Instant Camera classes.

Defines#

Name
PYLON_DEFINE_INSTANT_CAMERA(ClassName, BaseClass)
Macro for defining a custom instant camera class.

Macros Documentation#

define PYLON_DEFINE_INSTANT_CAMERA#

#define PYLON_DEFINE_INSTANT_CAMERA(
    ClassName,
    BaseClass
)
class PYLON_DEPRECATED("Use CBaslerUniversalInstantCamera") ClassName : public BaseClass \
    { \
    public: \
        /*! \copybrief CInstantCamera::CInstantCamera()
            \copydetails CInstantCamera::CInstantCamera()
        */ \
            ClassName() \
        { \
        } \
        /*! \copybrief CInstantCamera::CInstantCamera( IPylonDevice* , ECleanup )
            \copydetails CInstantCamera::CInstantCamera( IPylonDevice* , ECleanup )
        */ \
            ClassName( IPylonDevice* pDevice, ECleanup cleanupProcedure = Cleanup_Delete ) : BaseClass( pDevice, cleanupProcedure ) \
        { \
        } \
        /*! \copybrief CInstantCamera::~CInstantCamera
            \copydetails CInstantCamera::~CInstantCamera
        */ \
            ~ClassName() \
        { \
            Attach( NULL ); \
            InternalShutdownEventHandlers(); \
        } \
    protected: \
            /* Create device specific grab result data. This is subject to change without notice */ \
            virtual CGrabResultData* CreateDeviceSpecificGrabResultData() \
        { \
            return new GrabResultData_t(); \
        } \
    };

Macro for defining a custom instant camera class.