TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | List of all members
cherrypi::FileDescriptor Class Reference

File descriptors passed as arguments to ForkServer::fork must be wrapped in this class. More...

#include <forkserver.h>

Public Member Functions

 FileDescriptor (int fd)
 
 operator int ()
 

Detailed Description

File descriptors passed as arguments to ForkServer::fork must be wrapped in this class.

The actual file descriptor number will not be the same in the forked process.

Constructor & Destructor Documentation

cherrypi::FileDescriptor::FileDescriptor ( int  fd)
inline

Member Function Documentation

cherrypi::FileDescriptor::operator int ( )
inline

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