LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::ImageLoaderHandler Class Reference

#include <imageio_handler.h>

+ Collaboration diagram for lwpp::ImageLoaderHandler:

List of all members.

Public Member Functions

 ImageLoaderHandler ()
virtual ~ImageLoaderHandler ()
void InitHandler (LWImageLoaderLocal *l, int ver)
virtual int LoadImage (const char *filename)=0
int SetParam (LWImageParam p, const char *c)
int SetParam (LWImageParam p, const std::string str)
int SetParam (LWImageParam p, int i)
int SetParam (LWImageParam p, double d)

Protected Member Functions

bool Begin (LWImageType type)
int Done (int rc=IPSTAT_OK)
int SendLine (int y, const LWPixelID buffer)
void SetMap (int index, const unsigned char colour[3])
void SetParam (LWImageParam p, int i, float f)
void SetRC (int res)
void SetSize (int w, int h)

Protected Attributes

union {
LWImageProtocol_V2protocol
LWImageProtocol_V3protocol3
}; 
LWImageLoaderLocal * local
SimpleMonitor monitor
int version

Constructor & Destructor Documentation

lwpp::ImageLoaderHandler::ImageLoaderHandler ( )
inline
virtual lwpp::ImageLoaderHandler::~ImageLoaderHandler ( )
inlinevirtual

Member Function Documentation

bool lwpp::ImageLoaderHandler::Begin ( LWImageType  type)
inlineprotected
int lwpp::ImageLoaderHandler::Done ( int  rc = IPSTAT_OK)
inlineprotected
void lwpp::ImageLoaderHandler::InitHandler ( LWImageLoaderLocal *  l,
int  ver 
)
inline
virtual int lwpp::ImageLoaderHandler::LoadImage ( const char *  filename)
pure virtual
int lwpp::ImageLoaderHandler::SendLine ( int  y,
const LWPixelID  buffer 
)
inlineprotected
void lwpp::ImageLoaderHandler::SetMap ( int  index,
const unsigned char  colour[3] 
)
inlineprotected
void lwpp::ImageLoaderHandler::SetParam ( LWImageParam  p,
int  i,
float  f 
)
inlineprotected
int lwpp::ImageLoaderHandler::SetParam ( LWImageParam  p,
const char *  c 
)
inline
int lwpp::ImageLoaderHandler::SetParam ( LWImageParam  p,
const std::string  str 
)
inline
int lwpp::ImageLoaderHandler::SetParam ( LWImageParam  p,
int  i 
)
inline
int lwpp::ImageLoaderHandler::SetParam ( LWImageParam  p,
double  d 
)
inline
void lwpp::ImageLoaderHandler::SetRC ( int  res)
inlineprotected
void lwpp::ImageLoaderHandler::SetSize ( int  w,
int  h 
)
inlineprotected

Member Data Documentation

union { ... }
LWImageLoaderLocal* lwpp::ImageLoaderHandler::local
protected
SimpleMonitor lwpp::ImageLoaderHandler::monitor
protected
int lwpp::ImageLoaderHandler::version
protected

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