serialbus

package
v0.0.0-...-8573741 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2021 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PointerFromQCanBus

func PointerFromQCanBus(ptr QCanBus_ITF) unsafe.Pointer

func PointerFromQCanBusDevice

func PointerFromQCanBusDevice(ptr QCanBusDevice_ITF) unsafe.Pointer

func PointerFromQCanBusDeviceInfo

func PointerFromQCanBusDeviceInfo(ptr QCanBusDeviceInfo_ITF) unsafe.Pointer

func PointerFromQCanBusFactory

func PointerFromQCanBusFactory(ptr QCanBusFactory_ITF) unsafe.Pointer

func PointerFromQCanBusFactoryV2

func PointerFromQCanBusFactoryV2(ptr QCanBusFactoryV2_ITF) unsafe.Pointer

func PointerFromQCanBusFrame

func PointerFromQCanBusFrame(ptr QCanBusFrame_ITF) unsafe.Pointer

func PointerFromQModbusClient

func PointerFromQModbusClient(ptr QModbusClient_ITF) unsafe.Pointer

func PointerFromQModbusDataUnit

func PointerFromQModbusDataUnit(ptr QModbusDataUnit_ITF) unsafe.Pointer

func PointerFromQModbusDevice

func PointerFromQModbusDevice(ptr QModbusDevice_ITF) unsafe.Pointer

func PointerFromQModbusDeviceIdentification

func PointerFromQModbusDeviceIdentification(ptr QModbusDeviceIdentification_ITF) unsafe.Pointer

func PointerFromQModbusExceptionResponse

func PointerFromQModbusExceptionResponse(ptr QModbusExceptionResponse_ITF) unsafe.Pointer

func PointerFromQModbusPdu

func PointerFromQModbusPdu(ptr QModbusPdu_ITF) unsafe.Pointer

func PointerFromQModbusReply

func PointerFromQModbusReply(ptr QModbusReply_ITF) unsafe.Pointer

func PointerFromQModbusRequest

func PointerFromQModbusRequest(ptr QModbusRequest_ITF) unsafe.Pointer

func PointerFromQModbusResponse

func PointerFromQModbusResponse(ptr QModbusResponse_ITF) unsafe.Pointer

func PointerFromQModbusRtuSerialMaster

func PointerFromQModbusRtuSerialMaster(ptr QModbusRtuSerialMaster_ITF) unsafe.Pointer

func PointerFromQModbusRtuSerialSlave

func PointerFromQModbusRtuSerialSlave(ptr QModbusRtuSerialSlave_ITF) unsafe.Pointer

func PointerFromQModbusServer

func PointerFromQModbusServer(ptr QModbusServer_ITF) unsafe.Pointer

func PointerFromQModbusTcpClient

func PointerFromQModbusTcpClient(ptr QModbusTcpClient_ITF) unsafe.Pointer

func PointerFromQModbusTcpConnectionObserver

func PointerFromQModbusTcpConnectionObserver(ptr QModbusTcpConnectionObserver_ITF) unsafe.Pointer

func PointerFromQModbusTcpServer

func PointerFromQModbusTcpServer(ptr QModbusTcpServer_ITF) unsafe.Pointer

func QModbusPdu_ExceptionByte

func QModbusPdu_ExceptionByte() string

func QModbusRequest_CalculateDataSize

func QModbusRequest_CalculateDataSize(request QModbusRequest_ITF) int

func QModbusRequest_MinimumDataSize

func QModbusRequest_MinimumDataSize(request QModbusRequest_ITF) int

func QModbusResponse_CalculateDataSize

func QModbusResponse_CalculateDataSize(response QModbusResponse_ITF) int

func QModbusResponse_MinimumDataSize

func QModbusResponse_MinimumDataSize(response QModbusResponse_ITF) int

Types

type QCanBus

type QCanBus struct {
	core.QObject
}

func NewQCanBusFromPointer

func NewQCanBusFromPointer(ptr unsafe.Pointer) (n *QCanBus)

func QCanBus_Instance

func QCanBus_Instance() *QCanBus

func (*QCanBus) AvailableDevices

func (ptr *QCanBus) AvailableDevices(plugin string, errorMessage string) []*QCanBusDeviceInfo

func (*QCanBus) ChildEventDefault

func (ptr *QCanBus) ChildEventDefault(event core.QChildEvent_ITF)

func (*QCanBus) ClassNameInternalF

func (n *QCanBus) ClassNameInternalF() string

func (*QCanBus) ConnectNotifyDefault

func (ptr *QCanBus) ConnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QCanBus) CreateDevice

func (ptr *QCanBus) CreateDevice(plugin string, interfaceName string, errorMessage string) *QCanBusDevice

func (*QCanBus) CustomEventDefault

func (ptr *QCanBus) CustomEventDefault(event core.QEvent_ITF)

func (*QCanBus) DeleteLaterDefault

func (ptr *QCanBus) DeleteLaterDefault()

func (*QCanBus) DestroyQCanBus

func (ptr *QCanBus) DestroyQCanBus()

func (*QCanBus) DisconnectNotifyDefault

func (ptr *QCanBus) DisconnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QCanBus) EventDefault

func (ptr *QCanBus) EventDefault(e core.QEvent_ITF) bool

func (*QCanBus) EventFilterDefault

func (ptr *QCanBus) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool

func (*QCanBus) InitFromInternal

func (n *QCanBus) InitFromInternal(ptr uintptr, name string)

func (*QCanBus) Instance

func (ptr *QCanBus) Instance() *QCanBus

func (*QCanBus) MetaObjectDefault

func (ptr *QCanBus) MetaObjectDefault() *core.QMetaObject

func (*QCanBus) Plugins

func (ptr *QCanBus) Plugins() []string

func (*QCanBus) Pointer

func (ptr *QCanBus) Pointer() unsafe.Pointer

func (*QCanBus) QCanBus_PTR

func (ptr *QCanBus) QCanBus_PTR() *QCanBus

func (*QCanBus) SetPointer

func (ptr *QCanBus) SetPointer(p unsafe.Pointer)

func (*QCanBus) TimerEventDefault

func (ptr *QCanBus) TimerEventDefault(event core.QTimerEvent_ITF)

type QCanBusDevice

type QCanBusDevice struct {
	core.QObject
}

func NewQCanBusDevice2

func NewQCanBusDevice2(parent core.QObject_ITF) *QCanBusDevice

func NewQCanBusDeviceFromPointer

func NewQCanBusDeviceFromPointer(ptr unsafe.Pointer) (n *QCanBusDevice)

func (*QCanBusDevice) ChildEventDefault

func (ptr *QCanBusDevice) ChildEventDefault(event core.QChildEvent_ITF)

func (*QCanBusDevice) ClassNameInternalF

func (n *QCanBusDevice) ClassNameInternalF() string

func (*QCanBusDevice) Clear

func (ptr *QCanBusDevice) Clear(direction QCanBusDevice__Direction)

func (*QCanBusDevice) Close

func (ptr *QCanBusDevice) Close()

func (*QCanBusDevice) ConfigurationKeys

func (ptr *QCanBusDevice) ConfigurationKeys() []int

func (*QCanBusDevice) ConfigurationParameter

func (ptr *QCanBusDevice) ConfigurationParameter(key int) *core.QVariant

func (*QCanBusDevice) ConnectClose

func (ptr *QCanBusDevice) ConnectClose(f func())

func (*QCanBusDevice) ConnectDevice

func (ptr *QCanBusDevice) ConnectDevice() bool

func (*QCanBusDevice) ConnectErrorOccurred

func (ptr *QCanBusDevice) ConnectErrorOccurred(f func(vqc QCanBusDevice__CanBusError))

func (*QCanBusDevice) ConnectFramesReceived

func (ptr *QCanBusDevice) ConnectFramesReceived(f func())

func (*QCanBusDevice) ConnectFramesWritten

func (ptr *QCanBusDevice) ConnectFramesWritten(f func(framesCount int64))

func (*QCanBusDevice) ConnectInterpretErrorFrame

func (ptr *QCanBusDevice) ConnectInterpretErrorFrame(f func(frame *QCanBusFrame) string)

func (*QCanBusDevice) ConnectNotifyDefault

func (ptr *QCanBusDevice) ConnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QCanBusDevice) ConnectOpen

func (ptr *QCanBusDevice) ConnectOpen(f func() bool)

func (*QCanBusDevice) ConnectSetConfigurationParameter

func (ptr *QCanBusDevice) ConnectSetConfigurationParameter(f func(key int, value *core.QVariant))

func (*QCanBusDevice) ConnectStateChanged

func (ptr *QCanBusDevice) ConnectStateChanged(f func(state QCanBusDevice__CanBusDeviceState))

func (*QCanBusDevice) ConnectWaitForFramesReceived

func (ptr *QCanBusDevice) ConnectWaitForFramesReceived(f func(msecs int) bool)

func (*QCanBusDevice) ConnectWaitForFramesWritten

func (ptr *QCanBusDevice) ConnectWaitForFramesWritten(f func(msecs int) bool)

func (*QCanBusDevice) ConnectWriteFrame

func (ptr *QCanBusDevice) ConnectWriteFrame(f func(frame *QCanBusFrame) bool)

func (*QCanBusDevice) CustomEventDefault

func (ptr *QCanBusDevice) CustomEventDefault(event core.QEvent_ITF)

func (*QCanBusDevice) DeleteLaterDefault

func (ptr *QCanBusDevice) DeleteLaterDefault()

func (*QCanBusDevice) DestroyQCanBusDevice

func (ptr *QCanBusDevice) DestroyQCanBusDevice()

func (*QCanBusDevice) DisconnectClose

func (ptr *QCanBusDevice) DisconnectClose()

func (*QCanBusDevice) DisconnectDevice

func (ptr *QCanBusDevice) DisconnectDevice()

func (*QCanBusDevice) DisconnectErrorOccurred

func (ptr *QCanBusDevice) DisconnectErrorOccurred()

func (*QCanBusDevice) DisconnectFramesReceived

func (ptr *QCanBusDevice) DisconnectFramesReceived()

func (*QCanBusDevice) DisconnectFramesWritten

func (ptr *QCanBusDevice) DisconnectFramesWritten()

func (*QCanBusDevice) DisconnectInterpretErrorFrame

func (ptr *QCanBusDevice) DisconnectInterpretErrorFrame()

func (*QCanBusDevice) DisconnectNotifyDefault

func (ptr *QCanBusDevice) DisconnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QCanBusDevice) DisconnectOpen

func (ptr *QCanBusDevice) DisconnectOpen()

func (*QCanBusDevice) DisconnectSetConfigurationParameter

func (ptr *QCanBusDevice) DisconnectSetConfigurationParameter()

func (*QCanBusDevice) DisconnectStateChanged

func (ptr *QCanBusDevice) DisconnectStateChanged()

