MovementSensorServiceBase constructor

MovementSensorServiceBase()

Implementation

MovementSensorServiceBase() {
  $addMethod($grpc.ServiceMethod<$26.GetLinearVelocityRequest, $26.GetLinearVelocityResponse>(
      'GetLinearVelocity',
      getLinearVelocity_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $26.GetLinearVelocityRequest.fromBuffer(value),
      ($26.GetLinearVelocityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$26.GetAngularVelocityRequest, $26.GetAngularVelocityResponse>(
      'GetAngularVelocity',
      getAngularVelocity_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $26.GetAngularVelocityRequest.fromBuffer(value),
      ($26.GetAngularVelocityResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$26.GetCompassHeadingRequest, $26.GetCompassHeadingResponse>(
      'GetCompassHeading',
      getCompassHeading_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $26.GetCompassHeadingRequest.fromBuffer(value),
      ($26.GetCompassHeadingResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$26.GetOrientationRequest, $26.GetOrientationResponse>(
      'GetOrientation',
      getOrientation_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $26.GetOrientationRequest.fromBuffer(value),
      ($26.GetOrientationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$26.GetPositionRequest, $26.GetPositionResponse>(
      'GetPosition',
      getPosition_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $26.GetPositionRequest.fromBuffer(value),
      ($26.GetPositionResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$26.GetPropertiesRequest, $26.GetPropertiesResponse>(
      'GetProperties',
      getProperties_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $26.GetPropertiesRequest.fromBuffer(value),
      ($26.GetPropertiesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$26.GetAccuracyRequest, $26.GetAccuracyResponse>(
      'GetAccuracy',
      getAccuracy_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $26.GetAccuracyRequest.fromBuffer(value),
      ($26.GetAccuracyResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$26.GetLinearAccelerationRequest, $26.GetLinearAccelerationResponse>(
      'GetLinearAcceleration',
      getLinearAcceleration_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $26.GetLinearAccelerationRequest.fromBuffer(value),
      ($26.GetLinearAccelerationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>(
      'DoCommand',
      doCommand_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value),
      ($15.DoCommandResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$15.GetGeometriesRequest, $15.GetGeometriesResponse>(
      'GetGeometries',
      getGeometries_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $15.GetGeometriesRequest.fromBuffer(value),
      ($15.GetGeometriesResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$15.GetReadingsRequest, $15.GetReadingsResponse>(
      'GetReadings',
      getReadings_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $15.GetReadingsRequest.fromBuffer(value),
      ($15.GetReadingsResponse value) => value.writeToBuffer()));
}