AURobotServers  4
Private Member Functions | Private Attributes | List of all members
UFileDevPoll Class Reference

Private Member Functions

void close ()
 
const char * getNextLine (int timeoutMiliSec)
 
bool open (const char *deviceName)
 
 UFileDevPoll (int bufSize)
 

Private Attributes

char * buff
 
int buffCnt
 
int dataCnt
 
int hfd
 
bool isOpen
 
char * next
 

Constructor & Destructor Documentation

UFileDevPoll::UFileDevPoll ( int  bufSize)
inlineprivate

Member Function Documentation

void UFileDevPoll::close ( )
inlineprivate
const char* UFileDevPoll::getNextLine ( int  timeoutMiliSec)
inlineprivate

Get a line from a device file, but wait at maximum this amount of miliseconds

hertil - denne tokenset skal nok op tidligere i while for at tillade at der er læst mere end 1 linie.

bool UFileDevPoll::open ( const char *  deviceName)
inlineprivate

Member Data Documentation

char* UFileDevPoll::buff
private
int UFileDevPoll::buffCnt
private
int UFileDevPoll::dataCnt
private
int UFileDevPoll::hfd
private
bool UFileDevPoll::isOpen
private
char* UFileDevPoll::next
private

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