func (*QCanBusDevice) DisconnectWaitForFramesReceived

func (ptr *QCanBusDevice) DisconnectWaitForFramesReceived()

func (*QCanBusDevice) DisconnectWaitForFramesWritten

func (ptr *QCanBusDevice) DisconnectWaitForFramesWritten()

func (*QCanBusDevice) DisconnectWriteFrame

func (ptr *QCanBusDevice) DisconnectWriteFrame()

func (*QCanBusDevice) EnqueueOutgoingFrame

func (ptr *QCanBusDevice) EnqueueOutgoingFrame(newFrame QCanBusFrame_ITF)

func (*QCanBusDevice) EnqueueReceivedFrames

func (ptr *QCanBusDevice) EnqueueReceivedFrames(newFrames []*QCanBusFrame)

func (*QCanBusDevice) Error

func (*QCanBusDevice) ErrorOccurred

func (ptr *QCanBusDevice) ErrorOccurred(vqc QCanBusDevice__CanBusError)

func (*QCanBusDevice) ErrorString

func (ptr *QCanBusDevice) ErrorString() string

func (*QCanBusDevice) EventDefault

func (ptr *QCanBusDevice) EventDefault(e core.QEvent_ITF) bool

func (*QCanBusDevice) EventFilterDefault

func (ptr *QCanBusDevice) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool

func (*QCanBusDevice) FramesAvailable

func (ptr *QCanBusDevice) FramesAvailable() int64

func (*QCanBusDevice) FramesReceived

func (ptr *QCanBusDevice) FramesReceived()

func (*QCanBusDevice) FramesToWrite

func (ptr *QCanBusDevice) FramesToWrite() int64

func (*QCanBusDevice) FramesWritten

func (ptr *QCanBusDevice) FramesWritten(framesCount int64)

func (*QCanBusDevice) HasOutgoingFrames

func (ptr *QCanBusDevice) HasOutgoingFrames() bool

func (*QCanBusDevice) InitFromInternal

func (n *QCanBusDevice) InitFromInternal(ptr uintptr, name string)

func (*QCanBusDevice) InterpretErrorFrame

func (ptr *QCanBusDevice) InterpretErrorFrame(frame QCanBusFrame_ITF) string

func (*QCanBusDevice) MetaObjectDefault

func (ptr *QCanBusDevice) MetaObjectDefault() *core.QMetaObject

func (*QCanBusDevice) Open

func (ptr *QCanBusDevice) Open() bool

func (*QCanBusDevice) Pointer

func (ptr *QCanBusDevice) Pointer() unsafe.Pointer

func (*QCanBusDevice) QCanBusDevice_PTR

func (ptr *QCanBusDevice) QCanBusDevice_PTR() *QCanBusDevice

func (*QCanBusDevice) SetConfigurationParameter

func (ptr *QCanBusDevice) SetConfigurationParameter(key int, value core.QVariant_ITF)

func (*QCanBusDevice) SetConfigurationParameterDefault

func (ptr *QCanBusDevice) SetConfigurationParameterDefault(key int, value core.QVariant_ITF)

func (*QCanBusDevice) SetError

func (ptr *QCanBusDevice) SetError(errorText string, errorId QCanBusDevice__CanBusError)

func (*QCanBusDevice) SetPointer

func (ptr *QCanBusDevice) SetPointer(p unsafe.Pointer)

func (*QCanBusDevice) SetState

func (ptr *QCanBusDevice) SetState(newState QCanBusDevice__CanBusDeviceState)

func (*QCanBusDevice) State

func (*QCanBusDevice) StateChanged

func (ptr *QCanBusDevice) StateChanged(state QCanBusDevice__CanBusDeviceState)

func (*QCanBusDevice) TimerEventDefault

func (ptr *QCanBusDevice) TimerEventDefault(event core.QTimerEvent_ITF)

func (*QCanBusDevice) WaitForFramesReceived

func (ptr *QCanBusDevice) WaitForFramesReceived(msecs int) bool

func (*QCanBusDevice) WaitForFramesReceivedDefault

func (ptr *QCanBusDevice) WaitForFramesReceivedDefault(msecs int) bool

func (*QCanBusDevice) WaitForFramesWritten

func (ptr *QCanBusDevice) WaitForFramesWritten(msecs int) bool

func (*QCanBusDevice) WaitForFramesWrittenDefault

func (ptr *QCanBusDevice) WaitForFramesWrittenDefault(msecs int) bool

func (*QCanBusDevice) WriteFrame

func (ptr *QCanBusDevice) WriteFrame(frame QCanBusFrame_ITF) bool

type QCanBusDeviceInfo

type QCanBusDeviceInfo struct {
	internal.Internal
}

func NewQCanBusDeviceInfoFromPointer

func NewQCanBusDeviceInfoFromPointer(ptr unsafe.Pointer) (n *QCanBusDeviceInfo)

func (*QCanBusDeviceInfo) Channel

func (ptr *QCanBusDeviceInfo) Channel() int

func (*QCanBusDeviceInfo) ClassNameInternalF

func (n *QCanBusDeviceInfo) ClassNameInternalF() string

func (*QCanBusDeviceInfo) Description

func (ptr *QCanBusDeviceInfo) Description() string

func (*QCanBusDeviceInfo) DestroyQCanBusDeviceInfo

func (ptr *QCanBusDeviceInfo) DestroyQCanBusDeviceInfo()

func (*QCanBusDeviceInfo) HasFlexibleDataRate

func (ptr *QCanBusDeviceInfo) HasFlexibleDataRate() bool

func (*QCanBusDeviceInfo) IsVirtual

func (ptr *QCanBusDeviceInfo) IsVirtual() bool

func (*QCanBusDeviceInfo) Name

func (ptr *QCanBusDeviceInfo) Name() string

func (*QCanBusDeviceInfo) Pointer

func (ptr *QCanBusDeviceInfo) Pointer() unsafe.Pointer

func (*QCanBusDeviceInfo) QCanBusDeviceInfo_PTR

func (ptr *QCanBusDeviceInfo) QCanBusDeviceInfo_PTR() *QCanBusDeviceInfo

func (*QCanBusDeviceInfo) SerialNumber

func (ptr *QCanBusDeviceInfo) SerialNumber() string

func (*QCanBusDeviceInfo) SetPointer

func (ptr *QCanBusDeviceInfo) SetPointer(p unsafe.Pointer)

func (*QCanBusDeviceInfo) Swap

func (ptr *QCanBusDeviceInfo) Swap(other QCanBusDeviceInfo_ITF)

type QCanBusDeviceInfo_ITF

type QCanBusDeviceInfo_ITF interface {
	QCanBusDeviceInfo_PTR() *QCanBusDeviceInfo
}

type QCanBusDevice_ITF

type QCanBusDevice_ITF interface {
	core.QObject_ITF
	QCanBusDevice_PTR() *QCanBusDevice
}

type QCanBusDevice__CanBusDeviceState

type QCanBusDevice__CanBusDeviceState int64

QCanBusDevice::CanBusDeviceState

type QCanBusDevice__CanBusError

type QCanBusDevice__CanBusError int64

QCanBusDevice::CanBusError

const (
	QCanBusDevice__NoError            QCanBusDevice__CanBusError = QCanBusDevice__CanBusError(0)
	QCanBusDevice__ReadError          QCanBusDevice__CanBusError = QCanBusDevice__CanBusError(1)
	QCanBusDevice__WriteError         QCanBusDevice__CanBusError = QCanBusDevice__CanBusError(2)
	QCanBusDevice__ConnectionError    QCanBusDevice__CanBusError = QCanBusDevice__CanBusError(3)
	QCanBusDevice__ConfigurationError QCanBusDevice__CanBusError = QCanBusDevice__CanBusError(4)
	QCanBusDevice__UnknownError       QCanBusDevice__CanBusError = QCanBusDevice__CanBusError(5)
)

type QCanBusDevice__ConfigurationKey

type QCanBusDevice__ConfigurationKey int64

QCanBusDevice::ConfigurationKey

type QCanBusDevice__Direction

type QCanBusDevice__Direction int64

QCanBusDevice::Direction

type QCanBusFactory

type QCanBusFactory struct {
	internal.Internal
}

func NewQCanBusFactoryFromPointer

func NewQCanBusFactoryFromPointer(ptr unsafe.Pointer) (n *QCanBusFactory)

func (*QCanBusFactory) ClassNameInternalF

func (n *QCanBusFactory) ClassNameInternalF() string

func (*QCanBusFactory) ConnectCreateDevice

func (ptr *QCanBusFactory) ConnectCreateDevice(f func(interfaceName string, errorMessage string) *QCanBusDevice)

func (*QCanBusFactory) CreateDevice

func (ptr *QCanBusFactory) CreateDevice(interfaceName string, errorMessage string) *QCanBusDevice

func (*QCanBusFactory) DestroyQCanBusFactory

func (ptr *QCanBusFactory) DestroyQCanBusFactory()

func (*QCanBusFactory) DisconnectCreateDevice

func (ptr *QCanBusFactory) DisconnectCreateDevice()

func (*QCanBusFactory) Pointer

func (ptr *QCanBusFactory) Pointer() unsafe.Pointer

func (*QCanBusFactory) QCanBusFactory_PTR

func (ptr *QCanBusFactory) QCanBusFactory_PTR() *QCanBusFactory

func (*QCanBusFactory) SetPointer

func (ptr *QCanBusFactory) SetPointer(p unsafe.Pointer)

type QCanBusFactoryV2

type QCanBusFactoryV2 struct {
	QCanBusFactory
}

func NewQCanBusFactoryV2FromPointer

func NewQCanBusFactoryV2FromPointer(ptr unsafe.Pointer) (n *QCanBusFactoryV2)

func (*QCanBusFactoryV2) AvailableDevices

func (ptr *QCanBusFactoryV2) AvailableDevices(errorMessage string) []*QCanBusDeviceInfo

func (*QCanBusFactoryV2) ClassNameInternalF

func (n *QCanBusFactoryV2) ClassNameInternalF() string

func (*QCanBusFactoryV2) ConnectAvailableDevices

func (ptr *QCanBusFactoryV2) ConnectAvailableDevices(f func(errorMessage string) []*QCanBusDeviceInfo)

func (*QCanBusFactoryV2) ConnectCreateDevice

func (ptr *QCanBusFactoryV2) ConnectCreateDevice(f func(interfaceName string, errorMessage string) *QCanBusDevice)

func (*QCanBusFactoryV2) CreateDevice

func (ptr *QCanBusFactoryV2) CreateDevice(interfaceName string, errorMessage string) *QCanBusDevice

func (*QCanBusFactoryV2) DestroyQCanBusFactoryV2

func (ptr *QCanBusFactoryV2) DestroyQCanBusFactoryV2()

