|
VLink
2.3.0
A high-performance communication middleware
|
Loads one FastBufferPluginInterface on first use.
更多...
#include <fast_buffer_manager.h>
Public 成员函数 | |
| bool | is_valid () const |
| Reports whether the built-in or loaded provider is available. 更多... | |
| FastBufferPluginInterface * | get_interface () const |
| Returns the provider owned by this manager. 更多... | |
静态 Public 成员函数 | |
| static FastBufferManager & | get () |
| Returns the lazily constructed process-wide manager. 更多... | |
友元 | |
| struct | zerocopy::FastBuffer |
| class | zerocopy::FastBufferPool |
Loads one FastBufferPluginInterface on first use.
Reads VLINK_FASTBUFFER_PLUGIN once. Empty or missing values select ordinary CPU memory and shm selects shared CPU memory. Explicit plugin load failures do not select CPU storage or retry. Names and paths follow Plugin.
|
static |
Returns the lazily constructed process-wide manager.
| FastBufferPluginInterface* vlink::FastBufferManager::get_interface | ( | ) | const |
Returns the provider owned by this manager.
| bool vlink::FastBufferManager::is_valid | ( | ) | const |
Reports whether the built-in or loaded provider is available.
get_interface() returns a non-null pointer.
|
friend |
|
friend |