cohtml::IDataStorageResponse

Response that the application should use when the data storage has been read.

#include <DataStorage.h>

Public Types

Name
enumStatus { Success, Failure}

Public Functions

Name
IDataStorageResponse()
virtual~IDataStorageResponse()
virtual void *GetSpace(unsigned long long size) =0
Allocates space where to put the data read.
virtual voidFinish(Status status) =0
Call when the data has been read or the read failed.

Public Types Documentation

enum Status

EnumeratorValueDescription
Success
Failure

Public Functions Documentation

function IDataStorageResponse

IDataStorageResponse()

function ~IDataStorageResponse

virtual ~IDataStorageResponse()

function GetSpace

virtual void * GetSpace(
    unsigned long long size
) =0

Allocates space where to put the data read.

function Finish

virtual void Finish(
    Status status
) =0

Call when the data has been read or the read failed.