Anyone have links or knowledge on using inverter and generator setup in tandem?

I am wanting to setup solar battery bank with inverter for basic use and when a higher demand load is sensed, want the generator to start and load switches to generator...and also charge inverter batteries while running...

Example , all my lights and clocks , computers and low demand appliances will be running from inverter setup, then when something like my electric stove is turned on, the generator starts supplying my demands until they reduce to inverter level...

I will researching , but if someone already has done it or has the info available if will save me time, thanks.