DDraceNetwork Docs
fifo.h
Go to the documentation of this file.
1#ifndef ENGINE_SHARED_FIFO_H
2#define ENGINE_SHARED_FIFO_H
3
4#include <base/detect.h>
5#include <engine/console.h>
6
7class CFifo
8{
11 int m_Flag;
12#if defined(CONF_FAMILY_UNIX)
13 int m_File;
14#elif defined(CONF_FAMILY_WINDOWS)
15 void *m_pPipe;
16#endif
17
18public:
19 void Init(IConsole *pConsole, const char *pFifoFile, int Flag);
20 void Update();
21 void Shutdown();
22};
23
24#endif
Definition: fifo.h:8
void Shutdown()
Definition: fifo.cpp:47
IConsole * m_pConsole
Definition: fifo.h:9
int m_File
Definition: fifo.h:13
void Init(IConsole *pConsole, const char *pFifoFile, int Flag)
Definition: fifo.cpp:12
int m_Flag
Definition: fifo.h:11
void Update()
Definition: fifo.cpp:56
char m_aFilename[IO_MAX_PATH_LENGTH]
Definition: fifo.h:10
Definition: console.h:18
@ IO_MAX_PATH_LENGTH
Definition: types.h:43