C++ MonsterDoc:
CCGIFactory::CCGITerminator

Home
Contact
Copyright
|| All Classes ||
||overview|| ||access|| ||inheritance|| ||descriptions||

Class Overview

This class is designed to terminate any running CCGIThreads after allowing them to execute their ShutDown method. It is declared in the CCGIFactory class.

Inheritance

This class inherits from LThread.

Requirements

This class requires the LThread and CCGIThread classes.

Files

  • CCGIThreadApp.h
  • CCGIThreadApp.ip
  • CCGIThreadApp.cp

||overview|| ||access|| ||inheritance|| ||descriptions||

Members by Access

public

CCGITerminator(
void
);

static
bool
TerminateThread(
LThread& inThread,
void* inArg
);

virtual
void*
Run(
void
);

virtual
void
Resume(
void
);

protected

This introduces no protected methods.

private

This class introduces no private methods.

||overview|| ||access|| ||inheritance|| ||descriptions||

Members by Inheritance

statics

static
bool
TerminateThread(
LThread& inThread,
void* inArg
);

overrides

virtual
void*
Run(
void
);

virtual
void
Resume(
void
);

new virtuals

This class introduces no new virtual functions.

||overview|| ||access|| ||inheritance|| ||descriptions||

Member Descriptions

CCGITerminator

Constructs a CCGITerminator thread.

CCGITerminator(
void
);

TerminateThread

Determines if the thread is a CCGIThread and if it is, calls its ShutDown and DeleteThread methods.

static
bool
TerminateThread(
LThread& inThread,
void* inArg
);

inThread
the thread to act on
inArg
unused

Run

Calls TerminateThread for each thread known to PowerPlant.

virtual
void*
Run(
void
);

Resume

Identical to LThread's Resume method except that it suggests that the CPU be yielded to this.

virtual
void
Resume(
void
);


©1999-2004 Monsterworks

Last Modified: Monday, October 2, 2000