Class CImageAllocator

Inheritance Relationships

Base Type

  • public StApi::IStAllocator

Class Documentation

class CImageAllocator : public StApi::IStAllocator

Public Functions

inline explicit CImageAllocator(const std::string &camera_namespace)
inline void Allocate(void **pCreatedBuffer, size_t nSize, void **pContext)
inline void Deallocate(void *ptr, size_t, void *pContext)
inline void OnDeregister()
inline sensor_msgs::msg::Image *get_image(void *ptr)

Protected Attributes

std::map<void*, sensor_msgs::msg::Image*> map_buffer_image_
const std::string camera_namespace_