mln::canvas::browsing::snake_generic_t Struct Reference

Multidimentional Browsing in a given-way. More...

#include <snake_generic.hh>

Inheritance diagram for mln::canvas::browsing::snake_generic_t:

Inheritance graph

List of all members.

Public Types

typedef Browsing< void > category
typedef E exact_t

Public Member Functions

void final ()
void init ()
template<typename F>
void operator() (F &f) const


Detailed Description

Multidimentional Browsing in a given-way.

F shall feature:
{
--- as attributes:
input;
p;
--- as methods:
void init();
void *() moves[];
dpsite dps[];
}

init is called before browsing

The snake follow dimension using the delta point site of dps. dps[0] = delta psite following the global dimension (forward) dps[1] = delta psite following the 2nd dimension to follow (forward). dps[2] = delta psite following the 2nd dimension to follow (backward). dps[3] = delta psite following the 3nd dimension to follow (forward). dps[3] = delta psite following the 3nd dimension to follow (backward).

moves contains pointer to f's members. These merbers will be call in each time the snake progress in the correct dimension :

moves[i] is called at each move following the delta psite dps[i]

Definition at line 75 of file snake_generic.hh.


Member Typedef Documentation

template<typename E>
typedef Browsing<void> mln::Browsing< E >::category [inherited]

Reimplemented from mln::Object< E >.

Definition at line 58 of file browsing.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.


Member Function Documentation

template<typename E>
void mln::Browsing< E >::final (  )  [inline, inherited]

Definition at line 84 of file browsing.hh.

template<typename E>
void mln::Browsing< E >::init (  )  [inline, inherited]

Definition at line 78 of file browsing.hh.

template<typename F>
void mln::canvas::browsing::snake_generic_t::operator() ( F &  f  )  const [inline]

Definition at line 92 of file snake_generic.hh.

References mln::trace::entering(), and mln::trace::exiting().


Generated on Sun Apr 25 01:57:51 2010 for Milena (Olena) by  doxygen 1.5.6