Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
PvTapFilter.h
1// *****************************************************************************
2//
3// Copyright (c) 2015, Pleora Technologies Inc., All rights reserved.
4//
5// *****************************************************************************
6
7#ifndef __PVTAPFILTER_H__
8#define __PVTAPFILTER_H__
9
10#include <IPvFilter.h>
11#include <PvTapGeometry.h>
12
13
14class TapFilter;
15
21class PV_BUFFER_API PvTapFilter : public IPvFilter
22{
23public:
24
29
33 virtual ~PvTapFilter();
34
51 PvResult Execute( const PvBuffer *aIn, PvBuffer *aOut );
52
62 PvResult SetThreadCount( uint32_t aCount );
63
69 uint32_t GetThreadCount() const;
70
71 PvResult GetThreadsPriority( uint32_t &aPriority ) const;
72 PvResult SetThreadsPriority( uint32_t aPriority );
73
82 PvResult SetGeometry( PvTapGeometryEnum aValue );
83
89 PvTapGeometryEnum GetGeometry() const;
90
99 static uint32_t GetSupportedGeometryCount();
100
111 static PvTapGeometryEnum GetSupportedGeometryValue( uint32_t aIndex );
112
123 static const PvString &GetSupportedGeometryName( uint32_t aIndex );
124
141 static PvPixelType GetOutputPixelTypeFor( const PvBuffer *aBuffer );
142
150 static uint32_t GetTapCountFor( PvTapGeometryEnum aValue );
151
159 static uint32_t GetTapCountFor( const PvString &aValue );
160
161protected:
162
163private:
164
165 // Not implemented
166 PvTapFilter( const PvTapFilter & );
167 const PvTapFilter &operator=( const PvTapFilter & );
168
169 TapFilter * mThis;
170
171};
172
173#endif
PvPixelType
Definition PvPixelType.h:51
Tap geometry types definition.
PvTapGeometryEnum
Tap geometry enumeration type.
Definition PvTapGeometry.h:24
Base class (interface) of various processing filters provided by the eBUS SDK.
Definition IPvFilter.h:19
virtual PvResult Execute(const PvBuffer *aIn, PvBuffer *aOut)=0
Executes the filter: performs processing on aIn, writing into aOut.
virtual uint32_t GetThreadCount() const =0
Gets the maximum number of threads the filter can use.
virtual PvResult SetThreadCount(uint32_t aCount)=0
Sets the thread count to be used by the filter.
virtual PvResult GetThreadsPriority(uint32_t &aPriority) const =0
Gets the thread priority of the filter's worker threads.
virtual PvResult SetThreadsPriority(uint32_t aPriority)=0
Sets the thread priority of the filter's worker threads.
Represents a block of GigE Vision or USB3 Vision data in memory.
Definition PvBuffer.h:111
Result information.
Definition PvResult.h:30
String class.
Definition PvString.h:26
Definition PvTapFilter.h:22

Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com