An idea dominating the mind and maintained despite evidence to the contrary; (loosely), an obsession.
A recurring musical theme; a leitmotif.
That said to be possessed by someone who is obsessed with something or only able to think of one thing.