Gear damage, total damage?

Today I was on the road with my Volvo V50 2.0D when the power was suddenly abruptly gone and the gearbox made a massively gruesome noise. It smoked heavily from the exhaust and I then rolled slowly to the road wheel. I then tried to start the engine again which only succeeded after about 5min. I then carefully drove a few 100m, switched on. But also a lot of me that the clutch made strange noises. Tow the car. What’s going to happen? Gear damage? Auto V50 2.0D, BJ 2009, 190,000 Should I adjust for a total damage? PS: I had the power drop (without gear noise) a 1/2 year ago, after that the diesel filter was changed – until today everything went well.