GenApi 3.5.1
IPortConstruct.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// (c) 2006 by Basler Vision Technologies
3// Author: Margret Albrecht
4//
5// License: This file is published under the license of the EMVA GenICam Standard Group.
6// A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
7// If for some reason you are missing this file please contact the EMVA or visit the website
8// (http://www.genicam.org) for a full copy.
9//
10// THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
11// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
12// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
14// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
15// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
16// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
17// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
18// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
19// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
20// POSSIBILITY OF SUCH DAMAGE.
21//
22//-----------------------------------------------------------------------------
29#ifndef GENAPI_IPORTCONSTRUCT_H
30#define GENAPI_IPORTCONSTRUCT_H
31
32#include <GenApi/GenApiDll.h>
33#include <GenApi/Types.h>
34#include <GenApi/IPort.h>
35#include <GenApi/IPortStacked.h>
36
37namespace GENAPI_NAMESPACE
38{
39 //*************************************************************
40 // IPortContruct interface
41 //*************************************************************
42
47 GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortConstruct: virtual public IPort
48 {
50 virtual void SetPortImpl(IPort* pPort) = 0;
51
53 virtual EYesNo GetSwapEndianess() = 0;
54 };
55
60 GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStackedConstruct
61 {
62
64 virtual void SetPortImpl(IPortStacked *pPort) = 0;
65
67 virtual EYesNo GetSwapEndianess() = 0;
68 };
69}
70
71#endif // ifndef GENAPI_IPORTCONSTRUCT_H
declspec's to be used for GenApi Windows dll
virtual EYesNo GetSwapEndianess()=0
Determines if the port adapter must perform an endianess swap.
Definition of interface IPort.
Definition of interface IPort.
Common types used in the public GenApi interface.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPort
Interface for ports.
Definition IPort.h:55
enum GENAPI_NAMESPACE::_EYesNo EYesNo