PPL Logo

Ck::IO::impl::Director Class Reference

Inheritance diagram for Ck::IO::impl::Director:

Inheritance graph
[legend]
Collaboration diagram for Ck::IO::impl::Director:

Collaboration graph
[legend]

Public Member Functions

 Director (CkArgMsg *m)
 Director (CkMigrateMessage *m)
void pup (PUP::er &p)
void openFile (string name, CkCallback opened, Options opts)
void fileOpened (FileToken file)
void prepareWriteSession_helper (FileToken file, size_t bytes, size_t offset, CkCallback ready, CkCallback complete)
void sessionComplete (FileToken token)
void close (FileToken token, CkCallback closed)

Private Attributes

int filesOpened
map< FileToken, impl::FileInfofiles
CProxy_Manager managers
int opnum
int sessionID

Detailed Description

Definition at line 64 of file ckio.C.


Constructor & Destructor Documentation

Ck::IO::impl::Director::Director ( CkArgMsg m  )  [inline]

Definition at line 72 of file ckio.C.

References Ck::IO::impl::director, and managers.

Ck::IO::impl::Director::Director ( CkMigrateMessage m  )  [inline]

Definition at line 80 of file ckio.C.


Member Function Documentation

void Ck::IO::impl::Director::pup ( PUP::er p  )  [inline]

Definition at line 82 of file ckio.C.

References files, filesOpened, managers, opnum, and sessionID.

void Ck::IO::impl::Director::openFile ( string  name,
CkCallback  opened,
Options  opts 
) [inline]

void Ck::IO::impl::Director::fileOpened ( FileToken  file  )  [inline]

Definition at line 109 of file ckio.C.

References files.

void Ck::IO::impl::Director::prepareWriteSession_helper ( FileToken  file,
size_t  bytes,
size_t  offset,
CkCallback  ready,
CkCallback  complete 
) [inline]

void Ck::IO::impl::Director::sessionComplete ( FileToken  token  )  [inline]

Definition at line 143 of file ckio.C.

References CkReductionMsg::buildNew(), files, CkCallback::invalid, CkReduction::nop, and session.

Here is the call graph for this function:

void Ck::IO::impl::Director::close ( FileToken  token,
CkCallback  closed 
) [inline]

Definition at line 149 of file ckio.C.

References files, managers, and opnum.


Field Documentation

Definition at line 65 of file ckio.C.

Referenced by openFile(), and pup().

Definition at line 66 of file ckio.C.

Referenced by close(), fileOpened(), openFile(), prepareWriteSession_helper(), pup(), and sessionComplete().

CProxy_Manager Ck::IO::impl::Director::managers [private]

Definition at line 67 of file ckio.C.

Referenced by close(), Director(), openFile(), and pup().

Definition at line 68 of file ckio.C.

Referenced by close(), openFile(), and pup().

Definition at line 68 of file ckio.C.

Referenced by prepareWriteSession_helper(), and pup().


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

Generated on Mon Sep 21 08:33:38 2020 for Charm++ by  doxygen 1.5.5