Triples on functor categories