vbvisitor.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  VBVisitor< e >
 A template for visiting Variants with an image. More...
class  VBVisitor< COMPUTE >
 Template specialized with the enum 'COMPUTE'. It just means that the function called by the visitor is 'doComputations()'. More...
class  VBVisitor< WRITEON >
 Template specialized with the enum 'WRITEON'. It just means that the function called by the visitor is 'writeOn()'. More...

Typedefs

typedef
boost::variant
< IplImage > 
VariantImgArg

Enumerations

enum  VBEnum { COMPUTE, WRITEON }
 Enum used to template the Variants visitors. It changes the function called in the visitor. More...


Typedef Documentation

typedef boost::variant<IplImage> VariantImgArg

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


Enumeration Type Documentation

enum VBEnum

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

Enumerator:
COMPUTE 
WRITEON 


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