Operating devices or mechanisms, e.g. with electric drive comprising an electric motor positioned inside the roller