roviz  0.7
Code Documentation of roviz
template_decl.h
1 #ifndef TEMPLATEDECL_H
2 #define TEMPLATEDECL_H
3 
4 #include "core/export_handling.h"
5 #include "core/template_decl_helpers.h"
6 
7 // Including the header here leads to a circular inclusion
8 class Image;
9 class Message;
10 template<class T> class Sparse;
11 class Point2D;
12 class Point2F;
13 class Point3D;
14 class Point3F;
15 class Rect;
16 class RectF;
17 class Circle;
18 class CircleF;
19 
20 // Make sure all templates for the streams get instantiated
21 #define DO_FOR_ALL_STREAMS(EXPR) \
22  EXPR(Image) \
23  EXPR(Message) \
24  DO_FOR_ALL_SPARSE_TEMPLATES(EXPR)
25 
26 #define DO_FOR_ALL_SPARSE(EXPR) \
27  EXPR(Point2D) \
28  EXPR(Point2F) \
29  EXPR(Point3D) \
30  EXPR(Point3F) \
31  EXPR(Rect) \
32  EXPR(RectF) \
33  EXPR(Circle) \
34  EXPR(CircleF)
35 
36 // Didn't find a way yet without duplicating it
37 #define DO_FOR_ALL_SPARSE_TEMPLATES(EXPR) \
38  EXPR(Sparse<Point2D>) \
39  EXPR(Sparse<Point2F>) \
40  EXPR(Sparse<Point3D>) \
41  EXPR(Sparse<Point3F>) \
42  EXPR(Sparse<Rect>) \
43  EXPR(Sparse<RectF>) \
44  EXPR(Sparse<Circle>) \
45  EXPR(Sparse<CircleF>)
46 
47 #endif // TEMPLATEDECL_H
Used to send messages across streams.
Definition: message.h:24
Definition: sparse_types.h:43
Definition: template_decl.h:10
Definition: sparse_types.h:25
Definition: sparse_types.h:15
Definition: sparse_types.h:52
Definition: sparse_types.h:70
Definition: sparse_types.h:61
A portable image class with smart memory management.
Definition: image.h:35
Definition: sparse_types.h:6
Definition: sparse_types.h:34