Bathing machines, visible in the image, were commonly used during the Victorian and Edwardian eras to preserve modesty while swimming.
eBay