VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
managedObjectListManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: managedObjListMgr.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef managedObjectListManager_H_
13 #define managedObjectListManager_H_
14 
18 
19 #include <tbb/spin_mutex.h>
20 
23 
30 
32 {
33 
34 protected:
37 
38 public:
41 
43  virtual ~DtManagedObjectListManager();
44 
45  virtual void init();
46 
53  DtManagedObjectListConstPtr getList(const DtVrfObjectPredicate& predicate =
55  bool reevaluateFlag = false,
56  DtTime evaluationPeriod = 0);
57 
59  DtManagedObjectListConstPtr nullList();
60 
62  virtual void printCurrentLists();
63 
64 protected:
68  void removeExpiredLists();
69 
70 protected:
72  typedef std::list<DtBoost::weak_ptr<DtManagedObjectList> >
74 
75  mutable tbb::spin_mutex myListsMutex;
77 
78  std::list<DtConsoleCommand*> myConsoleCommands;
79 };
80 
81 #endif

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)