MAK Data Logger API Documentation for HLA
threadedLogger.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "lgrCore.h"
12 
13 #include "absoluteTime.h"
14 #include "logger.h"
15 #include "virtualConstructor.h"
16 #include <vlutil/vlRunnable.h>
17 
18 namespace MAKLogger
19 {
20 
26  {
27  public:
28 
31 
32 
33  virtual ~DtThreadedLogger();
34 
36  virtual void run();
37 
39  virtual void stop();
40 
42  virtual bool isRunning() const;
43 
44  protected:
45 
47  virtual void setRunning(bool flag);
48 
51  volatile bool myRunningFlag;
52 
53  };
54 
56  typedef DtBoost::shared_ptr<DtThreadedLogger> DtThreadedLoggerSP;
57 
58 }
59 
60 

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)