func (*QCanBusFactoryV2) DisconnectAvailableDevices

func (ptr *QCanBusFactoryV2) DisconnectAvailableDevices()

func (*QCanBusFactoryV2) DisconnectCreateDevice

func (ptr *QCanBusFactoryV2) DisconnectCreateDevice()

func (*QCanBusFactoryV2) InitFromInternal

func (n *QCanBusFactoryV2) InitFromInternal(ptr uintptr, name string)

func (*QCanBusFactoryV2) Pointer

func (ptr *QCanBusFactoryV2) Pointer() unsafe.Pointer

func (*QCanBusFactoryV2) QCanBusFactoryV2_PTR

func (ptr *QCanBusFactoryV2) QCanBusFactoryV2_PTR() *QCanBusFactoryV2

func (*QCanBusFactoryV2) SetPointer

func (ptr *QCanBusFactoryV2) SetPointer(p unsafe.Pointer)

type QCanBusFactoryV2_ITF

type QCanBusFactoryV2_ITF interface {
	QCanBusFactory_ITF
	QCanBusFactoryV2_PTR() *QCanBusFactoryV2
}

type QCanBusFactory_ITF

type QCanBusFactory_ITF interface {
	QCanBusFactory_PTR() *QCanBusFactory
}

type QCanBusFrame

type QCanBusFrame struct {
	internal.Internal
}

func NewQCanBusFrame

func NewQCanBusFrame(ty QCanBusFrame__FrameType) *QCanBusFrame

func NewQCanBusFrame2

func NewQCanBusFrame2(identifier uint, data core.QByteArray_ITF) *QCanBusFrame

func NewQCanBusFrameFromPointer

func NewQCanBusFrameFromPointer(ptr unsafe.Pointer) (n *QCanBusFrame)

func (*QCanBusFrame) ClassNameInternalF

func (n *QCanBusFrame) ClassNameInternalF() string

func (*QCanBusFrame) DestroyQCanBusFrame

func (ptr *QCanBusFrame) DestroyQCanBusFrame()

func (*QCanBusFrame) Error

func (*QCanBusFrame) FrameId

func (ptr *QCanBusFrame) FrameId() uint

func (*QCanBusFrame) FrameType

func (ptr *QCanBusFrame) FrameType() QCanBusFrame__FrameType

func (*QCanBusFrame) HasBitrateSwitch

func (ptr *QCanBusFrame) HasBitrateSwitch() bool

func (*QCanBusFrame) HasErrorStateIndicator

func (ptr *QCanBusFrame) HasErrorStateIndicator() bool

func (*QCanBusFrame) HasExtendedFrameFormat

func (ptr *QCanBusFrame) HasExtendedFrameFormat() bool

func (*QCanBusFrame) HasFlexibleDataRateFormat

func (ptr *QCanBusFrame) HasFlexibleDataRateFormat() bool

func (*QCanBusFrame) HasLocalEcho

func (ptr *QCanBusFrame) HasLocalEcho() bool

func (*QCanBusFrame) IsValid

func (ptr *QCanBusFrame) IsValid() bool

func (*QCanBusFrame) Payload

func (ptr *QCanBusFrame) Payload() *core.QByteArray

func (*QCanBusFrame) Pointer

func (ptr *QCanBusFrame) Pointer() unsafe.Pointer

func (*QCanBusFrame) QCanBusFrame_PTR

func (ptr *QCanBusFrame) QCanBusFrame_PTR() *QCanBusFrame

func (*QCanBusFrame) SetBitrateSwitch

func (ptr *QCanBusFrame) SetBitrateSwitch(bitrateSwitch bool)

func (*QCanBusFrame) SetError

func (ptr *QCanBusFrame) SetError(error QCanBusFrame__FrameError)

func (*QCanBusFrame) SetErrorStateIndicator

func (ptr *QCanBusFrame) SetErrorStateIndicator(errorStateIndicator bool)

func (*QCanBusFrame) SetExtendedFrameFormat

func (ptr *QCanBusFrame) SetExtendedFrameFormat(isExtended bool)

func (*QCanBusFrame) SetFlexibleDataRateFormat

func (ptr *QCanBusFrame) SetFlexibleDataRateFormat(isFlexibleData bool)

func (*QCanBusFrame) SetFrameId

func (ptr *QCanBusFrame) SetFrameId(newFrameId uint)

func (*QCanBusFrame) SetFrameType

func (ptr *QCanBusFrame) SetFrameType(newType QCanBusFrame__FrameType)

func (*QCanBusFrame) SetLocalEcho

func (ptr *QCanBusFrame) SetLocalEcho(echo bool)

func (*QCanBusFrame) SetPayload

func (ptr *QCanBusFrame) SetPayload(data core.QByteArray_ITF)

func (*QCanBusFrame) SetPointer

func (ptr *QCanBusFrame) SetPointer(p unsafe.Pointer)

func (*QCanBusFrame) ToString

func (ptr *QCanBusFrame) ToString() string

type QCanBusFrame_ITF

type QCanBusFrame_ITF interface {
	QCanBusFrame_PTR() *QCanBusFrame
}

type QCanBusFrame__FrameError

type QCanBusFrame__FrameError int64

QCanBusFrame::FrameError

var (
	QCanBusFrame__NoError                    QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__TransmissionTimeoutError   QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__LostArbitrationError       QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__ControllerError            QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__ProtocolViolationError     QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__TransceiverError           QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__MissingAcknowledgmentError QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__BusOffError                QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__BusError                   QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__ControllerRestartError     QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__UnknownError               QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
	QCanBusFrame__AnyError                   QCanBusFrame__FrameError = QCanBusFrame__FrameError(0)
)

type QCanBusFrame__FrameType

type QCanBusFrame__FrameType int64

QCanBusFrame::FrameType

const (
	QCanBusFrame__UnknownFrame       QCanBusFrame__FrameType = QCanBusFrame__FrameType(0x0)
	QCanBusFrame__DataFrame          QCanBusFrame__FrameType = QCanBusFrame__FrameType(0x1)
	QCanBusFrame__ErrorFrame         QCanBusFrame__FrameType = QCanBusFrame__FrameType(0x2)
	QCanBusFrame__RemoteRequestFrame QCanBusFrame__FrameType = QCanBusFrame__FrameType(0x3)
	QCanBusFrame__InvalidFrame       QCanBusFrame__FrameType = QCanBusFrame__FrameType(0x4)
)

type QCanBus_ITF

type QCanBus_ITF interface {
	core.QObject_ITF
	QCanBus_PTR() *QCanBus
}

type QModbusClient

type QModbusClient struct {
	QModbusDevice
}

func NewQModbusClient

func NewQModbusClient(parent core.QObject_ITF) *QModbusClient

func NewQModbusClientFromPointer

func NewQModbusClientFromPointer(ptr unsafe.Pointer) (n *QModbusClient)

func (*QModbusClient) ClassNameInternalF

func (n *QModbusClient) ClassNameInternalF() string

func (*QModbusClient) Close

func (ptr *QModbusClient) Close()

func (*QModbusClient) CloseDefault

func (ptr *QModbusClient) CloseDefault()

func (*QModbusClient) ConnectProcessPrivateResponse

func (ptr *QModbusClient) ConnectProcessPrivateResponse(f func(response *QModbusResponse, data *QModbusDataUnit) bool)

func (*QModbusClient) ConnectProcessResponse

func (ptr *QModbusClient) ConnectProcessResponse(f func(response *QModbusResponse, data *QModbusDataUnit) bool)

func (*QModbusClient) ConnectTimeoutChanged

func (ptr *QModbusClient) ConnectTimeoutChanged(f func(newTimeout int))

func (*QModbusClient) DestroyQModbusClient

func (ptr *QModbusClient) DestroyQModbusClient()

func (*QModbusClient) DisconnectProcessPrivateResponse

func (ptr *QModbusClient) DisconnectProcessPrivateResponse()

func (*QModbusClient) DisconnectProcessResponse

func (ptr *QModbusClient) DisconnectProcessResponse()

func (*QModbusClient) DisconnectTimeoutChanged

func (ptr *QModbusClient) DisconnectTimeoutChanged()

func (*QModbusClient) InitFromInternal

func (n *QModbusClient) InitFromInternal(ptr uintptr, name string)

func (*QModbusClient) NumberOfRetries

func (ptr *QModbusClient) NumberOfRetries() int

func (*QModbusClient) Open

func (ptr *QModbusClient) Open() bool

func (*QModbusClient) OpenDefault

func (ptr *QModbusClient) OpenDefault() bool

func (*QModbusClient) Pointer

func (ptr *QModbusClient) Pointer() unsafe.Pointer

func (*QModbusClient) ProcessPrivateResponse

func (ptr *QModbusClient) ProcessPrivateResponse(response QModbusResponse_ITF, data QModbusDataUnit_ITF) bool

func (*QModbusClient) ProcessPrivateResponseDefault

func (ptr *QModbusClient) ProcessPrivateResponseDefault(response QModbusResponse_ITF, data QModbusDataUnit_ITF) bool

func (*QModbusClient) ProcessResponse

func (ptr *QModbusClient) ProcessResponse(response QModbusResponse_ITF, data QModbusDataUnit_ITF) bool

func (*QModbusClient) ProcessResponseDefault

func (ptr *QModbusClient) ProcessResponseDefault(response QModbusResponse_ITF, data QModbusDataUnit_ITF) bool

func (*QModbusClient) QModbusClient_PTR

func (ptr *QModbusClient) QModbusClient_PTR() *QModbusClient

func (*QModbusClient) SendRawRequest

func (ptr *QModbusClient) SendRawRequest(request QModbusRequest_ITF, serverAddress int) *QModbusReply

func (*QModbusClient) SendReadRequest

func (ptr *QModbusClient) SendReadRequest(read QModbusDataUnit_ITF, serverAddress int) *QModbusReply

func (*QModbusClient) SendReadWriteRequest

func (ptr *QModbusClient) SendReadWriteRequest(read QModbusDataUnit_ITF, write QModbusDataUnit_ITF, serverAddress int) *QModbusReply

func (*QModbusClient) SendWriteRequest

func (ptr *QModbusClient) SendWriteRequest(write QModbusDataUnit_ITF, serverAddress int) *QModbusReply

func (*QModbusClient) SetNumberOfRetries

func (ptr *QModbusClient) SetNumberOfRetries(number int)

func (*QModbusClient) SetPointer

func (ptr *QModbusClient) SetPointer(p unsafe.Pointer)

func (*QModbusClient) SetTimeout

func (ptr *QModbusClient) SetTimeout(newTimeout int)

func (*QModbusClient) Timeout

func (ptr *QModbusClient) Timeout() int

func (*QModbusClient) TimeoutChanged

func (ptr *QModbusClient) TimeoutChanged(newTimeout int)

