#include <core/shm.h>
|
typedef boost::interprocess::allocator< void, managed_shm::segment_manager > | void_allocator |
|
|
static std::string | instanceName (const std::string &host, unsigned short port) |
|
static Shm & | the () |
|
static bool | perRank () |
|
static bool | remove (const std::string &shmname, int moduleID, int rank, bool perRank) |
|
static Shm & | create (const std::string &shmname, int moduleID, int rank, bool perRank) |
|
static Shm & | attach (const std::string &shmname, int moduleID, int rank, bool perRank) |
|
static bool | isAttached () |
|
static std::string | shmIdFilename () |
|
static bool | cleanAll (int rank) |
|
◆ void_allocator
◆ addArray()
void vistle::Shm::addArray |
( |
const std::string & |
name, |
|
|
const ShmData * |
array |
|
) |
| |
◆ addObject()
void vistle::Shm::addObject |
( |
const std::string & |
name, |
|
|
const shm_handle_t & |
handle |
|
) |
| |
◆ allocator()
◆ arrayID()
int vistle::Shm::arrayID |
( |
| ) |
const |
◆ attach()
Shm & vistle::Shm::attach |
( |
const std::string & |
shmname, |
|
|
int |
moduleID, |
|
|
int |
rank, |
|
|
bool |
perRank |
|
) |
| |
|
static |
◆ cleanAll()
bool vistle::Shm::cleanAll |
( |
int |
rank | ) |
|
|
static |
◆ create()
Shm & vistle::Shm::create |
( |
const std::string & |
shmname, |
|
|
int |
moduleID, |
|
|
int |
rank, |
|
|
bool |
perRank |
|
) |
| |
|
static |
◆ createArrayId()
std::string vistle::Shm::createArrayId |
( |
const std::string & |
name = "" | ) |
|
◆ createObjectId()
std::string vistle::Shm::createObjectId |
( |
const std::string & |
name = "" | ) |
|
◆ detach()
void vistle::Shm::detach |
( |
| ) |
|
◆ getArrayFromName()
template<typename T >
const ShmVector< T > vistle::Shm::getArrayFromName |
( |
const std::string & |
name | ) |
const |
◆ getHandleFromArray()
◆ getHandleFromObject() [1/2]
◆ getHandleFromObject() [2/2]
shm_handle_t vistle::Shm::getHandleFromObject |
( |
std::shared_ptr< const Object > |
object | ) |
const |
◆ getObjectDataFromHandle()
◆ getObjectDataFromName()
ObjectData * vistle::Shm::getObjectDataFromName |
( |
const std::string & |
name | ) |
const |
◆ getObjectFromHandle()
◆ getObjectFromName()
Object::const_ptr vistle::Shm::getObjectFromName |
( |
const std::string & |
name, |
|
|
bool |
onlyComplete = true |
|
) |
| const |
◆ instanceName() [1/2]
const std::string & vistle::Shm::instanceName |
( |
| ) |
const |
◆ instanceName() [2/2]
std::string vistle::Shm::instanceName |
( |
const std::string & |
host, |
|
|
unsigned short |
port |
|
) |
| |
|
static |
◆ isAttached()
bool vistle::Shm::isAttached |
( |
| ) |
|
|
static |
◆ lockDictionary()
void vistle::Shm::lockDictionary |
( |
| ) |
const |
◆ lockObjects()
void vistle::Shm::lockObjects |
( |
| ) |
const |
◆ markAsRemoved()
void vistle::Shm::markAsRemoved |
( |
const std::string & |
name | ) |
|
◆ name()
std::string vistle::Shm::name |
( |
| ) |
const |
◆ objectID()
int vistle::Shm::objectID |
( |
| ) |
const |
◆ owningRank()
int vistle::Shm::owningRank |
( |
| ) |
const |
◆ perRank()
bool vistle::Shm::perRank |
( |
| ) |
|
|
static |
◆ remove()
bool vistle::Shm::remove |
( |
const std::string & |
shmname, |
|
|
int |
moduleID, |
|
|
int |
rank, |
|
|
bool |
perRank |
|
) |
| |
|
static |
◆ setArrayID()
void vistle::Shm::setArrayID |
( |
int |
id | ) |
|
◆ setObjectID()
void vistle::Shm::setObjectID |
( |
int |
id | ) |
|
◆ setRemoveOnDetach()
void vistle::Shm::setRemoveOnDetach |
( |
| ) |
|
◆ shm() [1/2]
◆ shm() [2/2]
◆ shmIdFilename()
std::string vistle::Shm::shmIdFilename |
( |
| ) |
|
|
static |
◆ the()
Shm & vistle::Shm::the |
( |
| ) |
|
|
static |
◆ unlockDictionary()
void vistle::Shm::unlockDictionary |
( |
| ) |
const |
◆ unlockObjects()
void vistle::Shm::unlockObjects |
( |
| ) |
const |
◆ Communicator
friend class Communicator |
|
friend |
◆ shm
The documentation for this class was generated from the following files: