|
SNAP Library 2.2, User Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <ut.h>
Inherits TNotify.
Public Member Functions | |
| TLogNotify (const PNotify &_Notify) | |
| void | OnStatus (const TStr &MsgStr) |
Static Public Member Functions | |
| static PNotify | New (const PNotify &Notify) |
Private Attributes | |
| PNotify | Notify |
| TLogNotify::TLogNotify | ( | const PNotify & | _Notify | ) | [inline] |
| static PNotify TLogNotify::New | ( | const PNotify & | Notify | ) | [inline, static] |
Definition at line 154 of file ut.h.
{ return new TLogNotify(Notify); }
| void TLogNotify::OnStatus | ( | const TStr & | MsgStr | ) | [virtual] |
Reimplemented from TNotify.
Definition at line 106 of file ut.cpp.
{
TTm NowTm = TTm::GetCurLocTm();
Notify->OnStatus(TStr::Fmt("[%s %s] %s",
NowTm.GetYMDDashStr().CStr(),
NowTm.GetHMSTColonDotStr(true, false).CStr(),
MsgStr.CStr()));
}
PNotify TLogNotify::Notify [private] |