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
TNativeCallbackNotify Class Reference

#include <ut.h>

Inheritance diagram for TNativeCallbackNotify:
Collaboration diagram for TNativeCallbackNotify:

List of all members.

Public Member Functions

 TNativeCallbackNotify (const TNativeCallbackF &_CallbackF)
void OnNotify (const TNotifyType &Type, const TStr &MsgStr)
void OnStatus (const TStr &MsgStr)

Static Public Member Functions

static PNotify New (const TNativeCallbackF &CallbackF)

Private Attributes

TNativeCallbackF CallbackF

Detailed Description

Definition at line 104 of file ut.h.


Constructor & Destructor Documentation

Definition at line 109 of file ut.h.

Referenced by New().

: CallbackF(_CallbackF) {}

Here is the caller graph for this function:


Member Function Documentation

static PNotify TNativeCallbackNotify::New ( const TNativeCallbackF CallbackF) [inline, static]

Definition at line 110 of file ut.h.

References TNativeCallbackNotify().

Here is the call graph for this function:

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

Reimplemented from TNotify.

Definition at line 112 of file ut.h.

References Assert, CallbackF, and TStr::CStr().

  {
    Assert(CallbackF != NULL);
    CallbackF((int)Type, MsgStr.CStr()); 
  }

Here is the call graph for this function:

void TNativeCallbackNotify::OnStatus ( const TStr MsgStr) [inline, virtual]

Reimplemented from TNotify.

Definition at line 117 of file ut.h.

References Assert, CallbackF, TStr::CStr(), and ntStat.

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

Here is the call graph for this function:


Member Data Documentation

Definition at line 107 of file ut.h.

Referenced by OnNotify(), and OnStatus().


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