List.hpp

00001 
00002 #ifndef ORO_LIST_HPP_
00003 #define ORO_LIST_HPP_
00004 
00005 #include "rtt-config.h"
00006 
00012 #if defined(OROBLD_OS_NO_ASM)
00013 #include "ListLocked.hpp"
00014 #else
00015 #include "ListLockFree.hpp"
00016 #endif
00017 
00018 namespace RTT
00019 {
00024     template< class T>
00025     class List
00026 #if defined(OROBLD_OS_NO_ASM)
00027         : public ListLocked<T>
00028 #else
00029         : public ListLockFree<T>
00030 #endif
00031     {
00032     public:
00038         List( int qsize, int t = ORONUM_OS_MAX_THREADS)
00039 #if defined(OROBLD_OS_NO_ASM)
00040             : ListLocked<T>(qsize,t)
00041 #else
00042             : ListLockFree<T>(qsize,t)
00043 #endif
00044         {}
00045     };
00046 }
00047 
00048 
00049 #endif /* LIST_HPP_ */
Generated on Thu Dec 23 13:22:37 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3