This method is the constructor for the OMLeafState class.
Public
OMLeafState(OMState* par, OMState* cmp)
par
Specifies the parent
cmp
Specifies the component