| Visioscan Set SDK Libraries 1.3.5 Visioscan Set SDK Help documentation file for C++ and C++/CLI |

Loading...
Searching...
No Matches
WChannel.h
1#ifndef W_CHANNELCOMM_H
2#define W_CHANNELCOMM_H
3#include "../StarfleetToolbox/CommunicationStructures.h"
4#include "../StarfleetToolbox/CommunicationEnumeration.h"
5#include "WEnums.h"
6
7 using namespace System;
8 using namespace WEnumerations;
9
10 namespace WUtils {
11 public ref class WChannel
12 {
13 public:
14 WChannel() {
15 _nativeChannel = new Channel();
16 }
17
18 ~WChannel() {
19 delete _nativeChannel;
20 }
21 property ChannelTypeEnum Type
22 {
23 ChannelTypeEnum get() { return static_cast<ChannelTypeEnum>(_nativeChannel->Type); }
24 void set(ChannelTypeEnum value) { _nativeChannel->Type = (ChannelType) value; }
25 }
26
27 property DataAvailabilityEnum RawDataAvailability
28 {
29 DataAvailabilityEnum get() { return static_cast<DataAvailabilityEnum>(_nativeChannel->RawDataAvailability); }
30 void set(DataAvailabilityEnum value) { _nativeChannel->RawDataAvailability = (DataAvailability)value; }
31 }
32
33 private:
34 Channel* _nativeChannel;
35 };
36}
37#endif
WUtils
Definition WAvailableResolution.h:7
WEnumerations
Definition WEnums.h:4
WEnumerations::DataAvailabilityEnum
DataAvailabilityEnum
Definition WEnums.h:28
WEnumerations::ChannelTypeEnum
ChannelTypeEnum
Definition WEnums.h:27
Channel
Definition CommunicationStructures.h:19
WUtils::WChannel
Definition WChannel.h:12
WUtils::WChannel::~WChannel
~WChannel()
Definition WChannel.h:18
WUtils::WChannel::Type
property ChannelTypeEnum Type
Definition WChannel.h:22
WUtils::WChannel::WChannel
WChannel()
Definition WChannel.h:14