Newer
Older
* FileDescriptor.h uses POSIX as the underlying library
*
* Created on: Oct 6, 2016
* Author: wfg
*/
#ifndef FILEDESCRIPTOR_H_
#define FILEDESCRIPTOR_H_
namespace transport
{
/**
* File descriptor transport using the POSIX library
*/
class FileDescriptor : public Transport
FileDescriptor( MPI_Comm mpiComm, const bool debugMode );
void Open( const std::string name, const std::string accessMode );
void Write( const char* buffer, std::size_t size );
int m_FileDescriptor = -1; ///< file descriptor returned by POSIX open
} //end namespace transport
} //end namespace
#endif /* FILEDESCRIPTOR_H_ */