ViewModule

io.github.srs.view.ViewModule
object ViewModule

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ViewModule.type

Members list

Type members

Classlikes

trait Component[S <: State]

Component trait that defines the interface for creating a view.

Component trait that defines the interface for creating a view.

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 CLIComponent[S]
object CLILauncher
trait GUIComponent[S]
object GUILauncher
trait Interface[S]
trait BaseLauncher
Show all
Self type
trait Interface[S <: State] extends Provider[S], Component[S]

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

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

Type parameters

S

the type of the 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 view.

Provider trait that defines the interface for providing a view.

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
trait View[S <: State]

View trait that defines the interface for the view.

View trait that defines the interface for the view.

Type parameters

S

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

Attributes

Supertypes
class Object
trait Matchable
class Any

Types

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

Defines the dependencies required by the view module. In particular, it requires a io.github.srs.controller.ControllerModule.Provider.

Defines the dependencies required by the view module. In particular, it requires a io.github.srs.controller.ControllerModule.Provider.

Attributes