1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
%include "HardwareTransport.i"
%extend RobotRaconteur::HardwareTransport
{
%pythoncode
%{
MaxMessageSize = property(lambda self: self._GetMaxMessageSize(), lambda self, size: self._SetMaxMessageSize(size),
doc = """
Set the maximum serialized message size
Default: 10 MB
:rtype: int
""")
DisableMessage4 = property(lambda self: self._GetDisableMessage4(), lambda self, val: self._SetDisableMessage4(val),
doc = """
Set disable Message Format Version 4
Message Format Version 2 will be used
Default: Message V4 is enabled
:rtype: bool
""")
DisableStringTable = property(lambda self: self._GetDisableStringTable(), lambda self, val: self._SetDisableStringTable(val),
doc = """
Set disable string table
Default: false
RobotRaconteurNodeSetup and its subclasses
will disable the string table by default
:rtype: bool
""")
DisableAsyncMessageIO = property(lambda self: self._GetDisableAsyncMessageIO(), lambda self, val: self._SetDisableAsyncMessageIO(val),
doc = """
Set if async message io is disabled
Async message io has better memory handling, at the
expense of slightly higher latency.
Default: Async io enabled
:rtype: bool
""")
%}
}
|