Public Member Functions

Barry::FifoClient Class Reference

Searches for a fifo and opens and reads it if available. More...

#include <fifoargs.h>

Collaboration diagram for Barry::FifoClient:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool Fetch (int timeout_sec)
 Tries to open the fifo and read the arguments from it.

Detailed Description

Searches for a fifo and opens and reads it if available.

Use Fetch() with a given timeout to perform the read attempt. Use GetArgs() to access the filled FifoArgs struct.

Definition at line 95 of file fifoargs.h.


Member Function Documentation

bool Barry::FifoClient::Fetch ( int  timeout_sec  ) 

Tries to open the fifo and read the arguments from it.

If it fails in any way, or timeout, returns false.

Definition at line 183 of file fifoargs.cc.


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