GCOP
1.0
|
00001 // This file is part of libgcop, a library for Geometric Control, Optimization, and Planning (GCOP) 00002 // 00003 // Copyright (C) 2004-2014 Marin Kobilarov <marin(at)jhu.edu> 00004 // 00005 // This Source Code Form is subject to the terms of the Mozilla 00006 // Public License v. 2.0. If a copy of the MPL was not distributed 00007 // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 00009 #ifndef GCOP_CREATOR_H 00010 #define GCOP_CREATOR_H 00011 00012 namespace gcop { 00013 00020 template <typename T> class Creator { 00021 public: 00026 virtual T& operator()() = 0; 00027 }; 00028 } 00029 00030 #endif