#ifndef __PLASION_H_ #define __PLASION_H_ #include "icsneo/device/device.h" #include "icsneo/communication/multichannelcommunication.h" #include "icsneo/platform/ftdi.h" namespace icsneo { class Plasion : public Device { protected: virtual std::shared_ptr makeCommunication( std::unique_ptr transport, std::shared_ptr packetizer, std::unique_ptr encoder, std::unique_ptr decoder ) override { return std::make_shared(err, std::move(transport), packetizer, std::move(encoder), std::move(decoder)); } // TODO: This is done so that Plasion can still transmit it's basic networks, awaiting VLAN support virtual bool isSupportedRXNetwork(const Network&) const override { return true; } virtual bool isSupportedTXNetwork(const Network&) const override { return true; } public: Plasion(neodevice_t neodevice) : Device(neodevice) {} }; } #endif