A.I.M.S


channel.h File Reference
Include dependency graph for channel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECLARE_CHANNEL_SELECTOR_NAME()   class ChannelSelector \
 
#define DECLARE_CHANNEL_SELECTOR_SPEC(T, U, C)
 
#define DECLARE_CHANNEL_SELECTOR_CLASS()
 
#define DECLARE_CHANNEL_SELECTOR_SPECIALIZED(T)
 
#define DECLARE_CHANNEL_SELECTOR_VOLUME_SPECIALIZED()
 
#define DECLARE_CHANNEL_SELECTOR_AIMSDATA_SPECIALIZED()
 

Enumerations

enum  AimsRGBAChannel { RedChannel = 0, GreenChannel = 1, BlueChannel = 2, AlphaChannel = 3 }
 
enum  AimsHSVChannel { HueChannel = 0, SaturationChannel = 1, ValueChannel = 2 }
 

Macro Definition Documentation

#define DECLARE_CHANNEL_SELECTOR_AIMSDATA_SPECIALIZED ( )
Value:
template <class T, class U> \
#define DECLARE_CHANNEL_SELECTOR_SPEC(T, U, C)
Definition: channel.h:66
#define DECLARE_CHANNEL_SELECTOR_NAME()
Definition: channel.h:62

Definition at line 100 of file channel.h.

#define DECLARE_CHANNEL_SELECTOR_CLASS ( )
Value:
template <class T, class U, class C = byte > \
#define DECLARE_CHANNEL_SELECTOR_SPEC(T, U, C)
Definition: channel.h:66
#define DECLARE_CHANNEL_SELECTOR_NAME()
Definition: channel.h:62

Definition at line 82 of file channel.h.

#define DECLARE_CHANNEL_SELECTOR_NAME ( )    class ChannelSelector \

Definition at line 62 of file channel.h.

#define DECLARE_CHANNEL_SELECTOR_SPEC (   T,
  U,
 
)
Value:
{ \
public: \
ChannelSelector() {} \
virtual ~ChannelSelector() {} \
\
U select( const T& input, const uint8_t channel ); \
void set( T& input, const uint8_t channel, const U& value ); \
\
private: \
carto::ShallowConverter<U, C> channelconvset; \
carto::ShallowConverter<C, U> channelconv; \
carto::ShallowConverter<T, U> dataconv; \
}; \

Definition at line 66 of file channel.h.

#define DECLARE_CHANNEL_SELECTOR_SPECIALIZED (   T)
Value:
template <class U> \
#define DECLARE_CHANNEL_SELECTOR_SPEC(T, U, C)
Definition: channel.h:66
uint8_t byte
#define DECLARE_CHANNEL_SELECTOR_NAME()
Definition: channel.h:62

Definition at line 88 of file channel.h.

#define DECLARE_CHANNEL_SELECTOR_VOLUME_SPECIALIZED ( )
Value:
template <class T, class U> \
#define DECLARE_CHANNEL_SELECTOR_SPEC(T, U, C)
Definition: channel.h:66
#define DECLARE_CHANNEL_SELECTOR_NAME()
Definition: channel.h:62

Definition at line 94 of file channel.h.

Enumeration Type Documentation

Enumerator
HueChannel 
SaturationChannel 
ValueChannel 

Definition at line 55 of file channel.h.

Enumerator
RedChannel 
GreenChannel 
BlueChannel 
AlphaChannel 

Definition at line 47 of file channel.h.