CMS 3D CMS Logo

List of all members | Public Member Functions
TritonHeapResource< IO > Class Template Reference

#include <TritonData.h>

Inheritance diagram for TritonHeapResource< IO >:
TritonMemResource< IO >

Public Member Functions

void copyInput (const void *values, size_t offset, unsigned entry) override
 
void copyOutput () override
 
void set () override
 
 TritonHeapResource (TritonData< IO > *data, const std::string &name, size_t size)
 
 ~TritonHeapResource () override
 
- Public Member Functions inherited from TritonMemResource< IO >
uint8_t * addr ()
 
virtual void close ()
 
void closeSafe ()
 
size_t size () const
 
 TritonMemResource (TritonData< IO > *data, const std::string &name, size_t size)
 
virtual ~TritonMemResource ()
 

Additional Inherited Members

- Protected Attributes inherited from TritonMemResource< IO >
uint8_t * addr_
 
bool closed_
 
TritonData< IO > * data_
 
std::string name_
 
size_t size_
 

Detailed Description

template<typename IO>
class TritonHeapResource< IO >

Definition at line 25 of file TritonData.h.

Constructor & Destructor Documentation

◆ TritonHeapResource()

template<typename IO >
TritonHeapResource< IO >::TritonHeapResource ( TritonData< IO > *  data,
const std::string &  name,
size_t  size 
)

Definition at line 41 of file TritonMemResource.cc.

◆ ~TritonHeapResource()

template<typename IO >
TritonHeapResource< IO >::~TritonHeapResource ( )
inlineoverride

Definition at line 42 of file TritonMemResource.h.

42 {}

Member Function Documentation

◆ copyInput()

void TritonInputHeapResource::copyInput ( const void *  values,
size_t  offset,
unsigned  entry 
)
inlineoverridevirtual

Reimplemented from TritonMemResource< IO >.

Definition at line 43 of file TritonMemResource.h.

43 {}

◆ copyOutput()

void TritonOutputHeapResource::copyOutput ( )
inlineoverridevirtual

Reimplemented from TritonMemResource< IO >.

Definition at line 44 of file TritonMemResource.h.

44 {}

◆ set()

template<typename IO >
void TritonHeapResource< IO >::set ( )
inlineoverridevirtual

Reimplemented from TritonMemResource< IO >.

Definition at line 45 of file TritonMemResource.h.

45 {}