Xface Core Library: XFaceApp::TaskDictionary Class Reference

XFace / XEngine / XMath

XFaceApp::TaskDictionary Class Reference

#include <Task.h>

List of all members.

Detailed Description

Koray Balci
TaskDictionary class stores the list of Task types, and serve other classes as a dictionary to check. You can query the existance of a Task type, get the number of parameters, and also add new Task types on the fly to extend the capabilities of the library. Note that, TaskDictionary is a singleton and a monolithic class with all member functions being static, therefore you can only have one dictionary of tasks per application instance.

Here is the list of currently available Task types and their meanings;

Static Public Member Functions

static bool isTask (const std::string &name)
static int queryParamCount (const std::string &name)
static void registerTask (const std::string &name, int nParam)

Member Function Documentation

static bool XFaceApp::TaskDictionary::isTask const std::string &  name  )  [inline, static]

name Task name
true if it is a Task

static int XFaceApp::TaskDictionary::queryParamCount const std::string &  name  )  [inline, static]

name Task name
number of parameters

static void XFaceApp::TaskDictionary::registerTask const std::string &  name,
int  nParam
[inline, static]

Used to register a new Task type.

name Task name
nParam Number of parameters

The documentation for this class was generated from the following files:
Generated on Mon Aug 28 15:39:26 2006 for Xface Core Library by  doxygen 1.4.6-NO