type QModbusClient_ITF

type QModbusClient_ITF interface {
	QModbusDevice_ITF
	QModbusClient_PTR() *QModbusClient
}

type QModbusDataUnit

type QModbusDataUnit struct {
	internal.Internal
}

func NewQModbusDataUnit

func NewQModbusDataUnit() *QModbusDataUnit

func NewQModbusDataUnit3

func NewQModbusDataUnit3(ty QModbusDataUnit__RegisterType, address int, size uint16) *QModbusDataUnit

func NewQModbusDataUnit4

func NewQModbusDataUnit4(ty QModbusDataUnit__RegisterType, address int, data []uint16) *QModbusDataUnit

func NewQModbusDataUnitFromPointer

func NewQModbusDataUnitFromPointer(ptr unsafe.Pointer) (n *QModbusDataUnit)

func (*QModbusDataUnit) ClassNameInternalF

func (n *QModbusDataUnit) ClassNameInternalF() string

func (*QModbusDataUnit) DestroyQModbusDataUnit

func (ptr *QModbusDataUnit) DestroyQModbusDataUnit()

func (*QModbusDataUnit) IsValid

func (ptr *QModbusDataUnit) IsValid() bool

func (*QModbusDataUnit) Pointer

func (ptr *QModbusDataUnit) Pointer() unsafe.Pointer

func (*QModbusDataUnit) QModbusDataUnit_PTR

func (ptr *QModbusDataUnit) QModbusDataUnit_PTR() *QModbusDataUnit

func (*QModbusDataUnit) RegisterType

func (ptr *QModbusDataUnit) RegisterType() QModbusDataUnit__RegisterType

func (*QModbusDataUnit) SetPointer

func (ptr *QModbusDataUnit) SetPointer(p unsafe.Pointer)

func (*QModbusDataUnit) SetRegisterType

func (ptr *QModbusDataUnit) SetRegisterType(ty QModbusDataUnit__RegisterType)

func (*QModbusDataUnit) SetStartAddress

func (ptr *QModbusDataUnit) SetStartAddress(address int)

func (*QModbusDataUnit) SetValue

func (ptr *QModbusDataUnit) SetValue(index int, value uint16)

func (*QModbusDataUnit) SetValueCount

func (ptr *QModbusDataUnit) SetValueCount(newCount uint)

func (*QModbusDataUnit) SetValues

func (ptr *QModbusDataUnit) SetValues(values []uint16)

func (*QModbusDataUnit) StartAddress

func (ptr *QModbusDataUnit) StartAddress() int

func (*QModbusDataUnit) Value

func (ptr *QModbusDataUnit) Value(index int) uint16

func (*QModbusDataUnit) ValueCount

func (ptr *QModbusDataUnit) ValueCount() uint

func (*QModbusDataUnit) Values

func (ptr *QModbusDataUnit) Values() []uint16

type QModbusDataUnit_ITF

type QModbusDataUnit_ITF interface {
	QModbusDataUnit_PTR() *QModbusDataUnit
}

type QModbusDataUnit__RegisterType

type QModbusDataUnit__RegisterType int64

QModbusDataUnit::RegisterType

type QModbusDevice

type QModbusDevice struct {
	core.QObject
}

func NewQModbusDevice

func NewQModbusDevice(parent core.QObject_ITF) *QModbusDevice

func NewQModbusDeviceFromPointer

func NewQModbusDeviceFromPointer(ptr unsafe.Pointer) (n *QModbusDevice)

func (*QModbusDevice) ChildEventDefault

func (ptr *QModbusDevice) ChildEventDefault(event core.QChildEvent_ITF)

func (*QModbusDevice) ClassNameInternalF

func (n *QModbusDevice) ClassNameInternalF() string

func (*QModbusDevice) Close

func (ptr *QModbusDevice) Close()

func (*QModbusDevice) ConnectClose

func (ptr *QModbusDevice) ConnectClose(f func())

func (*QModbusDevice) ConnectDestroyQModbusDevice

func (ptr *QModbusDevice) ConnectDestroyQModbusDevice(f func())

func (*QModbusDevice) ConnectDevice

func (ptr *QModbusDevice) ConnectDevice() bool

func (*QModbusDevice) ConnectErrorOccurred

func (ptr *QModbusDevice) ConnectErrorOccurred(f func(error QModbusDevice__Error))

func (*QModbusDevice) ConnectNotifyDefault

func (ptr *QModbusDevice) ConnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QModbusDevice) ConnectOpen

func (ptr *QModbusDevice) ConnectOpen(f func() bool)

func (*QModbusDevice) ConnectStateChanged

func (ptr *QModbusDevice) ConnectStateChanged(f func(state QModbusDevice__State))

func (*QModbusDevice) ConnectionParameter

func (ptr *QModbusDevice) ConnectionParameter(parameter int) *core.QVariant

func (*QModbusDevice) CustomEventDefault

func (ptr *QModbusDevice) CustomEventDefault(event core.QEvent_ITF)

func (*QModbusDevice) DeleteLaterDefault

func (ptr *QModbusDevice) DeleteLaterDefault()

func (*QModbusDevice) DestroyQModbusDevice

func (ptr *QModbusDevice) DestroyQModbusDevice()

func (*QModbusDevice) DestroyQModbusDeviceDefault

func (ptr *QModbusDevice) DestroyQModbusDeviceDefault()

func (*QModbusDevice) DisconnectClose

func (ptr *QModbusDevice) DisconnectClose()

func (*QModbusDevice) DisconnectDestroyQModbusDevice

func (ptr *QModbusDevice) DisconnectDestroyQModbusDevice()

func (*QModbusDevice) DisconnectDevice

func (ptr *QModbusDevice) DisconnectDevice()

func (*QModbusDevice) DisconnectErrorOccurred

func (ptr *QModbusDevice) DisconnectErrorOccurred()

func (*QModbusDevice) DisconnectNotifyDefault

func (ptr *QModbusDevice) DisconnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QModbusDevice) DisconnectOpen

func (ptr *QModbusDevice) DisconnectOpen()

func (*QModbusDevice) DisconnectStateChanged

func (ptr *QModbusDevice) DisconnectStateChanged()

func (*QModbusDevice) Error

func (ptr *QModbusDevice) Error() QModbusDevice__Error

func (*QModbusDevice) ErrorOccurred

func (ptr *QModbusDevice) ErrorOccurred(error QModbusDevice__Error)

func (*QModbusDevice) ErrorString

func (ptr *QModbusDevice) ErrorString() string

func (*QModbusDevice) EventDefault

func (ptr *QModbusDevice) EventDefault(e core.QEvent_ITF) bool

func (*QModbusDevice) EventFilterDefault

func (ptr *QModbusDevice) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool

func (*QModbusDevice) InitFromInternal

func (n *QModbusDevice) InitFromInternal(ptr uintptr, name string)

func (*QModbusDevice) MetaObjectDefault

func (ptr *QModbusDevice) MetaObjectDefault() *core.QMetaObject

func (*QModbusDevice) Open

func (ptr *QModbusDevice) Open() bool

func (*QModbusDevice) Pointer

func (ptr *QModbusDevice) Pointer() unsafe.Pointer

func (*QModbusDevice) QModbusDevice_PTR

func (ptr *QModbusDevice) QModbusDevice_PTR() *QModbusDevice

func (*QModbusDevice) SetConnectionParameter

func (ptr *QModbusDevice) SetConnectionParameter(parameter int, value core.QVariant_ITF)

func (*QModbusDevice) SetError

func (ptr *QModbusDevice) SetError(errorText string, error QModbusDevice__Error)

func (*QModbusDevice) SetPointer

func (ptr *QModbusDevice) SetPointer(p unsafe.Pointer)

func (*QModbusDevice) SetState

func (ptr *QModbusDevice) SetState(newState QModbusDevice__State)

func (*QModbusDevice) State

func (ptr *QModbusDevice) State() QModbusDevice__State

func (*QModbusDevice) StateChanged

func (ptr *QModbusDevice) StateChanged(state QModbusDevice__State)

func (*QModbusDevice) TimerEventDefault

func (ptr *QModbusDevice) TimerEventDefault(event core.QTimerEvent_ITF)

type QModbusDeviceIdentification

type QModbusDeviceIdentification struct {
	internal.Internal
}

func NewQModbusDeviceIdentification

func NewQModbusDeviceIdentification() *QModbusDeviceIdentification

func NewQModbusDeviceIdentificationFromPointer

func NewQModbusDeviceIdentificationFromPointer(ptr unsafe.Pointer) (n *QModbusDeviceIdentification)

func QModbusDeviceIdentification_FromByteArray

func QModbusDeviceIdentification_FromByteArray(ba core.QByteArray_ITF) *QModbusDeviceIdentification

func (*QModbusDeviceIdentification) ClassNameInternalF

func (n *QModbusDeviceIdentification) ClassNameInternalF() string

func (*QModbusDeviceIdentification) ConformityLevel

func (*QModbusDeviceIdentification) Contains

func (ptr *QModbusDeviceIdentification) Contains(objectId uint) bool

func (*QModbusDeviceIdentification) DestroyQModbusDeviceIdentification

func (ptr *QModbusDeviceIdentification) DestroyQModbusDeviceIdentification()

func (*QModbusDeviceIdentification) FromByteArray

func (*QModbusDeviceIdentification) Insert

func (ptr *QModbusDeviceIdentification) Insert(objectId uint, value core.QByteArray_ITF) bool

func (*QModbusDeviceIdentification) IsValid

func (ptr *QModbusDeviceIdentification) IsValid() bool

func (*QModbusDeviceIdentification) ObjectIds

func (ptr *QModbusDeviceIdentification) ObjectIds() []int

func (*QModbusDeviceIdentification) Pointer

func (*QModbusDeviceIdentification) QModbusDeviceIdentification_PTR

func (ptr *QModbusDeviceIdentification) QModbusDeviceIdentification_PTR() *QModbusDeviceIdentification

func (*QModbusDeviceIdentification) Remove

func (ptr *QModbusDeviceIdentification) Remove(objectId uint)

func (*QModbusDeviceIdentification) SetConformityLevel

func (*QModbusDeviceIdentification) SetPointer

func (ptr *QModbusDeviceIdentification) SetPointer(p unsafe.Pointer)

func (*QModbusDeviceIdentification) Value

func (ptr *QModbusDeviceIdentification) Value(objectId uint) *core.QByteArray

type QModbusDeviceIdentification_ITF

type QModbusDeviceIdentification_ITF interface {
	QModbusDeviceIdentification_PTR() *QModbusDeviceIdentification
}

type QModbusDeviceIdentification__ConformityLevel

type QModbusDeviceIdentification__ConformityLevel int64

QModbusDeviceIdentification::ConformityLevel

