My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::antenna::control::Scanner Class Reference

#include <Scanner.h>

Public Member Functions

 Scanner (SpecificShare *share, gcp::util::AntNum *ant)
 
 ~Scanner ()
 
void packNextFrame ()
 
void dispatchNextFrame (FrameSender *consumer)
 
gcp::util::DataFrameManagerdispatchNextFrame ()
 
unsigned int getNframesInQueue ()
 
std::list< Board * > listBoards ()
 

Detailed Description

A class to encapsulate the transmission of monitor frames from the AC to the ACC.

Constructor & Destructor Documentation

Scanner::Scanner ( SpecificShare share,
gcp::util::AntNum ant 
)

Constructor with antenna specification.

Exceptions
Exception....................................................................... Constructor with Antenna number
Scanner::~Scanner ( )

Destructor.

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

Member Function Documentation

void Scanner::dispatchNextFrame ( FrameSender sender)

Get the next frame from the circular buffer and push it onto the event channel.

Exceptions
Exception....................................................................... If there is room in the circular frame buffer, record another data frame and push it onto the event channel.

Input: sender FrameSender An object used to push data onto a TCP/IP socket or CORBA event channel.

DataFrameManager * Scanner::dispatchNextFrame ( )

Method to return the next frame from our ring buffer.

....................................................................... If there is room in the circular frame buffer, record another data frame and push it onto the event channel.

Input: sender FrameSender An object used to push data onto a TCP/IP socket or CORBA event channel.

unsigned int Scanner::getNframesInQueue ( )

Return the number of data frames waiting to be dispatched.

....................................................................... Return the number of frames waiting to be dispatched.

std::list<Board*> gcp::antenna::control::Scanner::listBoards ( )

Return the list of boards controlled by this task.

void Scanner::packNextFrame ( )

If there is room in the circular frame buffer, record another data frame.

....................................................................... If there is room in the circular frame buffer, record another data frame and push it onto the event channel.

Input: sender FrameSender An object used to push data onto a TCP/IP socket or CORBA event channel.


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