ActuatorDsl

io.github.srs.model.entity.dynamicentity.actuator.dsl.ActuatorDsl
object ActuatorDsl

DSL for creating and configuring an Actuator for a Robot. Provides methods to validate actuators.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Validates an Actuator to ensure it meets the domain constraints.

Validates an Actuator to ensure it meets the domain constraints.

Value parameters

actuator

the Actuator to validate.

Attributes

Returns

Right if the actuator is valid, or Left with a validation error.

Extensions

Extensions

extension (actuator: Actuator[Robot])

Validates the actuator to ensure it meets the domain constraints.

Validates the actuator to ensure it meets the domain constraints.

Attributes

Returns

Right if the actuator is valid, or Left with a validation error.