00001 /* -*- C++ -*- */ 00002 00003 /* COPYRIGHT 00004 * 00005 * This file is part of the Visual Effects Engine - VEE 00006 * 00007 * Read the "VEE-LICENSE" file for the license. 00008 * 00009 * Authors & Copyright: 00010 * 00011 * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 00012 * Janne Kontkanen 2001-2004 00013 * 00014 * Additional copyrights: Tekes 2003-2004 00015 * 00016 * firstname.lastname@hut.fi 00017 * 00018 */ 00019 00020 #ifndef GEE_ID_SELECT_H 00021 #define GEE_ID_SELECT_H 00022 00023 #include <gee_operator.h> 00024 00025 #include <set> 00026 00027 class GEE_IdSelect : public GEE_Operator 00028 { 00029 public: 00030 00031 GEE_IdSelect(); 00032 virtual ~GEE_IdSelect(); 00033 00034 virtual id_container * getExtraIds(); 00035 virtual bool act(GEE_World *, const GEE_TimeStamp &); 00036 00037 virtual bool read(GEE_Io *); 00038 virtual bool write(GEE_Io *); 00039 virtual const char * type(); 00040 static GEE_Operator * create(); 00041 00042 void addId(GEE_id_t id) { m_ids.insert(id); } 00043 00044 protected: 00045 id_container m_ids; 00046 00047 }; 00048 00049 #endif