これらのメソッドは、フレームワーク関連の初期化とクリーンアップを実装します。
例:
void class::initRelations() { state1 = new state1Class(); // creating the states }; void class::cleanUpRelations() { };