Integrated electro-hydraulic machine with self-cooling possibilities for non-road mobile machinery