Interface distributed to all members of a shared output file. More...
#include <shared_file.hpp>
Public Member Functions | |
| SharedFileCommon () | |
| SharedFileCommon (const std::string &name, ecl::WriteMode mode) ecl_throw_decl(StandardException) | |
| Automatically opens a file and initialises the count. | |
| virtual | ~SharedFileCommon () |
Private Attributes | |
| unsigned int | count |
| Error | error_handler |
| OFile | file |
| ecl::Mutex | mutex |
Friends | |
| class | ecl::SharedFile |
| class | SharedFileManager |
Interface distributed to all members of a shared output file.
Contains the objects required to be distributed amongst all members of a shared output file.
Definition at line 64 of file shared_file.hpp.
| ecl::devices::SharedFileCommon::SharedFileCommon | ( | ) | [inline] |
Definition at line 66 of file shared_file.hpp.
| ecl::devices::SharedFileCommon::SharedFileCommon | ( | const std::string & | name, |
| ecl::WriteMode | mode | ||
| ) |
Automatically opens a file and initialises the count.
Automatically opens a file and initialises the count.
| name | : file name. |
| mode | : writing mode (either New or Append). |
Definition at line 48 of file shared_file.cpp.
| virtual ecl::devices::SharedFileCommon::~SharedFileCommon | ( | ) | [inline, virtual] |
Definition at line 76 of file shared_file.hpp.
friend class ecl::SharedFile [friend] |
Definition at line 78 of file shared_file.hpp.
friend class SharedFileManager [friend] |
Definition at line 79 of file shared_file.hpp.
unsigned int ecl::devices::SharedFileCommon::count [private] |
Definition at line 82 of file shared_file.hpp.
Definition at line 85 of file shared_file.hpp.
OFile ecl::devices::SharedFileCommon::file [private] |
Definition at line 84 of file shared_file.hpp.
ecl::Mutex ecl::devices::SharedFileCommon::mutex [private] |
Definition at line 83 of file shared_file.hpp.