SNAP Library 2.1, User Reference  2013-09-25 10:47:25
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>

Inherits TNotify.

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.

: CallbackF(_CallbackF) {}

Member Function Documentation

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

Definition at line 110 of file ut.h.

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

Reimplemented from TNotify.

Definition at line 112 of file ut.h.

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

Reimplemented from TNotify.

Definition at line 117 of file ut.h.

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

Member Data Documentation

Definition at line 107 of file ut.h.


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