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()

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.