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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TCallbackNotify Class Reference

#include <ut.h>

Inherits TNotify.

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.

: CallbackF(_CallbackF) {}

Member Function Documentation

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

Definition at line 87 of file ut.h.

{ return PNotify(new TCallbackNotify(CallbackF)); }
void TCallbackNotify::OnNotify ( const TNotifyType Type,
const TStr MsgStr 
) [inline, virtual]

Reimplemented from TNotify.

Definition at line 89 of file ut.h.

  {
    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.

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

Member Data Documentation

Definition at line 84 of file ut.h.


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