Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

primListWrapper.h

00001 #ifndef SCTAPI_PRIMLISTWRAPPER_HEADER
00002 #define SCTAPI_PRIMLISTWRAPPER_HEADER
00003 
00004 #include <memory>
00005 #include <list>
00006 
00007 namespace SctPixelRod {
00008   class RodPrimList;
00009   class RodPrimitive;
00010 }
00011 
00012 namespace SctApi {
00013   struct PrimListWrapper {
00014     PrimListWrapper();
00015     PrimListWrapper(unsigned int index);
00016     void clear();
00017 
00019 
00022     void addPrimitive(const SctPixelRod::RodPrimitive &prim, long *data = 0);
00023 
00025 
00034     void addPrimitive(long length, long index, long prim, long rev, const long *data);
00035 
00036     ~PrimListWrapper();
00037 
00038     std::auto_ptr<SctPixelRod::RodPrimList> list;
00039     std::list<long *> data;
00040   };
00041 }
00042 
00043 #endif

Generated on Thu Jul 15 09:50:49 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5