LRAUV  revA
DirectoryLogWriter.h
Go to the documentation of this file.
1 
10 #ifndef DIRECTORYLOGWRITER_H_
11 #define DIRECTORYLOGWRITER_H_
12 
13 #include "BinaryLogWriter.h"
14 
15 #include "io/OutStream.h"
16 
24 {
25 public:
27  DirectoryLogWriter( bool forceInitialized = false );
28 
30  virtual ~DirectoryLogWriter();
31 
32  virtual unsigned int writeHeader();
33 
34 
35 private:
36 
38  static bool Initialized_;
39 
41  static bool Restarted_;
42 
45 
47  friend class Supervisor;
48 
50  static void Uninitialize();
51 
52 };
53 
54 #endif /*DIRECTORYLOGWRITER_H_*/
static bool Restarted_
Have we restarted the app?
Definition: DirectoryLogWriter.h:41
static void Uninitialize()
Unsets Initialized_.
Definition: DirectoryLogWriter.cpp:55
Contains the OutStream class declaration.
DirectoryLogWriter(bool forceInitialized=false)
Default Constructor.
Definition: DirectoryLogWriter.cpp:20
bool initialized_
Have we been initiailized?
Definition: DirectoryLogWriter.h:44
static bool Initialized_
Has the directory been initialized?
Definition: DirectoryLogWriter.h:38
Defines a LogWriter specific to writing binary values to a stream See FileLogWriter for output to the...
Definition: BinaryLogWriter.h:23
virtual unsigned int writeHeader()
Start the binary log.
Definition: DirectoryLogWriter.cpp:34
virtual ~DirectoryLogWriter()
Destructor.
Definition: DirectoryLogWriter.cpp:31
The supervisor is the "main" component in the vehicle software.
Definition: Supervisor.h:65
Contains the BinaryLogWriter class definition.
Defines a LogWriter specific to writing binary values to a stream See FileLogWriter for output to the...
Definition: DirectoryLogWriter.h:23