Pleora Technologies Inc. eBUS SDK v7.0.1.7536 API



Loading...
Searching...
No Matches
IPvFilter.h
1// *****************************************************************************
2//
3// Copyright (c) 2015, Pleora Technologies Inc., All rights reserved.
4//
5// *****************************************************************************
6
7#ifndef __IPVFILTER_H__
8#define __IPVFILTER_H__
9
10#include <PvBuffer.h>
11
12
18class PV_BUFFER_API IPvFilter
19{
20public:
21
25 IPvFilter();
26
30 virtual ~IPvFilter();
31
43 virtual PvResult Execute( const PvBuffer *aIn, PvBuffer *aOut ) = 0;
44
54 virtual PvResult SetThreadCount( uint32_t aCount ) = 0;
55
61 virtual uint32_t GetThreadCount() const = 0;
62
63
73 virtual PvResult GetThreadsPriority( uint32_t &aPriority ) const = 0;
74
85 virtual PvResult SetThreadsPriority( uint32_t aPriority ) = 0;
86
87protected:
88
89private:
90
91};
92
93#endif
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

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