view Renderer/test_render/SceneGraphIterator.h @ 327:c8edba9cabb7 draft

add test_render/show_time.{cpp,h} {spe,task}/ShowTime.{cpp,h} but incomplete
author aaa
date Fri, 12 Jun 2009 02:07:06 +0900
parents 15bfacccde99
children
line wrap: on
line source

#ifndef INCLUDED_SCENE_GRAPH_ITERATOR
#define INCLUDED_SCENE_GRAPH_ITERATOR

#ifndef INCLUDED_SCENE_GRAPH
#  include "SceneGraph.h"
#endif

class SceneGraphIterator {
public:
    // 走査する SceneGraphList
    SceneGraphPtr list;

    // 現在参照中の SceneGraph
    SceneGraphPtr cur;

    void set(SceneGraphPtr list);
    int hasNext(void);
    int hasNext(int id);
    void next(void);
    void next(int id);
    void remove(void);
    SceneGraphPtr get(void);
};

typedef SceneGraphIterator *SceneGraphIteratorPtr;

#endif