MAK Data Logger API Documentation for DIS
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 Sun Dec 15 18:04:30 EST 2013 from SVN revision 134418
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)