const (
	QModbusDeviceIdentification__BasicConformityLevel              QModbusDeviceIdentification__ConformityLevel = QModbusDeviceIdentification__ConformityLevel(0x01)
	QModbusDeviceIdentification__RegularConformityLevel            QModbusDeviceIdentification__ConformityLevel = QModbusDeviceIdentification__ConformityLevel(0x02)
	QModbusDeviceIdentification__ExtendedConformityLevel           QModbusDeviceIdentification__ConformityLevel = QModbusDeviceIdentification__ConformityLevel(0x03)
	QModbusDeviceIdentification__BasicIndividualConformityLevel    QModbusDeviceIdentification__ConformityLevel = QModbusDeviceIdentification__ConformityLevel(0x81)
	QModbusDeviceIdentification__RegularIndividualConformityLevel  QModbusDeviceIdentification__ConformityLevel = QModbusDeviceIdentification__ConformityLevel(0x82)
	QModbusDeviceIdentification__ExtendedIndividualConformityLevel QModbusDeviceIdentification__ConformityLevel = QModbusDeviceIdentification__ConformityLevel(0x83)
)

type QModbusDeviceIdentification__ObjectId

type QModbusDeviceIdentification__ObjectId int64

QModbusDeviceIdentification::ObjectId

const (
	QModbusDeviceIdentification__VendorNameObjectId          QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x00)
	QModbusDeviceIdentification__ProductCodeObjectId         QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x01)
	QModbusDeviceIdentification__MajorMinorRevisionObjectId  QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x02)
	QModbusDeviceIdentification__VendorUrlObjectId           QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x03)
	QModbusDeviceIdentification__ProductNameObjectId         QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x04)
	QModbusDeviceIdentification__ModelNameObjectId           QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x05)
	QModbusDeviceIdentification__UserApplicationNameObjectId QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x06)
	QModbusDeviceIdentification__ReservedObjectId            QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x07)
	QModbusDeviceIdentification__ProductDependentObjectId    QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x80)
	QModbusDeviceIdentification__UndefinedObjectId           QModbusDeviceIdentification__ObjectId = QModbusDeviceIdentification__ObjectId(0x100)
)

type QModbusDeviceIdentification__ReadDeviceIdCode

type QModbusDeviceIdentification__ReadDeviceIdCode int64

QModbusDeviceIdentification::ReadDeviceIdCode

const (
	QModbusDeviceIdentification__BasicReadDeviceIdCode      QModbusDeviceIdentification__ReadDeviceIdCode = QModbusDeviceIdentification__ReadDeviceIdCode(0x01)
	QModbusDeviceIdentification__RegularReadDeviceIdCode    QModbusDeviceIdentification__ReadDeviceIdCode = QModbusDeviceIdentification__ReadDeviceIdCode(0x02)
	QModbusDeviceIdentification__ExtendedReadDeviceIdCode   QModbusDeviceIdentification__ReadDeviceIdCode = QModbusDeviceIdentification__ReadDeviceIdCode(0x03)
	QModbusDeviceIdentification__IndividualReadDeviceIdCode QModbusDeviceIdentification__ReadDeviceIdCode = QModbusDeviceIdentification__ReadDeviceIdCode(0x04)
)

type QModbusDevice_ITF

type QModbusDevice_ITF interface {
	core.QObject_ITF
	QModbusDevice_PTR() *QModbusDevice
}

type QModbusDevice__ConnectionParameter

type QModbusDevice__ConnectionParameter int64

QModbusDevice::ConnectionParameter

const (
	QModbusDevice__SerialPortNameParameter QModbusDevice__ConnectionParameter = QModbusDevice__ConnectionParameter(0)
	QModbusDevice__SerialParityParameter   QModbusDevice__ConnectionParameter = QModbusDevice__ConnectionParameter(1)
	QModbusDevice__SerialBaudRateParameter QModbusDevice__ConnectionParameter = QModbusDevice__ConnectionParameter(2)
	QModbusDevice__SerialDataBitsParameter QModbusDevice__ConnectionParameter = QModbusDevice__ConnectionParameter(3)
	QModbusDevice__SerialStopBitsParameter QModbusDevice__ConnectionParameter = QModbusDevice__ConnectionParameter(4)
	QModbusDevice__NetworkPortParameter    QModbusDevice__ConnectionParameter = QModbusDevice__ConnectionParameter(5)
	QModbusDevice__NetworkAddressParameter QModbusDevice__ConnectionParameter = QModbusDevice__ConnectionParameter(6)
	QModbusDevice__UserParameter           QModbusDevice__ConnectionParameter = QModbusDevice__ConnectionParameter(0x100)
)

type QModbusDevice__Error

type QModbusDevice__Error int64

QModbusDevice::Error

const (
	QModbusDevice__NoError            QModbusDevice__Error = QModbusDevice__Error(0)
	QModbusDevice__ReadError          QModbusDevice__Error = QModbusDevice__Error(1)
	QModbusDevice__WriteError         QModbusDevice__Error = QModbusDevice__Error(2)
	QModbusDevice__ConnectionError    QModbusDevice__Error = QModbusDevice__Error(3)
	QModbusDevice__ConfigurationError QModbusDevice__Error = QModbusDevice__Error(4)
	QModbusDevice__TimeoutError       QModbusDevice__Error = QModbusDevice__Error(5)
	QModbusDevice__ProtocolError      QModbusDevice__Error = QModbusDevice__Error(6)
	QModbusDevice__ReplyAbortedError  QModbusDevice__Error = QModbusDevice__Error(7)
	QModbusDevice__UnknownError       QModbusDevice__Error = QModbusDevice__Error(8)
)

type QModbusDevice__State

type QModbusDevice__State int64

QModbusDevice::State

const (
	QModbusDevice__UnconnectedState QModbusDevice__State = QModbusDevice__State(0)
	QModbusDevice__ConnectingState  QModbusDevice__State = QModbusDevice__State(1)
	QModbusDevice__ConnectedState   QModbusDevice__State = QModbusDevice__State(2)
	QModbusDevice__ClosingState     QModbusDevice__State = QModbusDevice__State(3)
)

type QModbusExceptionResponse

type QModbusExceptionResponse struct {
	QModbusResponse
}

func NewQModbusExceptionResponse

func NewQModbusExceptionResponse() *QModbusExceptionResponse

func NewQModbusExceptionResponse2

func NewQModbusExceptionResponse2(pdu QModbusPdu_ITF) *QModbusExceptionResponse

func NewQModbusExceptionResponseFromPointer

func NewQModbusExceptionResponseFromPointer(ptr unsafe.Pointer) (n *QModbusExceptionResponse)

func (*QModbusExceptionResponse) ClassNameInternalF

func (n *QModbusExceptionResponse) ClassNameInternalF() string

func (*QModbusExceptionResponse) DestroyQModbusExceptionResponse

func (ptr *QModbusExceptionResponse) DestroyQModbusExceptionResponse()

func (*QModbusExceptionResponse) InitFromInternal

func (n *QModbusExceptionResponse) InitFromInternal(ptr uintptr, name string)

func (*QModbusExceptionResponse) Pointer

func (ptr *QModbusExceptionResponse) Pointer() unsafe.Pointer

func (*QModbusExceptionResponse) QModbusExceptionResponse_PTR

func (ptr *QModbusExceptionResponse) QModbusExceptionResponse_PTR() *QModbusExceptionResponse

func (*QModbusExceptionResponse) SetExceptionCode

func (ptr *QModbusExceptionResponse) SetExceptionCode(ec QModbusPdu__ExceptionCode)

func (*QModbusExceptionResponse) SetPointer

func (ptr *QModbusExceptionResponse) SetPointer(p unsafe.Pointer)

type QModbusExceptionResponse_ITF

type QModbusExceptionResponse_ITF interface {
	QModbusResponse_ITF
	QModbusExceptionResponse_PTR() *QModbusExceptionResponse
}

type QModbusPdu

type QModbusPdu struct {
	internal.Internal
}

func NewQModbusPdu

func NewQModbusPdu() *QModbusPdu

func NewQModbusPdu3

func NewQModbusPdu3(other QModbusPdu_ITF) *QModbusPdu

func NewQModbusPduFromPointer

func NewQModbusPduFromPointer(ptr unsafe.Pointer) (n *QModbusPdu)

func (*QModbusPdu) ClassNameInternalF

func (n *QModbusPdu) ClassNameInternalF() string

func (*QModbusPdu) ConnectDestroyQModbusPdu

func (ptr *QModbusPdu) ConnectDestroyQModbusPdu(f func())

func (*QModbusPdu) ConnectSetFunctionCode

func (ptr *QModbusPdu) ConnectSetFunctionCode(f func(code QModbusPdu__FunctionCode))

func (*QModbusPdu) Data

func (ptr *QModbusPdu) Data() *core.QByteArray

func (*QModbusPdu) DataSize

func (ptr *QModbusPdu) DataSize() int16

func (*QModbusPdu) DestroyQModbusPdu

func (ptr *QModbusPdu) DestroyQModbusPdu()

func (*QModbusPdu) DestroyQModbusPduDefault

func (ptr *QModbusPdu) DestroyQModbusPduDefault()

func (*QModbusPdu) DisconnectDestroyQModbusPdu

func (ptr *QModbusPdu) DisconnectDestroyQModbusPdu()

func (*QModbusPdu) DisconnectSetFunctionCode

func (ptr *QModbusPdu) DisconnectSetFunctionCode()

func (*QModbusPdu) ExceptionByte

func (ptr *QModbusPdu) ExceptionByte() string

func (*QModbusPdu) ExceptionCode

func (ptr *QModbusPdu) ExceptionCode() QModbusPdu__ExceptionCode

func (*QModbusPdu) FunctionCode

func (ptr *QModbusPdu) FunctionCode() QModbusPdu__FunctionCode

func (*QModbusPdu) IsException

func (ptr *QModbusPdu) IsException() bool

func (*QModbusPdu) IsValid

func (ptr *QModbusPdu) IsValid() bool

func (*QModbusPdu) Pointer

func (ptr *QModbusPdu) Pointer() unsafe.Pointer

func (*QModbusPdu) QModbusPdu_PTR

func (ptr *QModbusPdu) QModbusPdu_PTR() *QModbusPdu

func (*QModbusPdu) SetData

func (ptr *QModbusPdu) SetData(data core.QByteArray_ITF)

func (*QModbusPdu) SetFunctionCode

func (ptr *QModbusPdu) SetFunctionCode(code QModbusPdu__FunctionCode)

func (*QModbusPdu) SetFunctionCodeDefault

func (ptr *QModbusPdu) SetFunctionCodeDefault(code QModbusPdu__FunctionCode)

func (*QModbusPdu) SetPointer

func (ptr *QModbusPdu) SetPointer(p unsafe.Pointer)

func (*QModbusPdu) Size

