Initial Commit - Lesson 31 (Commit #1)
This commit is contained in:
38
Plugins/GameLiftServerSDK/ThirdParty/concurrentqueue/benchmarks/dlib/sliding_buffer.h
vendored
Normal file
38
Plugins/GameLiftServerSDK/ThirdParty/concurrentqueue/benchmarks/dlib/sliding_buffer.h
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
// Copyright (C) 2004 Davis E. King (davis@dlib.net)
|
||||
// License: Boost Software License See LICENSE.txt for the full license.
|
||||
#ifndef DLIB_SLIDING_BUFFEr_
|
||||
#define DLIB_SLIDING_BUFFEr_
|
||||
|
||||
|
||||
#include "sliding_buffer/sliding_buffer_kernel_1.h"
|
||||
#include "sliding_buffer/sliding_buffer_kernel_c.h"
|
||||
#include "sliding_buffer/circular_buffer.h"
|
||||
|
||||
|
||||
|
||||
namespace dlib
|
||||
{
|
||||
|
||||
template <
|
||||
typename T
|
||||
>
|
||||
class sliding_buffer
|
||||
{
|
||||
|
||||
sliding_buffer() {}
|
||||
public:
|
||||
|
||||
//----------- kernels ---------------
|
||||
|
||||
// kernel_1a
|
||||
typedef sliding_buffer_kernel_1<T>
|
||||
kernel_1a;
|
||||
typedef sliding_buffer_kernel_c<kernel_1a>
|
||||
kernel_1a_c;
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif // DLIB_SLIDING_BUFFEr_
|
||||
|
||||
Reference in New Issue
Block a user