vbkeyvisitor.hpp File Reference

#include <iostream>
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>
#include <vector>
#include <string>
#include <boost/variant.hpp>
#include "visionbehavior.hpp"

Go to the source code of this file.

Classes

class  VBKeyVisitor< e >
 A template for visiting Variants with a key pressed (= a char). More...

Typedefs

typedef
boost::variant< char > 
VariantKeyArg

Enumerations

enum  VBKeyEnum { KEYPRESSED }
 Enum used to template the Variants visitors. It changes the function called in the visitor. More...


Typedef Documentation

typedef boost::variant<char> VariantKeyArg

This type is usefull to call the Visitor with a char. The visitor can't be called with a simple char, that is the reason why I transform my simple char in a Variant<char> before calling the visitor on it.


Enumeration Type Documentation

enum VBKeyEnum

Enum used to template the Variants visitors. It changes the function called in the visitor.

Enumerator:
KEYPRESSED 


Generated on Mon Dec 31 13:33:37 2007 for Vision by  doxygen 1.5.3