class JBThreadList

A list of private threads. More...

Full nameTelEngine::JBThreadList
Definition#include <libs/yjingle/yatejabber.h>
Inherited byJBEngine, JBMessage, JBPresence, JGEngine
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

This class holds a list of private threads for an object that wants to terminate them on destroy

inline DebugEnabler*  owner ()

owner

[const]

Get the enabler owning this list

Returns: The owner of this list

void  cancelThreads (bool wait = true, bool hard = false)

cancelThreads

Cancel all threads This method is thread safe

Parameters:
waitTrue to wait for the threads to terminate
hardKill the threads the hard way rather than just setting an exit check marker

 JBThreadList (DebugEnabler* owner = 0)

JBThreadList

[protected]

Constructor

Parameters:
ownerThe owner of this list

inline void  setOwner (DebugEnabler* dbg)

setOwner

[protected]

Set the enabler owning this list

Parameters:
dbgThe new owner of this list


Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.