wavelength
1.0.0
Loading...
Searching...
No Matches
allocatebuffertask.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
netflow/nettask.h
"
4
11
class
AllocateBufferTask
:
public
NetTask
{
12
public
:
21
AllocateBufferTask
(
char
**ppBuffer,
int
*pnSize) : mBuffer(ppBuffer), mSize(pnSize) {
22
}
23
24
protected
:
31
void
OnStart
()
override
;
32
33
private
:
34
char
**mBuffer;
35
int
*mSize;
36
};
AllocateBufferTask::OnStart
void OnStart() override
Allocate the buffer from the FileDownload pool and finish.
AllocateBufferTask::AllocateBufferTask
AllocateBufferTask(char **ppBuffer, int *pnSize)
Construct a step.
Definition
allocatebuffertask.h:21
NetTask::NetTask
NetTask()
Construct a task outside any NetMultiTask.
Definition
nettask.h:24
nettask.h
src
netflow
allocatebuffertask.h
Generated by
1.15.0