The invention relates to derivatives of ((phenyl)-3,6-dihydropyridin-1 yl)- (bridged piperazinyl)-1 -alkanone and ((phenyl)-2,5-dihydro-pyrrol-1 yl)-(bridged piperazinyl)-1 – alkanone derivatives of the general formula (I) where A, B, m, W, n, and R5 are such as defined in Claim 1, to a method for preparing the same, and to the therapeutic application thereof.