pyrtma.message_base.MessageMeta

class MessageMeta(name, bases, namespace)[source]

Bases: PyCStructType

MessageMeta metaclass

Responsible for generating ctypes fields from descriptor attributes prior to class creation

Methods

from_address

Access a C instance at the specified address.

from_buffer

Create a C instance from a writeable buffer.

from_buffer_copy

Create a C instance from a readable buffer.

from_param

Convert a Python object into a function call parameter.

in_dll

Access a C instance in a dll.

mro

Return a type's method resolution order.

__call__(*args, **kwargs)

Call self as a function.

__mul__(value, /)

Return self*value.

from_address(integer) C instance

Access a C instance at the specified address.

from_buffer(object, offset=0) C instance

Create a C instance from a writeable buffer.

from_buffer_copy(object, offset=0) C instance

Create a C instance from a readable buffer.

from_param(value, /)

Convert a Python object into a function call parameter.

in_dll(dll, name) C instance

Access a C instance in a dll.

mro()

Return a type’s method resolution order.