python_wrapper.cpp

00001 
00002 #include <boost/python.hpp>
00003 #include "sim_time.hpp"
00004 
00005 using namespace boost::python;
00006 
00007 BOOST_PYTHON_MODULE(sim_time)
00008 {
00009 
00010    class_<SimTime>("SimTime",init<double>())
00011       .def("setTimeInSeconds", &SimTime::setTimeInSeconds)
00012       .def("getTimeInMilliSeconds", &SimTime::getTimeInMilliSeconds)
00013    ;
00014 }
00015 

Generated on Tue Dec 12 17:04:38 2006 for rfidsim by  doxygen 1.4.7