3#include "WEthernetSettings.h"
14 delete(_communication);
18 Settings = pEthernetSettings;
26 for (
int i = 0; i < status.
Channels.size(); i++) {
28 toAdd->RawDataAvailability =
static_cast<DataAvailabilityEnum
>(status.
Channels[i].RawDataAvailability);
29 toAdd->
Type =
static_cast<ChannelTypeEnum
>(status.
Channels[i].Type);
38 toReturn->Status =
static_cast<ConnectionStatusEnum
>(status.
Status);
45 _communication->Disconnect();
Definition WEthernetCommunication.h:5
std::string ErrorMeaning
Definition CommunicationStructures.h:16
int ErrorCode
Definition CommunicationStructures.h:15
Definition CommunicationStructures.h:24
ConnectionState Status
Definition CommunicationStructures.h:26
vector< Channel > Channels
Definition CommunicationStructures.h:25
CommErrorCode ErrorCode
Definition CommunicationStructures.h:27
An ETHERNET oriented communication class. It inherits from BaseCommunication. It ensures the ETHERNET...
Definition EthernetCommunication.h:50
The ETHERNET settings encapsulation for ETHERNET communication.
Definition EthernetSettings.h:21
property ChannelTypeEnum Type
Definition WChannel.h:22
Definition WCommunicationErrorCode.h:6
Definition WCommunicationStatus.h:16
property List< WChannel^> Channels
Definition WCommunicationStatus.h:24
Definition WEthernetCommunication.h:7
WEthernetCommunication(WEthernetSettings^ pEthernetSettings)
Definition WEthernetCommunication.h:17
WEthernetCommunication()
Definition WEthernetCommunication.h:9
~WEthernetCommunication()
Definition WEthernetCommunication.h:13
WCommunicationStatus Connect() override
Definition WEthernetCommunication.h:22
void Disconnect() override
Definition WEthernetCommunication.h:44
A wrapper on the EthernetSettings.
Definition WEthernetSettings.h:16