Go to the documentation of this file.00001
00002
00003
00004
00005
00008
00009 #ifndef disLogger_H_
00010 #define disLogger_H_
00011
00012 #if DtDIS
00013
00014 #include "lgrSim.h"
00015 #include "logger.h"
00016 #include "virtualConstructor.h"
00017
00018 class DtExerciseConnInitializer;
00019
00020 namespace MAKLogger
00021 {
00022
00023 class DtLgrDisSimInterface;
00024
00028 class DT_DLL_LGRSIM DtDisLogger : public DtLogger
00029 {
00030 public:
00031
00034 DT_VIRTUAL_CTR(DtDisLogger,(bool autoInit))
00035
00036
00037 virtual ~DtDisLogger();
00038
00041 virtual void init();
00042
00045 virtual void setNetmask(const DtString& netmaskString);
00047 virtual const DtString& netmask() const;
00048
00050 void connect(DtExerciseConnInitializer& exConnInit);
00051
00052 virtual bool tick();
00053
00054 protected:
00055
00058 DtDisLogger();
00059
00060 protected:
00061
00062 DtLgrDisSimInterface* mySimInterface;
00063 DtString myNetmask;
00064 };
00065
00066 }
00067
00068 #endif
00069 #endif