RLServiceModule

io.github.srs.controller.protobuf.rl.RLServiceModule

Module that exposes a simple RL gRPC service used by the RL controller feature.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

trait Component[S <: BaseState]

Component that builds the RL gRPC service implementation.

Component that builds the RL gRPC service implementation.

The component depends on Requirements so it can access controller state when a richer implementation is wired in. The service implements separate RPC methods for each RL operation (init, reset, step, render, close).

Type parameters

S

the concrete simulation state type used by the controller wiring.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Interface[S]
class RLLauncher
Self type
trait Interface[S <: BaseState] extends Provider, Component[S]

Combined provider + component interface for consumers of the RL service.

Combined provider + component interface for consumers of the RL service.

Attributes

Supertypes
trait Component[S]
trait Provider
class Object
trait Matchable
class Any
Known subtypes
class RLLauncher
Self type
trait Provider

Provider for the RL service.

Provider for the RL service.

Exposes a service value which is both a lightweight Service and the generated RLFs2Grpc[IO, Metadata] gRPC service used by the server wiring.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Interface[S]
class RLLauncher
trait Service

Marker trait for the RL service implementation.

Marker trait for the RL service implementation.

Concrete implementations must also implement the generated RLFs2Grpc interface for serving gRPC.

Attributes

Supertypes
class Object
trait Matchable
class Any

Types

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

Requirements for components that need the RL service.

Requirements for components that need the RL service.

This type alias expresses that components requiring the RL service must also provide the RLControllerModule.Provider for access to controller state / context.

Attributes