vrpn  07.33
Virtual Reality Peripheral Network
vrpn_Imager_Channel Class Reference

Holds the description needed to convert from raw data to values for a channel. More...

#include <vrpn_Imager.h>

Public Member Functions

 vrpn_Imager_Channel (void)
 

Public Attributes

cName name
 
cName units
 
vrpn_float32 minVal
 
vrpn_float32 maxVal
 
vrpn_float32 offset
 
vrpn_float32 scale
 

Protected Types

enum  ChannelCompression { NONE = 0 }
 

Protected Member Functions

bool buffer (char **insertPt, vrpn_int32 *buflen) const
 
bool unbuffer (const char **buffer)
 

Protected Attributes

ChannelCompression d_compression
 

Friends

class vrpn_Imager_Remote
 
class vrpn_Imager_Server
 
class vrpn_Imager_Stream_Buffer
 

Detailed Description

Holds the description needed to convert from raw data to values for a channel.

Definition at line 53 of file vrpn_Imager.h.

Member Enumeration Documentation

◆ ChannelCompression

Enumerator
NONE 

Definition at line 112 of file vrpn_Imager.h.

Constructor & Destructor Documentation

◆ vrpn_Imager_Channel()

vrpn_Imager_Channel::vrpn_Imager_Channel ( void  )
inline

Definition at line 59 of file vrpn_Imager.h.

Member Function Documentation

◆ buffer()

bool vrpn_Imager_Channel::buffer ( char **  insertPt,
vrpn_int32 *  buflen 
) const
inlineprotected

Definition at line 80 of file vrpn_Imager.h.

References vrpn_buffer().

Referenced by vrpn_Imager_Stream_Buffer::handle_image_description().

Here is the call graph for this function:

◆ unbuffer()

bool vrpn_Imager_Channel::unbuffer ( const char **  buffer)
inlineprotected

Friends And Related Function Documentation

◆ vrpn_Imager_Remote

friend class vrpn_Imager_Remote
friend

Definition at line 54 of file vrpn_Imager.h.

◆ vrpn_Imager_Server

friend class vrpn_Imager_Server
friend

Definition at line 55 of file vrpn_Imager.h.

◆ vrpn_Imager_Stream_Buffer

friend class vrpn_Imager_Stream_Buffer
friend

Definition at line 56 of file vrpn_Imager.h.

Member Data Documentation

◆ d_compression

ChannelCompression vrpn_Imager_Channel::d_compression
protected

Definition at line 113 of file vrpn_Imager.h.

Referenced by vrpn_Imager_Remote::handle_region_message().

◆ maxVal

vrpn_float32 vrpn_Imager_Channel::maxVal

Definition at line 72 of file vrpn_Imager.h.

◆ minVal

vrpn_float32 vrpn_Imager_Channel::minVal

Definition at line 71 of file vrpn_Imager.h.

◆ name

cName vrpn_Imager_Channel::name

Definition at line 67 of file vrpn_Imager.h.

◆ offset

vrpn_float32 vrpn_Imager_Channel::offset

Definition at line 73 of file vrpn_Imager.h.

◆ scale

vrpn_float32 vrpn_Imager_Channel::scale

Definition at line 74 of file vrpn_Imager.h.

◆ units

cName vrpn_Imager_Channel::units

Definition at line 70 of file vrpn_Imager.h.


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