FreeNOS
Public Member Functions | Private Attributes
DatastoreClient Class Reference

Datastore client. More...

#include <DatastoreClient.h>

Public Member Functions

 DatastoreClient (const ProcessID pid=DATASTORE_PID)
 Class constructor function. More...
 
Datastore::Result registerBuffer (const char *key, void *buffer, const Size size) const
 Add a new buffer. More...
 

Private Attributes

const ProcessID m_pid
 Process identifier of the datastore server. More...
 

Detailed Description

Datastore client.

Provides a simple interface to the datastore server

Definition at line 39 of file DatastoreClient.h.

Constructor & Destructor Documentation

◆ DatastoreClient()

DatastoreClient::DatastoreClient ( const ProcessID  pid = DATASTORE_PID)

Class constructor function.

Parameters
pid(Optional) Process identifier of the datastore server

Definition at line 23 of file DatastoreClient.cpp.

Member Function Documentation

◆ registerBuffer()

Datastore::Result DatastoreClient::registerBuffer ( const char *  key,
void *  buffer,
const Size  size 
) const

Field Documentation

◆ m_pid

const ProcessID DatastoreClient::m_pid
private

Process identifier of the datastore server.

Definition at line 62 of file DatastoreClient.h.

Referenced by registerBuffer().


The documentation for this class was generated from the following files: