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

Loading...
Searching...
No Matches
CommunicationStructures.h
1#pragma once
2#include "CommunicationEnumeration.h"
3#ifndef COMMSTRUCTURE_H
4#define COMMSTRUCTURE_H
5
6#include <string>
7
8#ifdef STARFLEETTOOLBOX_EXPORTS
9#define COMMSTRUCT __declspec(dllexport)
10#else
11#define COMMSTRUCT __declspec(dllimport)
12#endif
13
14 typedef struct COMMSTRUCT CommErrorCode {
15 int ErrorCode;
16 std::string ErrorMeaning;
17} CommErrorCode;
18
19 typedef struct COMMSTRUCT Channel {
20 ChannelType Type;
21 DataAvailability RawDataAvailability;
22} Channel;
23
24 typedef struct COMMSTRUCT CommunicationStatus {
25 vector<Channel> Channels;
26 ConnectionState Status;
27 CommErrorCode ErrorCode;
28} CommunicationStatus;
29
30#endif // COMMSTRUCTURE_H
31
CommErrorCode
Definition CommunicationStructures.h:14
CommErrorCode::ErrorMeaning
std::string ErrorMeaning
Definition CommunicationStructures.h:16
CommErrorCode::ErrorCode
int ErrorCode
Definition CommunicationStructures.h:15
Channel
Definition CommunicationStructures.h:19
Channel::RawDataAvailability
DataAvailability RawDataAvailability
Definition CommunicationStructures.h:21
Channel::Type
ChannelType Type
Definition CommunicationStructures.h:20
CommunicationStatus
Definition CommunicationStructures.h:24
CommunicationStatus::Status
ConnectionState Status
Definition CommunicationStructures.h:26
CommunicationStatus::Channels
vector< Channel > Channels
Definition CommunicationStructures.h:25
CommunicationStatus::ErrorCode
CommErrorCode ErrorCode
Definition CommunicationStructures.h:27