copied from buf_w_r.c
LSTDAQ ver0.2

RingBuffer class is added.
Master.cpp is made from buf_w_r.c