Skip to content
Structs

struct BoolMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


BoolMessage Functions

struct BoolMessage . fn init

fn init Signature

__init__(out self, value: Bool)

fn init Arguments

Name Type Default Description
value Bool

fn init Returns : Self

Static Method

This is a static method.

struct BoolsMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


BoolsMessage Functions

struct BoolsMessage . fn init

fn init Signature

__init__(out self, value: List[Bool])

fn init Arguments

Name Type Default Description
value List

fn init Returns : Self

Static Method

This is a static method.

struct FloatMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


FloatMessage Functions

struct FloatMessage . fn init

fn init Signature

__init__(out self, value: Float64)

fn init Arguments

Name Type Default Description
value Float64

fn init Returns : Self

Static Method

This is a static method.

struct FloatsMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


FloatsMessage Functions

struct FloatsMessage . fn init

fn init Signature

__init__(out self, value: List[Float64])

fn init Arguments

Name Type Default Description
value List

fn init Returns : Self

Static Method

This is a static method.

struct IntMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


IntMessage Functions

struct IntMessage . fn init

fn init Signature

__init__(out self, value: Int64)

fn init Arguments

Name Type Default Description
value Int64

fn init Returns : Self

Static Method

This is a static method.

struct IntsMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


IntsMessage Functions

struct IntsMessage . fn init

fn init Signature

__init__(out self, value: List[Int64])

fn init Arguments

Name Type Default Description
value List

fn init Returns : Self

Static Method

This is a static method.

struct StringMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


StringMessage Functions

struct StringMessage . fn init

fn init Signature

__init__(out self, value: String)

fn init Arguments

Name Type Default Description
value String

fn init Returns : Self

Static Method

This is a static method.

struct StringsMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


StringsMessage Functions

struct StringsMessage . fn init

fn init Signature

__init__(out self, value: List[String])

fn init Arguments

Name Type Default Description
value List

fn init Returns : Self

Static Method

This is a static method.

struct TrigsMessage

Traits: AnyType, Copyable, Movable, UnknownDestructibility


TrigsMessage Functions

struct TrigsMessage . fn init

fn init Signature

__init__(out self, value: List[Bool])

fn init Arguments

Name Type Default Description
value List

fn init Returns : Self

Static Method

This is a static method.

struct MessengerManager

Traits: AnyType, Copyable, Movable, UnknownDestructibility


MessengerManager Functions

struct MessengerManager . fn init

fn init Signature

__init__(out self)

fn init Returns : Self

Static Method

This is a static method.

struct MessengerManager . fn update_bool_msg

fn update_bool_msg Signature

update_bool_msg(mut self, key: String, value: Bool)

fn update_bool_msg Arguments

Name Type Default Description
key String
value Bool

struct MessengerManager . fn update_bools_msg

fn update_bools_msg Signature

update_bools_msg(mut self, key: String, var value: List[Bool])

fn update_bools_msg Arguments

Name Type Default Description
key String
value List

struct MessengerManager . fn update_float_msg

fn update_float_msg Signature

update_float_msg(mut self, key: String, value: Float64)

fn update_float_msg Arguments

Name Type Default Description
key String
value Float64

struct MessengerManager . fn update_floats_msg

fn update_floats_msg Signature

update_floats_msg(mut self, key: String, var value: List[Float64])

fn update_floats_msg Arguments

Name Type Default Description
key String
value List

struct MessengerManager . fn update_int_msg

fn update_int_msg Signature

update_int_msg(mut self, key: String, value: Int64)

fn update_int_msg Arguments

Name Type Default Description
key String
value Int64

struct MessengerManager . fn update_ints_msg

fn update_ints_msg Signature

update_ints_msg(mut self, key: String, var value: List[Int64])

fn update_ints_msg Arguments

Name Type Default Description
key String
value List

struct MessengerManager . fn update_string_msg

fn update_string_msg Signature

update_string_msg(mut self, key: String, value: String)

fn update_string_msg Arguments

Name Type Default Description
key String
value String

struct MessengerManager . fn update_strings_msg

fn update_strings_msg Signature

update_strings_msg(mut self, key: String, var value: List[String])

fn update_strings_msg Arguments

Name Type Default Description
key String
value List

struct MessengerManager . fn update_trig_msg

fn update_trig_msg Signature

