CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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) override
 
const uint8_t * 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 ()
 
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 23 of file TritonData.h.

Constructor & Destructor Documentation

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

Definition at line 25 of file TritonMemResource.cc.

char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
size_t size() const
template<typename IO >
TritonHeapResource< IO >::~TritonHeapResource ( )
inlineoverride

Definition at line 41 of file TritonMemResource.h.

41 {}

Member Function Documentation

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

Reimplemented from TritonMemResource< IO >.

Definition at line 42 of file TritonMemResource.h.

42 {}
const uint8_t * TritonOutputHeapResource::copyOutput ( )
inlineoverridevirtual

Reimplemented from TritonMemResource< IO >.

Definition at line 43 of file TritonMemResource.h.

43 { return nullptr; }
template<typename IO >
void TritonHeapResource< IO >::set ( )
inlineoverridevirtual

Reimplemented from TritonMemResource< IO >.

Definition at line 44 of file TritonMemResource.h.

44 {}