- Temporarily disabled template-based singleton system because of a crash virtually surely caused by it

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@648 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-06-21 20:24:36 +00:00
parent 167f9ad437
commit 0a2f37345f
8 changed files with 60 additions and 11 deletions

View file

@ -49,7 +49,7 @@ namespace sgpem
*/
class History;
class SG_DLLEXPORT History : public Singleton<History>, public ObservedSubject
class SG_DLLEXPORT History : /*public Singleton<History>,*/ public ObservedSubject
{
friend class Singleton<History>;
@ -85,6 +85,8 @@ namespace sgpem
\param instant Desired cutting time.
*/
virtual void truncate_at(int instant);
static History& get_instance();
protected:
@ -95,6 +97,7 @@ namespace sgpem
private:
int _total_time_elapsed;
std::vector<sgpem::Slice> _slices;
static History* _instance;
};
}//~ namespace sgpem