5.5.1.1 ファクトリ・オブジェクトへのリファレンスの登録

次のコード・スニペットは、TPフレームワーク・インタフェースを使用して、FactoryFinderにファクトリ・オブジェクトへの参照を登録する方法を示します。

// Server Application: Registering a factory.
// C++ Example.

TP::register_factory( factory_obj.in( ), “TellerFactory” );