#include <TritonData.h>
Public Member Functions | |
uint8_t * | addr () |
virtual void | close () |
void | closeSafe () |
virtual void | copyInput (const void *values, size_t offset, unsigned entry) |
virtual void | copyOutput () |
virtual void | set () |
size_t | size () const |
TritonMemResource (TritonData< IO > *data, const std::string &name, size_t size) | |
virtual | ~TritonMemResource () |
Protected Attributes | |
uint8_t * | addr_ |
bool | closed_ |
TritonData< IO > * | data_ |
std::string | name_ |
size_t | size_ |
Definition at line 23 of file TritonData.h.
TritonMemResource< IO >::TritonMemResource | ( | TritonData< IO > * | data, |
const std::string & | name, | ||
size_t | size | ||
) |
Definition at line 15 of file TritonMemResource.cc.
|
inlinevirtual |
Definition at line 18 of file TritonMemResource.h.
|
inline |
|
inlinevirtual |
Reimplemented in TritonCpuShmResource< IO >.
Definition at line 21 of file TritonMemResource.h.
Referenced by esMonitoring.AsyncLineReaderMixin::handle_close(), and esMonitoring.FDJsonServer::handle_close().
void TritonMemResource< IO >::closeSafe | ( | ) |
Definition at line 28 of file TritonMemResource.cc.
References CMS_SA_ALLOW, triton_utils::convertToWarning(), MillePedeFileConverter_cfg::e, and cppFunctionSkipper::exception.
|
inlinevirtual |
Reimplemented in TritonCpuShmResource< IO >, and TritonHeapResource< IO >.
Definition at line 24 of file TritonMemResource.h.
|
inlinevirtual |
Reimplemented in TritonCpuShmResource< IO >, and TritonHeapResource< IO >.
Definition at line 26 of file TritonMemResource.h.
|
virtual |
Reimplemented in TritonHeapResource< IO >.
Definition at line 19 of file TritonMemResource.cc.
References mps_splice::entry, and TRITON_THROW_IF_ERROR.
|
inline |
Definition at line 20 of file TritonMemResource.h.
References TritonMemResource< IO >::size_.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
protected |
Definition at line 34 of file TritonMemResource.h.
Referenced by TritonMemResource< IO >::addr(), and TritonCpuShmResource< IO >::TritonCpuShmResource().
|
protected |
Definition at line 35 of file TritonMemResource.h.
|
protected |
Definition at line 31 of file TritonMemResource.h.
Referenced by TritonCpuShmResource< IO >::TritonCpuShmResource().
|
protected |
Definition at line 32 of file TritonMemResource.h.
Referenced by TritonCpuShmResource< IO >::TritonCpuShmResource().
|
protected |
Definition at line 33 of file TritonMemResource.h.
Referenced by TritonMemResource< IO >::size(), and TritonCpuShmResource< IO >::TritonCpuShmResource().