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

Public Types

enum  Ptel {
  PTEL_NONE = 0x0, PTEL_ZERO = 0x1, PTEL_ONE = 0x2, PTEL_TWO = 0x4,
  PTEL_ALL = PTEL_ZERO | PTEL_ONE | PTEL_TWO
}
 

Public Member Functions

 PointingTelescopes ()
 
virtual ~PointingTelescopes ()
 

Static Public Member Functions

static unsigned ptelToInt (Ptel ptel)
 
static Ptel intToPtel (unsigned iPtel)
 
static Ptel getPtels (gcp::grabber::Channel::FgChannel channel)
 
static Ptel getSinglePtel (gcp::grabber::Channel::FgChannel channel)
 
static Ptel getSinglePtel (unsigned channel)
 
static
gcp::grabber::Channel::FgChannel 
getFgChannels (Ptel ptelMask)
 
static
gcp::grabber::Channel::FgChannel 
getSingleFgChannel (Ptel ptel)
 
static unsigned getSingleIntChannel (Ptel ptel)
 
static void assignFgChannel (Ptel ptel, gcp::grabber::Channel::FgChannel chan)
 
static bool isSinglePtel (Ptel ptel)
 
static std::vector< Ptel > getPtels (Ptel ptelMask)
 
static void setDefaultFgChannels (gcp::grabber::Channel::FgChannel channels)
 
static void setDefaultPtels (Ptel ptels)
 
static
gcp::grabber::Channel::FgChannel 
getDefaultFgChannels ()
 
static PointingTelescopes::Ptel getDefaultPtels ()
 

Static Public Attributes

static const unsigned short nPtel_ = 3
 

Friends

std::ostream & operator<< (std::ostream &os, PointingTelescopes &obj)
 
std::ostream & gcp::util::operator<< (std::ostream &os, PointingTelescopes::Ptel &ptel)
 

Constructor & Destructor Documentation

PointingTelescopes::PointingTelescopes ( )

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

PointingTelescopes::~PointingTelescopes ( )
virtual

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

Member Function Documentation

void PointingTelescopes::assignFgChannel ( Ptel  ptel,
gcp::grabber::Channel::FgChannel  chan 
)
static

....................................................................... Set up an asoociation between a pointing telescope and a frame grabber channel

gcp::grabber::Channel::FgChannel PointingTelescopes::getFgChannels ( Ptel  ptelMask)
static

....................................................................... Return the pointing telescopes that corresponds to the passed frame grabber channel id mask

PointingTelescopes::Ptel PointingTelescopes::getPtels ( gcp::grabber::Channel::FgChannel  chanMask)
static

....................................................................... Return the pointing telescopes that corresponds to the passed frame grabber channel id mask

gcp::grabber::Channel::FgChannel PointingTelescopes::getSingleFgChannel ( Ptel  ptel)
static

....................................................................... Return the frame grabber channel id that corresponds to the passed pointing telescope

unsigned PointingTelescopes::getSingleIntChannel ( Ptel  ptel)
static

....................................................................... Return the integer frame grabber channel number that corresponds to the passed pointing telescope

PointingTelescopes::Ptel PointingTelescopes::getSinglePtel ( gcp::grabber::Channel::FgChannel  channel)
static

....................................................................... Return the pointing telescope that corresponds to the passed frame grabber channel ID

PointingTelescopes::Ptel PointingTelescopes::getSinglePtel ( unsigned  channel)
static

....................................................................... Return the pointing telescope that corresponds to the frame grabber channel number (integer from 0-2)


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