Current section

Files

Jump to
membrane_core lib membrane core element.ex
Raw

lib/membrane/core/element.ex

defmodule Membrane.Core.Element do
@moduledoc false
# Modules in this namespace are responsible for managing elements: handling incoming
# data, executing callbacks and evaluating actions. These modules can be divided
# in terms of functionality in the following way:
# - `Membrane.Core.Element.MessageDispatcher` parses incoming messages and
# forwards them to controllers and handlers
# - Controllers handle messages received from other elements or calls from other
# controllers and handlers
# - Handlers handle actions invoked by element itself
# - Models contain some utility functions for accessing data in state
# - `Membrane.Core.Element.State` defines the state struct that these modules
# operate on.
end