update_trig_msg(mut self, var key: String)

fn update_trig_msg Arguments

Name Type Default Description
key String

struct MessengerManager . fn update_trigs_msg

fn update_trigs_msg Signature

update_trigs_msg(mut self, key: String, var value: List[Bool])

fn update_trigs_msg Arguments

Name Type Default Description
key String
value List

struct MessengerManager . fn transfer_msgs

fn transfer_msgs Signature

transfer_msgs(mut self)

Raises

struct MessengerManager . fn get_bool

fn get_bool Signature

get_bool(mut self, ref key: String) -> Optional[Bool]

fn get_bool Arguments

Name Type Default Description
key String

fn get_bool Returns : Optional

Raises

struct MessengerManager . fn get_bools

fn get_bools Signature

get_bools(mut self, ref key: String) -> Optional[List[Bool]]

fn get_bools Arguments

Name Type Default Description
key String

fn get_bools Returns : Optional

Raises

struct MessengerManager . fn get_float

fn get_float Signature

get_float(mut self, ref key: String) -> Optional[Float64]

fn get_float Arguments

Name Type Default Description
key String

fn get_float Returns : Optional

Raises

struct MessengerManager . fn get_floats

fn get_floats Signature

get_floats(mut self, ref key: String) -> Optional[List[Float64]]

fn get_floats Arguments

Name Type Default Description
key String

fn get_floats Returns : Optional

Raises

struct MessengerManager . fn get_int

fn get_int Signature

get_int(mut self, ref key: String) -> Optional[Int64]

fn get_int Arguments

Name Type Default Description
key String

fn get_int Returns : Optional

Raises

struct MessengerManager . fn get_ints

fn get_ints Signature

get_ints(mut self, ref key: String) -> Optional[List[Int64]]

fn get_ints Arguments

Name Type Default Description
key String

fn get_ints Returns : Optional

Raises

struct MessengerManager . fn get_string

fn get_string Signature

get_string(mut self, ref key: String) -> Optional[String]

fn get_string Arguments

Name Type Default Description
key String

fn get_string Returns : Optional

Raises

struct MessengerManager . fn get_strings

fn get_strings Signature

get_strings(mut self, ref key: String) -> Optional[List[String]]

fn get_strings Arguments

Name Type Default Description
key String

fn get_strings Returns : Optional

Raises

struct MessengerManager . fn get_trig

fn get_trig Signature

get_trig(mut self, key: String) -> Bool

fn get_trig Arguments

Name Type Default Description
key String

fn get_trig Returns : Bool

struct MessengerManager . fn get_trigs

fn get_trigs Signature

get_trigs(mut self, key: String) -> Optional[List[Bool]]

fn get_trigs Arguments

Name Type Default Description
key String

fn get_trigs Returns : Optional

Raises

struct MessengerManager . fn empty_msg_dicts

fn empty_msg_dicts Signature

empty_msg_dicts(mut self)

struct MMMWorld

Traits: AnyType, Copyable, Movable, Representable, UnknownDestructibility


MMMWorld Functions

struct MMMWorld . fn init

fn init Signature

__init__(out self, sample_rate: Float64 = 48000, block_size: Int64 = 64, num_in_chans: Int64 = 2, num_out_chans: Int64 = 2)

fn init Arguments

Name Type Default Description
sample_rate Float64 48000
block_size Int64 64
num_in_chans Int64 2
num_out_chans Int64 2

fn init Returns : Self

Static Method

This is a static method.

struct MMMWorld . fn set_channel_count

fn set_channel_count Signature

set_channel_count(mut self, num_in_chans: Int64, num_out_chans: Int64)

fn set_channel_count Arguments

Name Type Default Description
num_in_chans Int64
num_out_chans Int64

struct MMMWorld . fn print

fn print Signature

print[*Ts: Writable](self, *values: *Ts, *, n_blocks: UInt16 = 10, sep: StringSlice[StaticConstantOrigin] = " ", end: StringSlice[StaticConstantOrigin] = "\n")

fn print Parameters

Name Type Description
*Ts Writable

fn print Arguments

Name Type Default Description
*values *Ts
n_blocks UInt16 10
sep StringSlice " "
end StringSlice "\n"

Documentation generated with mojo doc from Mojo version 0.25.6.1