Main Page   Class Hierarchy   Compound List   File List   Compound Members  

SmartSockets::TipcMtTraverser Class Reference

#include <tmt.h>

List of all members.

Public Types

typedef bool(TipcMtTraverser::* Handler )(const char *name, TipcMt &mt)

Public Methods

 TipcMtTraverser ()
void setHandler (Handler cbMethod)
Handler getHandler ()
virtual ~TipcMtTraverser () throw ()
virtual bool onTraverse (const char *name, TipcMt &mt) throw ()

Static Public Methods

T_PTR T_ENTRY traverseFuncDelegator (T_STR name, T_IPC_MT mt, T_PTR arg)


Detailed Description

Traverser class used with TipcMt::traverse()


Member Typedef Documentation

typedef bool(TipcMtTraverser::* SmartSockets::TipcMtTraverser::Handler)(const char* name, TipcMt& mt)
 

Method signature for traversal methods.

Parameters:
name  name of the type
mt  message type object.
Returns:
true to continue traversing; false otherwise.


Constructor & Destructor Documentation

SmartSockets::TipcMtTraverser::TipcMtTraverser  
 

constructor that sets the default handler method to onTraverse().

virtual SmartSockets::TipcMtTraverser::~TipcMtTraverser   throw () [virtual]
 

Destructor.


Member Function Documentation

Handler SmartSockets::TipcMtTraverser::getHandler  
 

Gets the current handler method.

virtual bool SmartSockets::TipcMtTraverser::onTraverse const char *    name,
TipcMt   mt
throw () [virtual]
 

Default implementation of the traverse method.

Parameters:
name  name of the type
mt  message type object.
Returns:
true to continue traversing; false otherwise.

void SmartSockets::TipcMtTraverser::setHandler Handler    cbMethod
 

Sets the current handler method; if this is not called, the default method onTraverse() is called.


The documentation for this class was generated from the following file:
Generated on Fri Jul 14 15:05:56 2006 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001