Ring Buffer: Fixed a compilation error.

The std::map private member was not declared properly.
Ring Buffer: Added and implemented the 'getSize' method.

This method returns the size of the ring buffer.