My Project
|
#include <Scanner.h>
Public Member Functions | |
Scanner (SpecificShare *share, gcp::util::AntNum *ant) | |
~Scanner () | |
void | packNextFrame () |
void | dispatchNextFrame (FrameSender *consumer) |
gcp::util::DataFrameManager * | dispatchNextFrame () |
unsigned int | getNframesInQueue () |
std::list< Board * > | listBoards () |
A class to encapsulate the transmission of monitor frames from the AC to the ACC.
Scanner::Scanner | ( | SpecificShare * | share, |
gcp::util::AntNum * | ant | ||
) |
Constructor with antenna specification.
Exception | ....................................................................... Constructor with Antenna number |
Scanner::~Scanner | ( | ) |
Destructor.
....................................................................... Destructor
void Scanner::dispatchNextFrame | ( | FrameSender * | sender | ) |
Get the next frame from the circular buffer and push it onto the event channel.
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.