|
|
This class implements a writer for NetworkMonitorReports. The reports will be written to a file in given intervals.
|
Constructor for a new NetLogWriter. Note: NetLogWriter will *not* be started automatically. You have to call start()!
Parameters:
name | Name of log file to write. |
interval | Interval in microseonds the log is written. |
maxCount | Number of entries to be written. |
monitor | NetworkMonitorInterface to get the reports from. |
smReport | StreamMonitorReport (default NULL). |
~ |
Destructor.
inline bool |
[const]
Check, if NetLogWriter is ready.
Returns: true, if ready; false, if not.
inline card64 |
[const]
Get time stamp of file (seconds since 01-Jan-1970).
Returns: Time stamp.
inline card64 |
[const]
Get interval of the entries in file.
Returns: Interval in microseconds.
Reimplemented from TimedThread.
inline card64 |
[const]
Get number of entries written into file.
Returns: Number of entries written.