Version 8.9.0
 
Loading...
Searching...
No Matches
IRChannelConfigAI.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 "IRChannelConfig.h"
16#include "irdirectsdk_defs.h"
17
18namespace evo {
24struct __IRDIRECTSDK_API__ IRChannelConfigAI : IRChannelConfig
25{
29 IRChannelConfigAI(unsigned int id) :
30 IRChannelConfig(id, IRChannelType::Analog),
31 Mode(IRChannelInputMode::Manual),
32 IsLowActive(false),
33 Threshold(0)
34 {
35 }
36
37 //Windows vector needs empty default constructor
38#if __cplusplus <= 199711L
40 Mode(IRChannelInputMode::Manual),
41 IsLowActive(false),
42 Threshold(0)
43 {
44 }
45#else
46 IRChannelConfigAI() : IRChannelConfigAI(-1)
47 {
48 }
49#endif
50
56
62
67 float Threshold;
68};
69
70} // namespace evo
Channel config of analog input.
Definition: IRChannelConfigAI.h:25
bool IsLowActive
Set to true, if trigger should fire when input is false.
Definition: IRChannelConfigAI.h:61
IRChannelInputMode::Value Mode
Defines the mode of the analog input.
Definition: IRChannelConfigAI.h:55
IRChannelConfigAI(unsigned int id)
Don't initialize yourself.
Definition: IRChannelConfigAI.h:29
float Threshold
Threshold value of the trigger.
Definition: IRChannelConfigAI.h:67
Definition: IRChannelConfig.h:23
Enum for input modes.
Definition: IRChannelInputMode.h:23
Value
Definition: IRChannelInputMode.h:25
Definition: IRChannelType.h:22