Mercurial > hg > Members > kono > Cerium
view include/TaskManager/DmaBuffer.h @ 171:dc68bc5c9e41
Scale-SceneGraph.cpp
author | tkaito@nw0534.st.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 11 Dec 2008 16:33:39 +0900 |
parents | 5c194c71eca8 |
children | 7075842aa155 |
line wrap: on
line source
#ifndef INCLUDED_DMA_BUFFER #define INCLUDED_DMA_BUFFER #ifndef INCLUDED_BASE_H_ # include "base.h" #endif class DmaBuffer { public: /* constructor */ DmaBuffer(int size = 4); ~DmaBuffer(void); BASE_NEW_DELETE(DmaBuffer); /* variables */ void *buffer[2]; int flag; // variable that select buffer[0 or 1] /* functions */ void swap_buffer(void); void get_buffer(void*); }; #endif