Main Page | Modules | Class Hierarchy | Class List | File List | Class Members

EventOccurMethods


Functions

const bool dataqsdk::ControlError (long int &Code)
 Determines the last library error.

const bool dataqsdk::NewData (long int &Count)
 Determines whether new data is available according to the event point.

const bool dataqsdk::OverRun ()
 Determines whether the input buffer OR the device buffer overflowed.

const bool di194_dsdk::OverRun ()
 Determines whether the input buffer OR the device buffer overflowed.

virtual const bool dsdk::ControlError (long int &Code)
 Determines the last library error.

virtual const bool dsdk::NewData (long int &Count)
 Determines whether new data is available according to the event point.

virtual const bool dsdk::OverRun ()
 Determines whether the input buffer OR the device buffer overflowed.


Detailed Description

Return true when the event occurs and update their arguments with the proper value.

Return true when the event occurs and update their arguments with the proper value.

Return true when the event occurs and update their arguments with the proper value.


Function Documentation

const bool dataqsdk::ControlError long int &  Code  )  [inherited]
 

Determines the last library error.

Gives priority to other internal library errors over interface class errors.

Error Codes set:
ENODEV = No device specified.
ENOSYS = Function not supported.
Other codes are device dependent.

Parameters:
Code Will be changed to the value of the last error.
Returns:
False = No error.
True = Error occurred. Check the parameter for the actual value.

Definition at line 1139 of file dataqsdk.cpp.

References dsdk::ControlError(), dataqsdk::m_classID, and dataqsdk::m_last_error.

Here is the call graph for this function:

const bool dataqsdk::NewData long int &  Count  )  [inherited]
 

Determines whether new data is available according to the event point.

Error Codes set:
ENODEV = No device specified.
ENOSYS = Function not supported.
Other codes are device dependent.

Parameters:
Count Number of new data points.
Returns:
True = There is new data available.
False = There isn't any new data available.

Definition at line 1176 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::NewData().

Here is the call graph for this function:

const bool dataqsdk::OverRun  )  [inherited]
 

Determines whether the input buffer OR the device buffer overflowed.

This error may be misleading if someone recompiled their kernel with different serial buffer sizes.

Error Codes set:
ENODEV = No device specified.
ENOSYS = Function not supported.
Other codes are device dependent.

Precondition:
Connected.
Returns:
False = Everything is OK.
True = A buffer overflowed.

Definition at line 1201 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::OverRun().

Here is the call graph for this function:

const bool di194_dsdk::OverRun  )  [virtual, inherited]
 

Determines whether the input buffer OR the device buffer overflowed.

This error may be misleading if someone recompiled their kernel with different serial buffer sizes. Current size is: (DI_SERIAL_BUFFER_SIZE).

Error Codes set:
ENOLINK = Not connected.

Precondition:
Connected.
Returns:
False = Everything is OK.
True = One of the two buffers overflowed.

Reimplemented from dsdk.

Definition at line 894 of file di194.cpp.

References di_serial_io::bytes_in_receive(), di_serial_io::is_comm_open(), and di194_dsdk::m_connection.

Here is the call graph for this function:

const bool dsdk::ControlError long int &  Code  )  [virtual, inherited]
 

Determines the last library error.

Parameters:
Code Will be changed to the value of the last error.
Returns:
False = No error.
True = Error occurred. Check the parameter for the actual value.

Definition at line 372 of file dsdk.cpp.

Referenced by dataqsdk::ControlError().

const bool dsdk::NewData long int &  Count  )  [virtual, inherited]
 

Determines whether new data is available according to the event point.

Parameters:
Count Number of new data points.
Returns:
True = There is new data available.
False = There isn't any new data available.

Definition at line 389 of file dsdk.cpp.

References dsdk::AvailableData().

Referenced by dataqsdk::NewData().

Here is the call graph for this function:

const bool dsdk::OverRun  )  [virtual, inherited]
 

Determines whether the input buffer OR the device buffer overflowed.

This error may be misleading if someone recompiled their kernel with different serial buffer sizes.

Error Codes set:
ENOSYS = Function not supported.

Precondition:
Connected.
Returns:
False = Everything is OK.
True = A buffer overflowed.

Reimplemented in di194_dsdk.

Definition at line 413 of file dsdk.cpp.

Referenced by dataqsdk::OverRun().


Generated on Mon Aug 2 09:45:22 2004 for DataqSDK by doxygen 1.3.6