ControllerModule

io.github.srs.controller.ControllerModule

Module that defines the controller logic for the Scala Robotics Simulator.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

trait Component[S <: State]

Component trait that defines the interface for creating a controller.

Component trait that defines the interface for creating a controller.

Type parameters

S

the type of the simulation state, which must extend ModelModule.State.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Interface[S]
trait BaseLauncher
object CLILauncher
object GUILauncher
Self type
trait Controller[S <: State]

Controller trait that defines the interface for the controller.

Controller trait that defines the interface for the controller.

Type parameters

S

the type of the state, which must extend ModelModule.State.

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Interface[S <: State] extends Provider[S], Component[S]

Interface trait that combines the provider and component traits for the controller module.

Interface trait that combines the provider and component traits for the controller module.

Type parameters

S

the type of the simulation state, which must extend ModelModule.State.

Attributes

Supertypes
trait Component[S]
trait Provider[S]
class Object
trait Matchable
class Any
Known subtypes
trait BaseLauncher
object CLILauncher
object GUILauncher
Self type
trait Provider[S <: State]

Provider trait that defines the interface for providing a controller.

Provider trait that defines the interface for providing a controller.

Type parameters

S

the type of the state, which must extend ModelModule.State.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Interface[S]
trait BaseLauncher
object CLILauncher
object GUILauncher

Types

type Requirements[S <: State] = Provider[S] & Provider[S]

Defines the dependencies required by the controller module. In particular, it requires a io.github.srs.view.ViewModule.Provider and a io.github.srs.model.ModelModule.Provider.

Defines the dependencies required by the controller module. In particular, it requires a io.github.srs.view.ViewModule.Provider and a io.github.srs.model.ModelModule.Provider.

Attributes