#include <Box.h>
Public Member Functions | |
| Data * | open (void) |
| void | close (Data **const t) |
Friends | |
| class | OwnerBox<Owner,Data> |
Definition at line 12 of file Box.h.
|
||||||||||
|
Definition at line 34 of file Box.h. Referenced by ComputePatchPair::doWork(), ComputePatch::doWork(), ComputeHomePatch::doWork(), ComputeNonbondedPair::noWork(), OwnerBox< Patch, CompAtom >::open(), and HomePatch::receiveResults(). 00034 {
00035 if (state != CLOSED) {
00036 state = CLOSED;
00037 *t = NULL;
00038
00039 // Trigger callback!
00040 if ( ! --ownerBox->closeCount ) {
00041 ownerBox->close();
00042 }
00043 }
00044 }
|
|
||||||||||
|
Definition at line 27 of file Box.h. Referenced by ComputePatchPair::doWork(), ComputePatch::doWork(), ComputeHomePatch::doWork(), ComputeNonbondedPair::noWork(), and HomePatch::receiveResults(). 00027 {
00028 if (state != OPEN) {
00029 state = OPEN;
00030 ownerBox->openCount--;
00031 }
00032 return ownerBox->data;
00033 }
|
|
|||||
|
|
1.3.9.1