I have an abstract process class
Abstract class **A**
it has member function run()
classes B,C,D,E are inherited from abstract class A.
I have an class called F (ProcessFactory) which has a function called getProcess()
which takes argument and gives one instance of specified type of process object.
Now another class called G which uses class F and get the instances of class B,C,D,E and work on them.
I would be happy if someone can provide an UML class diagram for the above scenario. As my classes involves threads, so is there anything which can show in UML for thread related classes?