main.pxd.in 658 B

123456789101112131415161718
  1. from awlsim.common.cython_support cimport *
  2. from awlsim.core.hardware cimport *
  3. cdef class HardwareInterface_LinuxCNC(AbstractHardwareInterface):
  4. cdef public _Bool linuxCNC_initialized
  5. cdef public object LinuxCNC_HAL
  6. cdef public object hal
  7. cdef public uint32_t inputSize
  8. cdef public uint32_t outputSize
  9. cdef public _Bool __configDone
  10. cdef public list __activeInputs
  11. cdef public list __activeOutputs
  12. cdef readInputs(self)
  13. cdef writeOutputs(self)
  14. cdef bytearray directReadInput(self, uint32_t accessWidth, uint32_t accessOffset)
  15. cdef ExBool_t directWriteOutput(self, uint32_t accessWidth, uint32_t accessOffset, bytearray data) except ExBool_val