Piston machines or pumps characterised by having positively-driven valving {with specific kinematics of the distribution member for oscillating distribution members}