Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

RecognizerFactory Class Reference

#include <recognizer_factory.h>

List of all members.

Static Public Member Functions

static RecognizercreateAdjacencyPairRecognizer (std::string actor, EventSink *parent=NULL)
static RecognizercreateBackchannelRecognizer (std::string actor, EventSink *parent=NULL)
static RecognizercreateDirectedGazeRecognizer (std::string actor, std::string object, EventSink *parent=NULL)
static RecognizercreateMutualFacialGazeRecognizer (std::string actor, EventSink *parent=NULL)
static std::string getAdjacencyPairType ()
static std::string getBackchannelType ()
static std::string getDirectedGazeType ()
static std::string getMutualFacialGazeType ()

Detailed Description

This class provides a factory method which creates Recognizer objects. It also provides the enumeration for which the factory method bases its creation process off of.

Author:
Brett Ponsler (bponsler (at) wpi (dot) edu)

Definition at line 54 of file recognizer_factory.h.


Member Function Documentation

Recognizer * RecognizerFactory::createAdjacencyPairRecognizer ( std::string  actor,
EventSink parent = NULL 
) [static]

The Adjacency Pair Recognizer factory method.

This function takes the enumeration type which enables the creation process to determine which type of Recognizer object to create. This function allows the Actor and object of the Recognizer to also be specified. This function also takes an optional argument allowing the creation to specify the parent EventSink object for the created Recognizer.

Parameters:
actor The actor's ID
parent The optional parent EventSink object
Returns:
The created Recognizer

Definition at line 56 of file recognizer_factory.cpp.

Recognizer * RecognizerFactory::createBackchannelRecognizer ( std::string  actor,
EventSink parent = NULL 
) [static]

The Backchannel Recognizer factory method.

This function takes the enumeration type which enables the creation process to determine which type of Recognizer object to create. This function allows the Actor and object of the Recognizer to also be specified. This function also takes an optional argument allowing the creation to specify the parent EventSink object for the created Recognizer.

Parameters:
actor The actor's ID
parent The optional parent EventSink object
Returns:
The created Recognizer

Definition at line 62 of file recognizer_factory.cpp.

Recognizer * RecognizerFactory::createDirectedGazeRecognizer ( std::string  actor,
std::string  object,
EventSink parent = NULL 
) [static]

The Directed Gaze Recognizer factory method.

This function takes the enumeration type which enables the creation process to determine which type of Recognizer object to create. This function allows the Actor object of the Recognizer to also be specified. This function also takes an optional argument allowing the creation to specify the parent EventSink object for the created Recognizer.

Parameters:
actor The actor's ID object
object The object associated with this recognizer
parent The optional parent EventSink object
Returns:
The created Recognizer

Definition at line 43 of file recognizer_factory.cpp.

Recognizer * RecognizerFactory::createMutualFacialGazeRecognizer ( std::string  actor,
EventSink parent = NULL 
) [static]

The Mutual Facial Gaze Recognizer factory method.

This function takes the enumeration type which enables the creation process to determine which type of Recognizer object to create. This function allows the Actor and object of the Recognizer to also be specified. This function also takes an optional argument allowing the creation to specify the parent EventSink object for the created Recognizer.

Parameters:
actor The actor's ID
parent The optional parent EventSink object
Returns:
The created Recognizer

Definition at line 50 of file recognizer_factory.cpp.

std::string RecognizerFactory::getAdjacencyPairType (  )  [static]

Return the type of the AdjacencyPairRecognizer.

Returns:
The type of the given Recognizer

Definition at line 78 of file recognizer_factory.cpp.

std::string RecognizerFactory::getBackchannelType (  )  [static]

Return the type of the BackchannelRecognizer.

Returns:
The type of the given Recognizer

Definition at line 83 of file recognizer_factory.cpp.

std::string RecognizerFactory::getDirectedGazeType (  )  [static]

Return the type of the DirectedGazeRecognizer.

Returns:
The type of the given Recognizer

Definition at line 68 of file recognizer_factory.cpp.

std::string RecognizerFactory::getMutualFacialGazeType (  )  [static]

Return the type of the MutualFacialGazeRecognizer.

Returns:
The type of the given Recognizer

Definition at line 73 of file recognizer_factory.cpp.


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

engagement_recognition
Author(s): Brett Ponsler (bponsler (at) wpi (dot) edu)
autogenerated on Fri Sep 9 10:35:49 2011