func (ptr *QModbusPdu) Size() int16

type QModbusPdu_ITF

type QModbusPdu_ITF interface {
	QModbusPdu_PTR() *QModbusPdu
}

type QModbusPdu__ExceptionCode

type QModbusPdu__ExceptionCode int64

QModbusPdu::ExceptionCode

const (
	QModbusPdu__IllegalFunction                    QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x01)
	QModbusPdu__IllegalDataAddress                 QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x02)
	QModbusPdu__IllegalDataValue                   QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x03)
	QModbusPdu__ServerDeviceFailure                QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x04)
	QModbusPdu__Acknowledge                        QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x05)
	QModbusPdu__ServerDeviceBusy                   QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x06)
	QModbusPdu__NegativeAcknowledge                QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x07)
	QModbusPdu__MemoryParityError                  QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x08)
	QModbusPdu__GatewayPathUnavailable             QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x0A)
	QModbusPdu__GatewayTargetDeviceFailedToRespond QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0x0B)
	QModbusPdu__ExtendedException                  QModbusPdu__ExceptionCode = QModbusPdu__ExceptionCode(0xFF)
)

type QModbusPdu__FunctionCode

type QModbusPdu__FunctionCode int64

QModbusPdu::FunctionCode

const (
	QModbusPdu__Invalid                        QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x00)
	QModbusPdu__ReadCoils                      QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x01)
	QModbusPdu__ReadDiscreteInputs             QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x02)
	QModbusPdu__ReadHoldingRegisters           QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x03)
	QModbusPdu__ReadInputRegisters             QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x04)
	QModbusPdu__WriteSingleCoil                QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x05)
	QModbusPdu__WriteSingleRegister            QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x06)
	QModbusPdu__ReadExceptionStatus            QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x07)
	QModbusPdu__Diagnostics                    QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x08)
	QModbusPdu__GetCommEventCounter            QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x0B)
	QModbusPdu__GetCommEventLog                QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x0C)
	QModbusPdu__WriteMultipleCoils             QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x0F)
	QModbusPdu__WriteMultipleRegisters         QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x10)
	QModbusPdu__ReportServerId                 QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x11)
	QModbusPdu__ReadFileRecord                 QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x14)
	QModbusPdu__WriteFileRecord                QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x15)
	QModbusPdu__MaskWriteRegister              QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x16)
	QModbusPdu__ReadWriteMultipleRegisters     QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x17)
	QModbusPdu__ReadFifoQueue                  QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x18)
	QModbusPdu__EncapsulatedInterfaceTransport QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x2B)
	QModbusPdu__UndefinedFunctionCode          QModbusPdu__FunctionCode = QModbusPdu__FunctionCode(0x100)
)

type QModbusReply

type QModbusReply struct {
	core.QObject
}

func NewQModbusReply

func NewQModbusReply(ty QModbusReply__ReplyType, serverAddress int, parent core.QObject_ITF) *QModbusReply

func NewQModbusReplyFromPointer

func NewQModbusReplyFromPointer(ptr unsafe.Pointer) (n *QModbusReply)

func (*QModbusReply) ChildEventDefault

func (ptr *QModbusReply) ChildEventDefault(event core.QChildEvent_ITF)

func (*QModbusReply) ClassNameInternalF

func (n *QModbusReply) ClassNameInternalF() string

func (*QModbusReply) ConnectErrorOccurred

func (ptr *QModbusReply) ConnectErrorOccurred(f func(error QModbusDevice__Error))

func (*QModbusReply) ConnectFinished

func (ptr *QModbusReply) ConnectFinished(f func())

func (*QModbusReply) ConnectNotifyDefault

func (ptr *QModbusReply) ConnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QModbusReply) CustomEventDefault

func (ptr *QModbusReply) CustomEventDefault(event core.QEvent_ITF)

func (*QModbusReply) DeleteLaterDefault

func (ptr *QModbusReply) DeleteLaterDefault()

func (*QModbusReply) DestroyQModbusReply

func (ptr *QModbusReply) DestroyQModbusReply()

func (*QModbusReply) DisconnectErrorOccurred

func (ptr *QModbusReply) DisconnectErrorOccurred()

func (*QModbusReply) DisconnectFinished

func (ptr *QModbusReply) DisconnectFinished()

func (*QModbusReply) DisconnectNotifyDefault

func (ptr *QModbusReply) DisconnectNotifyDefault(sign core.QMetaMethod_ITF)

func (*QModbusReply) Error

func (ptr *QModbusReply) Error() QModbusDevice__Error

func (*QModbusReply) ErrorOccurred

func (ptr *QModbusReply) ErrorOccurred(error QModbusDevice__Error)

func (*QModbusReply) ErrorString

func (ptr *QModbusReply) ErrorString() string

func (*QModbusReply) EventDefault

func (ptr *QModbusReply) EventDefault(e core.QEvent_ITF) bool

func (*QModbusReply) EventFilterDefault

func (ptr *QModbusReply) EventFilterDefault(watched core.QObject_ITF, event core.QEvent_ITF) bool

func (*QModbusReply) Finished

func (ptr *QModbusReply) Finished()

func (*QModbusReply) InitFromInternal

func (n *QModbusReply) InitFromInternal(ptr uintptr, name string)

func (*QModbusReply) IsFinished

func (ptr *QModbusReply) IsFinished() bool

func (*QModbusReply) MetaObjectDefault

func (ptr *QModbusReply) MetaObjectDefault() *core.QMetaObject

func (*QModbusReply) Pointer

func (ptr *QModbusReply) Pointer() unsafe.Pointer

func (*QModbusReply) QModbusReply_PTR

func (ptr *QModbusReply) QModbusReply_PTR() *QModbusReply

func (*QModbusReply) RawResult

func (ptr *QModbusReply) RawResult() *QModbusResponse

func (*QModbusReply) Result

func (ptr *QModbusReply) Result() *QModbusDataUnit

func (*QModbusReply) ServerAddress

func (ptr *QModbusReply) ServerAddress() int

func (*QModbusReply) SetPointer

func (ptr *QModbusReply) SetPointer(p unsafe.Pointer)

func (*QModbusReply) TimerEventDefault

func (ptr *QModbusReply) TimerEventDefault(event core.QTimerEvent_ITF)

func (*QModbusReply) Type

type QModbusReply_ITF

type QModbusReply_ITF interface {
	core.QObject_ITF
	QModbusReply_PTR() *QModbusReply
}

type QModbusReply__ReplyType

type QModbusReply__ReplyType int64

QModbusReply::ReplyType

const (
	QModbusReply__Raw       QModbusReply__ReplyType = QModbusReply__ReplyType(0)
	QModbusReply__Common    QModbusReply__ReplyType = QModbusReply__ReplyType(1)
	QModbusReply__Broadcast QModbusReply__ReplyType = QModbusReply__ReplyType(2)
)

type QModbusRequest

type QModbusRequest struct {
	QModbusPdu
}

func NewQModbusRequest

func NewQModbusRequest() *QModbusRequest

func NewQModbusRequest2

func NewQModbusRequest2(pdu QModbusPdu_ITF) *QModbusRequest

func NewQModbusRequestFromPointer

func NewQModbusRequestFromPointer(ptr unsafe.Pointer) (n *QModbusRequest)

func (*QModbusRequest) CalculateDataSize

func (ptr *QModbusRequest) CalculateDataSize(request QModbusRequest_ITF) int

func (*QModbusRequest) ClassNameInternalF

func (n *QModbusRequest) ClassNameInternalF() string

func (*QModbusRequest) DestroyQModbusRequest

func (ptr *QModbusRequest) DestroyQModbusRequest()

func (*QModbusRequest) InitFromInternal

func (n *QModbusRequest) InitFromInternal(ptr uintptr, name string)

func (*QModbusRequest) MinimumDataSize

func (ptr *QModbusRequest) MinimumDataSize(request QModbusRequest_ITF) int

func (*QModbusRequest) Pointer

func (ptr *QModbusRequest) Pointer() unsafe.Pointer

func (*QModbusRequest) QModbusRequest_PTR

func (ptr *QModbusRequest) QModbusRequest_PTR() *QModbusRequest

func (*QModbusRequest) SetPointer

func (ptr *QModbusRequest) SetPointer(p unsafe.Pointer)

type QModbusRequest_ITF

type QModbusRequest_ITF interface {
	QModbusPdu_ITF
	QModbusRequest_PTR() *QModbusRequest
}

type QModbusResponse

type QModbusResponse struct {
	QModbusPdu
}

func NewQModbusResponse

func NewQModbusResponse() *QModbusResponse

func NewQModbusResponse2

func NewQModbusResponse2(pdu QModbusPdu_ITF) *QModbusResponse

func NewQModbusResponseFromPointer

func NewQModbusResponseFromPointer(ptr unsafe.Pointer) (n *QModbusResponse)

func (*QModbusResponse) CalculateDataSize

func (ptr *QModbusResponse) CalculateDataSize(response QModbusResponse_ITF) int

func (*QModbusResponse) ClassNameInternalF

func (n *QModbusResponse) ClassNameInternalF() string

func (*QModbusResponse) DestroyQModbusResponse

func (ptr *QModbusResponse) DestroyQModbusResponse()

func (*QModbusResponse) InitFromInternal

func (n *QModbusResponse) InitFromInternal(ptr uintptr, name string)

func (*QModbusResponse) MinimumDataSize

func (ptr *QModbusResponse) MinimumDataSize(response QModbusResponse_ITF) int

func (*QModbusResponse) Pointer

func (ptr *QModbusResponse) Pointer() unsafe.Pointer

func (*QModbusResponse) QModbusResponse_PTR

func (ptr *QModbusResponse) QModbusResponse_PTR() *QModbusResponse

func (*QModbusResponse) SetPointer

func (ptr *QModbusResponse) SetPointer(p unsafe.Pointer)

type QModbusResponse_ITF

type QModbusResponse_ITF interface {
	QModbusPdu_ITF
	QModbusResponse_PTR() *QModbusResponse
}

type QModbusRtuSerialMaster

type QModbusRtuSerialMaster struct {
	QModbusClient
}

func NewQModbusRtuSerialMaster

func NewQModbusRtuSerialMaster(parent core.QObject_ITF) *QModbusRtuSerialMaster

func NewQModbusRtuSerialMasterFromPointer

func NewQModbusRtuSerialMasterFromPointer(ptr unsafe.Pointer) (n *QModbusRtuSerialMaster)

func (*QModbusRtuSerialMaster) ClassNameInternalF

func (n *QModbusRtuSerialMaster) ClassNameInternalF() string

func (*QModbusRtuSerialMaster) Close

func (ptr *QModbusRtuSerialMaster) Close()

func (*QModbusRtuSerialMaster) CloseDefault

