View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Public Types | Public Member Functions | Public Attributes | List of all members
vistle::ShmData Struct Reference

#include <core/shmdata.h>

Inheritance diagram for vistle::ShmData:
Inheritance graph
[legend]
Collaboration diagram for vistle::ShmData:
Collaboration graph
[legend]

Public Types

enum  ShmType { INVALID , OBJECT , ARRAY }
 

Public Member Functions

 ShmData (ShmType t, const std::string &name=std::string())
 
 ~ShmData ()
 
int ref () const
 
int unref () const
 
int refcount () const
 

Public Attributes

const shm_name_t name
 
std::atomic< int > m_refcount
 
const ShmType shmtype = INVALID
 

Member Enumeration Documentation

◆ ShmType

Enumerator
INVALID 
OBJECT 
ARRAY 

Constructor & Destructor Documentation

◆ ShmData()

vistle::ShmData::ShmData ( ShmType  t,
const std::string &  name = std::string() 
)
inlineexplicit

◆ ~ShmData()

vistle::ShmData::~ShmData ( )
inline

Member Function Documentation

◆ ref()

int vistle::ShmData::ref ( ) const
inline

◆ refcount()

int vistle::ShmData::refcount ( ) const
inline

◆ unref()

int vistle::ShmData::unref ( ) const
inline

Member Data Documentation

◆ m_refcount

std::atomic<int> vistle::ShmData::m_refcount
mutable

◆ name

const shm_name_t vistle::ShmData::name

◆ shmtype

const ShmType vistle::ShmData::shmtype = INVALID

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