third_party/phoenixsuite/cpp/src/CANifier.cpp
/**
 * Gets the CANifier sticky fault status
 *
 * @param toFill
 *            Container for sticky fault statuses.
 * @return Error Code generated by function. 0 indicates no error.
 */
Gets the CANifier sticky fault status
@param toFill
Container for sticky fault statuses.
@return Error Code generated by function. 0 indicates no error.
Gets the CANifier sticky fault status @param toFill Container for sticky fault statuses . @return Error Code generated by function . 0 indicates no error .
ErrorCode CANifier::GetStickyFaults(CANifierStickyFaults & toFill) {
	int faultBits;
	ErrorCode retval = c_CANifier_GetFaults(m_handle, &faultBits);
	toFill = CANifierStickyFaults(faultBits);
	return retval;
}
ErrorCode CANifier :: GetStickyFaults ( CANifierStickyFaults & toFill ) { int faultBits ; ErrorCode retval = c_CANifier_GetFaults ( m_handle , & faultBits ) ; toFill = CANifierStickyFaults ( faultBits ) ; return retval ; }
Gets the CANifier sticky fault status
 @param toFill
            Container for sticky fault statuses.
Gets the CANifier sticky fault status @param toFill Container for sticky fault statuses .