In the article, presented are sufficient and necessary conditions for a class of functions involving the ratio of two gamma functions to be logarithmically completely monotonic. From this, some inequalities for bounding the ratio of two gamma functions are refined, extended and sharpened readily, and double inequalities on the divided differences of the psi and polygamma functions are derived s...