#include <BroadcastObject.h>
Inheritance diagram for SimpleBroadcastObject< T >:

Public Member Functions | |
| SimpleBroadcastObject (int id) | |
| ~SimpleBroadcastObject () | |
| T | get (int tag) |
| void | publish (int tag, const T &t) |
Definition at line 20 of file BroadcastObject.h.
|
||||||||||
|
Definition at line 24 of file BroadcastObject.h. 00024 : BroadcastClient(id) { 00025 if ( sizeof(T) > BCASTMSGSIZE ) { 00026 NAMD_bug("SimpleBroadcastObject instantiated on class larger than BCASTMSGSIZE"); 00027 } 00028 }
|
|
|||||||||
|
Definition at line 29 of file BroadcastObject.h. 00029 { }
|
|
||||||||||
|
Definition at line 31 of file BroadcastObject.h. Referenced by Sequencer::algorithm(), Controller::algorithm(), Sequencer::berendsenPressure(), Sequencer::correctMomentum(), Sequencer::langevinPiston(), Sequencer::minimize(), Sequencer::rescaleVelocities(), and Sequencer::tcoupleVelocities(). 00031 {
00032 T tmp;
00033 while ( BroadcastMgr::Object()->getbuf(*this, tag, (void*)(&tmp)) < 0 ) {
00034 suspendFor(tag);
00035 }
00036 return tmp;
00037 }
|
|
||||||||||||||||
|
Definition at line 39 of file BroadcastObject.h. Referenced by Controller::berendsenPressure(), Controller::correctMomentum(), Controller::langevinPiston1(), Controller::minimize(), Controller::rescaleVelocities(), and Controller::tcoupleVelocities(). 00039 {
00040 BroadcastMgr::Object()->send(*this, tag, (void*)(&t), sizeof(T));
00041 }
|
1.3.9.1