OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <UserList.h>
Public Types | |
typedef User::ID_t | Key |
typedef vmap< Key, User * > | UserList_t |
typedef UserList_t::iterator | iterator_user |
typedef UserList_t::size_type | size_type_user |
typedef User::ID_t | ID_t |
Public Member Functions | |
UserList () | |
virtual | ~UserList () |
size_type_user | getNumUsers () const |
ID_t | getUserListID () const |
bool | haveUser (Key key) const |
User & | getUser (Key key) |
iterator_user | begin_user () |
iterator_user | end_user () |
virtual ID_t | checkinUser (User &user) |
virtual void | checkoutUser (Key key, bool informuser=false) |
virtual void | checkoutUser (const User &user, bool informuser=false) |
Private Attributes | |
UserList_t | userlist |
ID_t | userlistID |
Definition at line 37 of file UserList.h.
typedef User::ID_t UserList::ID_t |
Definition at line 46 of file UserList.h.
Definition at line 43 of file UserList.h.
typedef User::ID_t UserList::Key |
Definition at line 41 of file UserList.h.
Definition at line 45 of file UserList.h.
typedef vmap<Key, User *> UserList::UserList_t |
Definition at line 42 of file UserList.h.
UserList::UserList | ( | ) |
Definition at line 34 of file UserList.cpp.
|
virtual |
Definition at line 39 of file UserList.cpp.
References a, begin_user(), and end_user().
UserList::iterator_user UserList::begin_user | ( | ) |
Definition at line 77 of file UserList.cpp.
References vmap< Key, T, Compare >::begin(), and userlist.
Referenced by FieldLayout< Dim >::begin_if(), Mesh< Dim >::begin_if(), and ~UserList().
|
virtual |
Definition at line 109 of file UserList.cpp.
References User::get_Id(), haveUser(), userlist, and userlistID.
Referenced by Mesh< Dim >::checkin(), and RegionLayout< T, Dim, MeshType >::checkin().
|
virtual |
Definition at line 138 of file UserList.cpp.
References checkoutUser(), and User::get_Id().
|
virtual |
Definition at line 124 of file UserList.cpp.
References end_user(), vmap< Key, T, Compare >::erase(), vmap< Key, T, Compare >::find(), and userlist.
Referenced by Mesh< Dim >::checkout(), RegionLayout< T, Dim, MeshType >::checkout(), and checkoutUser().
UserList::iterator_user UserList::end_user | ( | ) |
Definition at line 84 of file UserList.cpp.
References vmap< Key, T, Compare >::end(), and userlist.
Referenced by checkoutUser(), FieldLayout< Dim >::end_if(), Mesh< Dim >::end_if(), getUser(), and ~UserList().
UserList::size_type_user UserList::getNumUsers | ( | ) | const |
Definition at line 47 of file UserList.cpp.
References vmap< Key, T, Compare >::size(), and userlist.
Referenced by FieldLayout< Dim >::size_if(), and Mesh< Dim >::size_if().
Definition at line 68 of file UserList.cpp.
References end_user(), vmap< Key, T, Compare >::find(), PInsist, and userlist.
UserList::ID_t UserList::getUserListID | ( | ) | const |
Definition at line 54 of file UserList.cpp.
References userlistID.
Referenced by FieldLayout< Dim >::get_Id(), Mesh< Dim >::get_Id(), RegionLayout< T, Dim, MeshType >::get_Id(), BareField< T, Dim >::notifyUserOfDelete(), SIndex< Dim >::notifyUserOfDelete(), RegionLayout< T, Dim, MeshType >::notifyUserOfDelete(), SIndex< Dim >::Repartition(), ParticleCashedLayout< T, Dim, Mesh >::Repartition(), ParticleInteractLayout< T, Dim, Mesh >::Repartition(), and RegionLayout< T, Dim, MeshType >::Repartition().
bool UserList::haveUser | ( | Key | key | ) | const |
Definition at line 61 of file UserList.cpp.
References vmap< Key, T, Compare >::count(), and userlist.
Referenced by checkinUser().
|
private |
Definition at line 100 of file UserList.h.
Referenced by begin_user(), checkinUser(), checkoutUser(), end_user(), getNumUsers(), getUser(), and haveUser().
|
private |
Definition at line 103 of file UserList.h.
Referenced by checkinUser(), and getUserListID().