func (ptr *QModbusRtuSerialMaster) CloseDefault()

func (*QModbusRtuSerialMaster) ConnectClose

func (ptr *QModbusRtuSerialMaster) ConnectClose(f func())

func (*QModbusRtuSerialMaster) ConnectOpen

func (ptr *QModbusRtuSerialMaster) ConnectOpen(f func() bool)

func (*QModbusRtuSerialMaster) DestroyQModbusRtuSerialMaster

func (ptr *QModbusRtuSerialMaster) DestroyQModbusRtuSerialMaster()

func (*QModbusRtuSerialMaster) DisconnectClose

func (ptr *QModbusRtuSerialMaster) DisconnectClose()

func (*QModbusRtuSerialMaster) DisconnectOpen

func (ptr *QModbusRtuSerialMaster) DisconnectOpen()

func (*QModbusRtuSerialMaster) InitFromInternal

func (n *QModbusRtuSerialMaster) InitFromInternal(ptr uintptr, name string)

func (*QModbusRtuSerialMaster) InterFrameDelay

func (ptr *QModbusRtuSerialMaster) InterFrameDelay() int

func (*QModbusRtuSerialMaster) Open

func (ptr *QModbusRtuSerialMaster) Open() bool

func (*QModbusRtuSerialMaster) OpenDefault

func (ptr *QModbusRtuSerialMaster) OpenDefault() bool

func (*QModbusRtuSerialMaster) Pointer

func (ptr *QModbusRtuSerialMaster) Pointer() unsafe.Pointer

func (*QModbusRtuSerialMaster) QModbusRtuSerialMaster_PTR

func (ptr *QModbusRtuSerialMaster) QModbusRtuSerialMaster_PTR() *QModbusRtuSerialMaster

func (*QModbusRtuSerialMaster) SetInterFrameDelay

func (ptr *QModbusRtuSerialMaster) SetInterFrameDelay(microseconds int)

func (*QModbusRtuSerialMaster) SetPointer

func (ptr *QModbusRtuSerialMaster) SetPointer(p unsafe.Pointer)

func (*QModbusRtuSerialMaster) SetTurnaroundDelay

func (ptr *QModbusRtuSerialMaster) SetTurnaroundDelay(turnaroundDelay int)

func (*QModbusRtuSerialMaster) TurnaroundDelay

func (ptr *QModbusRtuSerialMaster) TurnaroundDelay() int

type QModbusRtuSerialMaster_ITF

type QModbusRtuSerialMaster_ITF interface {
	QModbusClient_ITF
	QModbusRtuSerialMaster_PTR() *QModbusRtuSerialMaster
}

type QModbusRtuSerialSlave

type QModbusRtuSerialSlave struct {
	QModbusServer
}

func NewQModbusRtuSerialSlave

func NewQModbusRtuSerialSlave(parent core.QObject_ITF) *QModbusRtuSerialSlave

func NewQModbusRtuSerialSlaveFromPointer

func NewQModbusRtuSerialSlaveFromPointer(ptr unsafe.Pointer) (n *QModbusRtuSerialSlave)

func (*QModbusRtuSerialSlave) ClassNameInternalF

func (n *QModbusRtuSerialSlave) ClassNameInternalF() string

func (*QModbusRtuSerialSlave) Close

func (ptr *QModbusRtuSerialSlave) Close()

func (*QModbusRtuSerialSlave) CloseDefault

func (ptr *QModbusRtuSerialSlave) CloseDefault()

func (*QModbusRtuSerialSlave) ConnectClose

func (ptr *QModbusRtuSerialSlave) ConnectClose(f func())

func (*QModbusRtuSerialSlave) ConnectDestroyQModbusRtuSerialSlave

func (ptr *QModbusRtuSerialSlave) ConnectDestroyQModbusRtuSerialSlave(f func())

func (*QModbusRtuSerialSlave) ConnectOpen

func (ptr *QModbusRtuSerialSlave) ConnectOpen(f func() bool)

func (*QModbusRtuSerialSlave) DestroyQModbusRtuSerialSlave

func (ptr *QModbusRtuSerialSlave) DestroyQModbusRtuSerialSlave()

func (*QModbusRtuSerialSlave) DestroyQModbusRtuSerialSlaveDefault

func (ptr *QModbusRtuSerialSlave) DestroyQModbusRtuSerialSlaveDefault()

func (*QModbusRtuSerialSlave) DisconnectClose

func (ptr *QModbusRtuSerialSlave) DisconnectClose()

func (*QModbusRtuSerialSlave) DisconnectDestroyQModbusRtuSerialSlave

func (ptr *QModbusRtuSerialSlave) DisconnectDestroyQModbusRtuSerialSlave()

func (*QModbusRtuSerialSlave) DisconnectOpen

func (ptr *QModbusRtuSerialSlave) DisconnectOpen()

func (*QModbusRtuSerialSlave) InitFromInternal

func (n *QModbusRtuSerialSlave) InitFromInternal(ptr uintptr, name string)

func (*QModbusRtuSerialSlave) Open

func (ptr *QModbusRtuSerialSlave) Open() bool

func (*QModbusRtuSerialSlave) OpenDefault

func (ptr *QModbusRtuSerialSlave) OpenDefault() bool

func (*QModbusRtuSerialSlave) Pointer

func (ptr *QModbusRtuSerialSlave) Pointer() unsafe.Pointer

func (*QModbusRtuSerialSlave) QModbusRtuSerialSlave_PTR

func (ptr *QModbusRtuSerialSlave) QModbusRtuSerialSlave_PTR() *QModbusRtuSerialSlave

func (*QModbusRtuSerialSlave) SetPointer

func (ptr *QModbusRtuSerialSlave) SetPointer(p unsafe.Pointer)

type QModbusRtuSerialSlave_ITF

type QModbusRtuSerialSlave_ITF interface {
	QModbusServer_ITF
	QModbusRtuSerialSlave_PTR() *QModbusRtuSerialSlave
}

type QModbusServer

type QModbusServer struct {
	QModbusDevice
}

func NewQModbusServer

func NewQModbusServer(parent core.QObject_ITF) *QModbusServer

func NewQModbusServerFromPointer

func NewQModbusServerFromPointer(ptr unsafe.Pointer) (n *QModbusServer)

func (*QModbusServer) ClassNameInternalF

func (n *QModbusServer) ClassNameInternalF() string

func (*QModbusServer) Close

func (ptr *QModbusServer) Close()

func (*QModbusServer) CloseDefault

func (ptr *QModbusServer) CloseDefault()

func (*QModbusServer) ConnectDataWritten

func (ptr *QModbusServer) ConnectDataWritten(f func(table QModbusDataUnit__RegisterType, address int, size int))

func (*QModbusServer) ConnectProcessPrivateRequest

func (ptr *QModbusServer) ConnectProcessPrivateRequest(f func(request *QModbusPdu) *QModbusResponse)

func (*QModbusServer) ConnectProcessRequest

func (ptr *QModbusServer) ConnectProcessRequest(f func(request *QModbusPdu) *QModbusResponse)

func (*QModbusServer) ConnectProcessesBroadcast

func (ptr *QModbusServer) ConnectProcessesBroadcast(f func() bool)

func (*QModbusServer) ConnectReadData

func (ptr *QModbusServer) ConnectReadData(f func(newData *QModbusDataUnit) bool)

func (*QModbusServer) ConnectSetValue

func (ptr *QModbusServer) ConnectSetValue(f func(option int, newValue *core.QVariant) bool)

func (*QModbusServer) ConnectValue

func (ptr *QModbusServer) ConnectValue(f func(option int) *core.QVariant)

func (*QModbusServer) ConnectWriteData

func (ptr *QModbusServer) ConnectWriteData(f func(newData *QModbusDataUnit) bool)

func (*QModbusServer) Data

func (ptr *QModbusServer) Data(newData QModbusDataUnit_ITF) bool

func (*QModbusServer) Data2

func (ptr *QModbusServer) Data2(table QModbusDataUnit__RegisterType, address uint16, data uint16) bool

func (*QModbusServer) DataWritten

func (ptr *QModbusServer) DataWritten(table QModbusDataUnit__RegisterType, address int, size int)

func (*QModbusServer) DestroyQModbusServer

func (ptr *QModbusServer) DestroyQModbusServer()

func (*QModbusServer) DisconnectDataWritten

func (ptr *QModbusServer) DisconnectDataWritten()

func (*QModbusServer) DisconnectProcessPrivateRequest

func (ptr *QModbusServer) DisconnectProcessPrivateRequest()

func (*QModbusServer) DisconnectProcessRequest

func (ptr *QModbusServer) DisconnectProcessRequest()

func (*QModbusServer) DisconnectProcessesBroadcast

func (ptr *QModbusServer) DisconnectProcessesBroadcast()

func (*QModbusServer) DisconnectReadData

func (ptr *QModbusServer) DisconnectReadData()

func (*QModbusServer) DisconnectSetValue

func (ptr *QModbusServer) DisconnectSetValue()

func (*QModbusServer) DisconnectValue

func (ptr *QModbusServer) DisconnectValue()

func (*QModbusServer) DisconnectWriteData

func (ptr *QModbusServer) DisconnectWriteData()

func (*QModbusServer) InitFromInternal

func (n *QModbusServer) InitFromInternal(ptr uintptr, name string)

func (*QModbusServer) Open

func (ptr *QModbusServer) Open() bool

func (*QModbusServer) OpenDefault

func (ptr *QModbusServer) OpenDefault() bool

func (*QModbusServer) Pointer

func (ptr *QModbusServer) Pointer() unsafe.Pointer

func (*QModbusServer) ProcessPrivateRequest

func (ptr *QModbusServer) ProcessPrivateRequest(request QModbusPdu_ITF) *QModbusResponse

func (*QModbusServer) ProcessPrivateRequestDefault

func (ptr *QModbusServer) ProcessPrivateRequestDefault(request QModbusPdu_ITF) *QModbusResponse

func (*QModbusServer) ProcessRequest

func (ptr *QModbusServer) ProcessRequest(request QModbusPdu_ITF) *QModbusResponse

func (*QModbusServer) ProcessRequestDefault

func (ptr *QModbusServer) ProcessRequestDefault(request QModbusPdu_ITF) *QModbusResponse

func (*QModbusServer) ProcessesBroadcast

func (ptr *QModbusServer) ProcessesBroadcast() bool

func (*QModbusServer) ProcessesBroadcastDefault

func (ptr *QModbusServer) ProcessesBroadcastDefault() bool

func (*QModbusServer) QModbusServer_PTR

func (ptr *QModbusServer) QModbusServer_PTR() *QModbusServer

func (*QModbusServer) ReadData

func (ptr *QModbusServer) ReadData(newData QModbusDataUnit_ITF) bool

func (*QModbusServer) ReadDataDefault

