SNAP Library 2.2, Developer Reference  2014-03-11 19:15:55
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
TCallbackNotify Class Reference

#include <ut.h>

Inheritance diagram for TCallbackNotify:
Collaboration diagram for TCallbackNotify:

List of all members.

Public Member Functions

 TCallbackNotify (const TCallbackF &_CallbackF)
void OnNotify (const TNotifyType &Type, const TStr &MsgStr)
void OnStatus (const TStr &MsgStr)

Static Public Member Functions

static PNotify New (const TCallbackF &CallbackF)

Private Attributes

TCallbackF CallbackF

Detailed Description

Definition at line 81 of file ut.h.


Constructor & Destructor Documentation

TCallbackNotify::TCallbackNotify ( const TCallbackF _CallbackF) [inline]

Definition at line 86 of file ut.h.

Referenced by New().

: CallbackF(_CallbackF) {}

Here is the caller graph for this function:


Member Function Documentation

static PNotify TCallbackNotify::New ( const TCallbackF CallbackF) [inline, static]

Definition at line 87 of file ut.h.

References TCallbackNotify().

{ return PNotify(new TCallbackNotify(CallbackF)); }

Here is the call graph for this function:

void TCallbackNotify::OnNotify ( const TNotifyType Type,
const TStr MsgStr 
) [inline, virtual]

Reimplemented from TNotify.

Definition at line 89 of file ut.h.

References Assert, and CallbackF.

  {
    Assert(CallbackF != NULL);
    CallbackF(Type, MsgStr); 
  }
void TCallbackNotify::OnStatus ( const TStr MsgStr) [inline, virtual]

Reimplemented from TNotify.

Definition at line 94 of file ut.h.

References Assert, CallbackF, and ntStat.

  {
    Assert(CallbackF != NULL);
    CallbackF(ntStat, MsgStr); 
  }

Member Data Documentation

Definition at line 84 of file ut.h.

Referenced by OnNotify(), and OnStatus().


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