Version 8.9.0
 
Loading...
Searching...
No Matches
IRChannelConfigDI.h
1/******************************************************************************
2 * Copyright (c) 2012-2019 All Rights Reserved, http://www.evocortex.com *
3 * Evocortex GmbH *
4 * Emilienstr. 1 *
5 * 90489 Nuremberg *
6 * Germany *
7 * *
8 * Contributors: *
9 * Initial version for Linux 64-Bit platform supported by Fraunhofer IPA, *
10 * http://www.ipa.fraunhofer.de *
11 *****************************************************************************/
12
13#pragma once
14#include "IRChannelInputMode.h"
15#include "irdirectsdk_defs.h"
16
17namespace evo {
23struct __IRDIRECTSDK_API__ IRChannelConfigDI : IRChannelConfig
24{
28 IRChannelConfigDI(unsigned int id) :
29 IRChannelConfig(id, IRChannelType::Digital),
30 Mode(IRChannelInputMode::Manual),
31 IsLowActive(false)
32 {
33 }
34
35
36 //Windows vector needs empty default constructor
37#if __cplusplus <= 199711L
39 Mode(IRChannelInputMode::Manual),
40 IsLowActive(false)
41 {
42 }
43#else
44 IRChannelConfigDI() : IRChannelConfigDI(-1)
45 {
46 }
47#endif
48
54
60};
61} // namespace evo
Channel config of digital input.
Definition: IRChannelConfigDI.h:24
IRChannelConfigDI(unsigned int id)
Don't initialize yourself.
Definition: IRChannelConfigDI.h:28
bool IsLowActive
Set to true, if trigger should fire when input is false.
Definition: IRChannelConfigDI.h:59
IRChannelInputMode::Value Mode
Defines the mode of the digital input.
Definition: IRChannelConfigDI.h:53
Definition: IRChannelConfig.h:23
Enum for input modes.
Definition: IRChannelInputMode.h:23
Value
Definition: IRChannelInputMode.h:25
Definition: IRChannelType.h:22