func (ptr *QModbusServer) ReadDataDefault(newData QModbusDataUnit_ITF) bool

func (*QModbusServer) ServerAddress

func (ptr *QModbusServer) ServerAddress() int

func (*QModbusServer) SetData

func (ptr *QModbusServer) SetData(newData QModbusDataUnit_ITF) bool

func (*QModbusServer) SetData2

func (ptr *QModbusServer) SetData2(table QModbusDataUnit__RegisterType, address uint16, data uint16) bool

func (*QModbusServer) SetPointer

func (ptr *QModbusServer) SetPointer(p unsafe.Pointer)

func (*QModbusServer) SetServerAddress

func (ptr *QModbusServer) SetServerAddress(serverAddress int)

func (*QModbusServer) SetValue

func (ptr *QModbusServer) SetValue(option int, newValue core.QVariant_ITF) bool

func (*QModbusServer) SetValueDefault

func (ptr *QModbusServer) SetValueDefault(option int, newValue core.QVariant_ITF) bool

func (*QModbusServer) Value

func (ptr *QModbusServer) Value(option int) *core.QVariant

func (*QModbusServer) ValueDefault

func (ptr *QModbusServer) ValueDefault(option int) *core.QVariant

func (*QModbusServer) WriteData

func (ptr *QModbusServer) WriteData(newData QModbusDataUnit_ITF) bool

func (*QModbusServer) WriteDataDefault

func (ptr *QModbusServer) WriteDataDefault(newData QModbusDataUnit_ITF) bool

type QModbusServer_ITF

type QModbusServer_ITF interface {
	QModbusDevice_ITF
	QModbusServer_PTR() *QModbusServer
}

type QModbusServer__Option

type QModbusServer__Option int64

QModbusServer::Option

const (
	QModbusServer__DiagnosticRegister    QModbusServer__Option = QModbusServer__Option(0)
	QModbusServer__ExceptionStatusOffset QModbusServer__Option = QModbusServer__Option(1)
	QModbusServer__DeviceBusy            QModbusServer__Option = QModbusServer__Option(2)
	QModbusServer__AsciiInputDelimiter   QModbusServer__Option = QModbusServer__Option(3)
	QModbusServer__ListenOnlyMode        QModbusServer__Option = QModbusServer__Option(4)
	QModbusServer__ServerIdentifier      QModbusServer__Option = QModbusServer__Option(5)
	QModbusServer__RunIndicatorStatus    QModbusServer__Option = QModbusServer__Option(6)
	QModbusServer__AdditionalData        QModbusServer__Option = QModbusServer__Option(7)
	QModbusServer__DeviceIdentification  QModbusServer__Option = QModbusServer__Option(8)
	QModbusServer__UserOption            QModbusServer__Option = QModbusServer__Option(0x100)
)

type QModbusTcpClient

type QModbusTcpClient struct {
	QModbusClient
}

func NewQModbusTcpClient

func NewQModbusTcpClient(parent core.QObject_ITF) *QModbusTcpClient

func NewQModbusTcpClientFromPointer

func NewQModbusTcpClientFromPointer(ptr unsafe.Pointer) (n *QModbusTcpClient)

func (*QModbusTcpClient) ClassNameInternalF

func (n *QModbusTcpClient) ClassNameInternalF() string

func (*QModbusTcpClient) Close

func (ptr *QModbusTcpClient) Close()

func (*QModbusTcpClient) CloseDefault

func (ptr *QModbusTcpClient) CloseDefault()

func (*QModbusTcpClient) ConnectClose

func (ptr *QModbusTcpClient) ConnectClose(f func())

func (*QModbusTcpClient) ConnectDestroyQModbusTcpClient

func (ptr *QModbusTcpClient) ConnectDestroyQModbusTcpClient(f func())

func (*QModbusTcpClient) ConnectOpen

func (ptr *QModbusTcpClient) ConnectOpen(f func() bool)

func (*QModbusTcpClient) DestroyQModbusTcpClient

func (ptr *QModbusTcpClient) DestroyQModbusTcpClient()

func (*QModbusTcpClient) DestroyQModbusTcpClientDefault

func (ptr *QModbusTcpClient) DestroyQModbusTcpClientDefault()

func (*QModbusTcpClient) DisconnectClose

func (ptr *QModbusTcpClient) DisconnectClose()

func (*QModbusTcpClient) DisconnectDestroyQModbusTcpClient

func (ptr *QModbusTcpClient) DisconnectDestroyQModbusTcpClient()

func (*QModbusTcpClient) DisconnectOpen

func (ptr *QModbusTcpClient) DisconnectOpen()

func (*QModbusTcpClient) InitFromInternal

func (n *QModbusTcpClient) InitFromInternal(ptr uintptr, name string)

func (*QModbusTcpClient) Open

func (ptr *QModbusTcpClient) Open() bool

func (*QModbusTcpClient) OpenDefault

func (ptr *QModbusTcpClient) OpenDefault() bool

func (*QModbusTcpClient) Pointer

func (ptr *QModbusTcpClient) Pointer() unsafe.Pointer

func (*QModbusTcpClient) QModbusTcpClient_PTR

func (ptr *QModbusTcpClient) QModbusTcpClient_PTR() *QModbusTcpClient

func (*QModbusTcpClient) SetPointer

func (ptr *QModbusTcpClient) SetPointer(p unsafe.Pointer)

type QModbusTcpClient_ITF

type QModbusTcpClient_ITF interface {
	QModbusClient_ITF
	QModbusTcpClient_PTR() *QModbusTcpClient
}

type QModbusTcpConnectionObserver

type QModbusTcpConnectionObserver struct {
	internal.Internal
}

func NewQModbusTcpConnectionObserverFromPointer

func NewQModbusTcpConnectionObserverFromPointer(ptr unsafe.Pointer) (n *QModbusTcpConnectionObserver)

func (*QModbusTcpConnectionObserver) AcceptNewConnection

func (ptr *QModbusTcpConnectionObserver) AcceptNewConnection(newClient network.QTcpSocket_ITF) bool

func (*QModbusTcpConnectionObserver) ClassNameInternalF

func (n *QModbusTcpConnectionObserver) ClassNameInternalF() string

func (*QModbusTcpConnectionObserver) ConnectAcceptNewConnection

func (ptr *QModbusTcpConnectionObserver) ConnectAcceptNewConnection(f func(newClient *network.QTcpSocket) bool)

func (*QModbusTcpConnectionObserver) DestroyQModbusTcpConnectionObserver

func (ptr *QModbusTcpConnectionObserver) DestroyQModbusTcpConnectionObserver()

func (*QModbusTcpConnectionObserver) DisconnectAcceptNewConnection

func (ptr *QModbusTcpConnectionObserver) DisconnectAcceptNewConnection()

func (*QModbusTcpConnectionObserver) Pointer

func (*QModbusTcpConnectionObserver) QModbusTcpConnectionObserver_PTR

func (ptr *QModbusTcpConnectionObserver) QModbusTcpConnectionObserver_PTR() *QModbusTcpConnectionObserver

func (*QModbusTcpConnectionObserver) SetPointer

func (ptr *QModbusTcpConnectionObserver) SetPointer(p unsafe.Pointer)

type QModbusTcpConnectionObserver_ITF

type QModbusTcpConnectionObserver_ITF interface {
	QModbusTcpConnectionObserver_PTR() *QModbusTcpConnectionObserver
}

type QModbusTcpServer

type QModbusTcpServer struct {
	QModbusServer
}

func NewQModbusTcpServer

func NewQModbusTcpServer(parent core.QObject_ITF) *QModbusTcpServer

func NewQModbusTcpServerFromPointer

func NewQModbusTcpServerFromPointer(ptr unsafe.Pointer) (n *QModbusTcpServer)

func (*QModbusTcpServer) ClassNameInternalF

func (n *QModbusTcpServer) ClassNameInternalF() string

func (*QModbusTcpServer) Close

func (ptr *QModbusTcpServer) Close()

func (*QModbusTcpServer) CloseDefault

func (ptr *QModbusTcpServer) CloseDefault()

func (*QModbusTcpServer) ConnectClose

func (ptr *QModbusTcpServer) ConnectClose(f func())

func (*QModbusTcpServer) ConnectDestroyQModbusTcpServer

func (ptr *QModbusTcpServer) ConnectDestroyQModbusTcpServer(f func())

func (*QModbusTcpServer) ConnectModbusClientDisconnected

func (ptr *QModbusTcpServer) ConnectModbusClientDisconnected(f func(modbusClient *network.QTcpSocket))

func (*QModbusTcpServer) ConnectOpen

func (ptr *QModbusTcpServer) ConnectOpen(f func() bool)

func (*QModbusTcpServer) DestroyQModbusTcpServer

func (ptr *QModbusTcpServer) DestroyQModbusTcpServer()

func (*QModbusTcpServer) DestroyQModbusTcpServerDefault

func (ptr *QModbusTcpServer) DestroyQModbusTcpServerDefault()

func (*QModbusTcpServer) DisconnectClose

func (ptr *QModbusTcpServer) DisconnectClose()

func (*QModbusTcpServer) DisconnectDestroyQModbusTcpServer

func (ptr *QModbusTcpServer) DisconnectDestroyQModbusTcpServer()

func (*QModbusTcpServer) DisconnectModbusClientDisconnected

func (ptr *QModbusTcpServer) DisconnectModbusClientDisconnected()

func (*QModbusTcpServer) DisconnectOpen

func (ptr *QModbusTcpServer) DisconnectOpen()

func (*QModbusTcpServer) InitFromInternal

func (n *QModbusTcpServer) InitFromInternal(ptr uintptr, name string)

func (*QModbusTcpServer) InstallConnectionObserver

func (ptr *QModbusTcpServer) InstallConnectionObserver(observer QModbusTcpConnectionObserver_ITF)

func (*QModbusTcpServer) ModbusClientDisconnected

func (ptr *QModbusTcpServer) ModbusClientDisconnected(modbusClient network.QTcpSocket_ITF)

func (*QModbusTcpServer) Open

func (ptr *QModbusTcpServer) Open() bool

func (*QModbusTcpServer) OpenDefault

func (ptr *QModbusTcpServer) OpenDefault() bool

func (*QModbusTcpServer) Pointer

func (ptr *QModbusTcpServer) Pointer() unsafe.Pointer

func (*QModbusTcpServer) QModbusTcpServer_PTR

func (ptr *QModbusTcpServer) QModbusTcpServer_PTR() *QModbusTcpServer

func (*QModbusTcpServer) SetPointer

func (ptr *QModbusTcpServer) SetPointer(p unsafe.Pointer)

type QModbusTcpServer_ITF

type QModbusTcpServer_ITF interface {
	QModbusServer_ITF
	QModbusTcpServer_PTR() *QModbusTcpServer
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL