File Information
Library: IoT/Modbus
Package: ModbusCore
Header: IoT/Modbus/PDUReader.h
Description
The PDUReader class is used to write Modbus PDU data using a Poco::BinaryWriter.
Member Summary
Member Functions: read, readCommon
Constructors
PDUReader
PDUReader(
Poco::BinaryReader & reader
);
Creates the PDUReader using the given Poco::BinaryReader.
Destructor
~PDUReader
~PDUReader();
Destroys the PDUReader.
Member Functions
read
void read(
GenericMessage & message
);
read
void read(
ReadCoilsRequest & request
);
read
void read(
ReadDiscreteInputsRequest & request
);
read
void read(
ReadHoldingRegistersRequest & request
);
read
void read(
ReadInputRegistersRequest & request
);
read
void read(
WriteSingleCoilRequest & request
);
read
void read(
WriteSingleRegisterRequest & request
);
read
void read(
ReadExceptionStatusRequest & request
);
read
void read(
WriteMultipleCoilsRequest & request
);
read
void read(
WriteMultipleRegistersRequest & request
);
read
void read(
MaskWriteRegisterRequest & request
);
read
void read(
ReadWriteMultipleRegistersRequest & request
);
read
void read(
ReadFIFOQueueRequest & request
);
read
void read(
ModbusExceptionMessage & message
);
read
void read(
ReadCoilsResponse & response
);
read
void read(
ReadDiscreteInputsResponse & response
);
read
void read(
ReadHoldingRegistersResponse & response
);
read
void read(
ReadInputRegistersResponse & response
);
read
void read(
WriteSingleCoilResponse & response
);
read
void read(
WriteSingleRegisterResponse & response
);
read
void read(
ReadExceptionStatusResponse & response
);
read
void read(
WriteMultipleCoilsResponse & response
);
read
void read(
WriteMultipleRegistersResponse & response
);
read
void read(
MaskWriteRegisterResponse & response
);
read
void read(
ReadWriteMultipleRegistersResponse & response
);
read
void read(
ReadFIFOQueueResponse & response
);
readCommon
void readCommon(
ModbusMessage & message
);