BOOL -> bool, std::tr1::function -> std::function 타입 변경