My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::grabber::Channel Class Reference

Public Types

enum  FgChannel {
  NONE = 0x0, CHAN0 = 0x1, CHAN1 = 0x2, CHAN2 = 0x4,
  CHAN3 = 0x8, ALL = CHAN0 | CHAN1 | CHAN2 | CHAN3, NONE = 0x0, CHAN0 = 0x1,
  CHAN1 = 0x2, CHAN2 = 0x4, CHAN3 = 0x8, ALL = CHAN0 | CHAN1 | CHAN2 | CHAN3
}
 
enum  FgChannel {
  NONE = 0x0, CHAN0 = 0x1, CHAN1 = 0x2, CHAN2 = 0x4,
  CHAN3 = 0x8, ALL = CHAN0 | CHAN1 | CHAN2 | CHAN3, NONE = 0x0, CHAN0 = 0x1,
  CHAN1 = 0x2, CHAN2 = 0x4, CHAN3 = 0x8, ALL = CHAN0 | CHAN1 | CHAN2 | CHAN3
}
 

Public Member Functions

 Channel ()
 
virtual ~Channel ()
 

Static Public Member Functions

static unsigned channelToInt (FgChannel chanMask)
 
static FgChannel intToChannel (unsigned chanInt)
 
static bool isSingleChannel (FgChannel chan)
 
static std::vector
< Channel::FgChannel > 
getChannels (Channel::FgChannel chanMask)
 
static unsigned channelToInt (FgChannel chanMask)
 
static FgChannel intToChannel (unsigned chanInt)
 
static bool isSingleChannel (FgChannel chan)
 
static std::vector
< Channel::FgChannel > 
getChannels (Channel::FgChannel chanMask)
 

Static Public Attributes

static const unsigned nChan_ = 4
 

Friends

std::ostream & operator<< (std::ostream &os, const FgChannel &chan)
 
std::ostream & operator<< (std::ostream &os, const FgChannel &chan)
 

Constructor & Destructor Documentation

Channel::Channel ( )

....................................................................... Constructor.

Channel::~Channel ( )
virtual

....................................................................... Destructor.


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