SNAP Library 2.0, User Reference  2013-05-13 16:33:57
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TLogNotify Class Reference

#include <ut.h>

Inherits TNotify.

List of all members.

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

Detailed Description

Definition at line 148 of file ut.h.


Constructor & Destructor Documentation

TLogNotify::TLogNotify ( const PNotify _Notify) [inline]

Definition at line 153 of file ut.h.

: Notify(_Notify) { }

Member Function Documentation

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()));
}

Member Data Documentation

Definition at line 150 of file ut.h.


The documentation for this class was generated from the following files: