SMIL  1.0.1-dev
SharedImage< T > Class Template Reference

Image that uses an existing (1D) data pointer. More...

Detailed Description

template<class T>
class smil::SharedImage< T >

Image that uses an existing (1D) data pointer.

#include <DSharedImage.hpp>

+ Inheritance diagram for SharedImage< T >:
+ Collaboration diagram for SharedImage< T >:

Public Types

typedef Image< T > parentClass
 
typedef Image< T >::lineType lineType
 

Public Member Functions

 SharedImage ()
 Default constructor.
 
 SharedImage (const Image< T > &img)
 
 SharedImage (lineType dataPtr, size_t width, size_t height, size_t depth=1)
 
 SharedImage (const SharedImage< T > &img)
 
SharedImage< T > & operator= (const SharedImage< T > &rhs)
 
virtual RES_T attach (lineType dataPtr, size_t width, size_t height, size_t depth=1)
 
virtual RES_T attach (const Image< T > &im)
 
virtual RES_T attach (lineType dataPtr)
 
virtual RES_T detach ()
 
virtual RES_T clone (const SharedImage< T > &rhs)
 

Protected Member Functions

virtual RES_T setSize (size_t w, size_t h, size_t d=1, bool=true)
 
virtual RES_T allocate ()
 
virtual RES_T deallocate ()
 
RES_T allocate ()
 
RES_T allocate ()
 

Protected Attributes

bool attached
 

The documentation for this class was generated from the following files: