ecl::devices Namespace Reference

Namespaces

namespace  tests
 

Frameworks created for the unit tests.


Classes

class  CharBuffer
 Simple char string buffer class for use internally by the devices. More...
class  CharStringBuffer
 Simple char string buffer class for use internally by the devices. More...
class  SharedFileCommon
 Interface distributed to all members of a shared output file. More...
class  SharedFileManager

Functions

ecl::Error accept_error ()
ecl::Error accept_error (const char *loc)
ecl::StandardException accept_exception (const char *loc)
ecl::Error bind_error ()
ecl::Error bind_error (const char *loc)
ecl::StandardException bind_exception (const char *loc)
ecl::Error close_error ()
StandardException close_exception (const char *loc, const std::string &file_name)
ecl::Error connection_error (const char *loc)
ecl::Error connection_error ()
StandardException connection_exception (const char *loc)
ecl::Error gethostbyname_error ()
StandardException gethostbyname_exception (const char *loc, const std::string &hostname)
ecl::Error ioctl_error (const char *loc)
ecl::Error ioctl_error ()
ecl::StandardException ioctl_exception (const char *loc)
ecl::Error open_error ()
StandardException open_exception (const char *loc, const std::string &file_name)
ecl::Error read_error ()
StandardException read_exception (const char *loc)
ecl::Error receive_error (const char *loc)
ecl::Error receive_error ()
ecl::StandardException receive_exception (const char *loc)
ecl::Error send_error ()
ecl::Error send_error (const char *loc)
ecl::StandardException send_exception (const char *loc)
ecl::Error socket_error (const char *loc)
ecl::Error socket_error ()
ecl::StandardException socket_exception (const char *loc)
ecl::Error sync_error ()
StandardException sync_exception (const char *loc, const std::string &file_name)
ecl::Error write_error ()
StandardException write_exception (const char *loc)

Function Documentation

ecl::Error ecl::devices::accept_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix accept calls.

Returns:
Error : the error type.
ecl::Error ecl::devices::accept_error ( const char *  loc  ) 

Definition at line 62 of file socket_error_handler_pos.cpp.

StandardException ecl::devices::accept_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix accept calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
Returns:
StandardException : the exception type.

Definition at line 75 of file socket_exception_handler_pos.cpp.

ecl::Error ecl::devices::bind_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix bind calls.

Returns:
Error : the error type.
ecl::Error ecl::devices::bind_error ( const char *  loc  ) 

Definition at line 43 of file socket_error_handler_pos.cpp.

StandardException ecl::devices::bind_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix bind calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
Returns:
StandardException : the exception type.

Definition at line 52 of file socket_exception_handler_pos.cpp.

ecl::Error ecl::devices::close_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix close/fclose calls.

Definition at line 98 of file error_handler_pos.cpp.

StandardException ecl::devices::close_exception ( const char *  loc,
const std::string &  file_name 
)

This function generates a custom StandardException response for posix error numbers generated by posix close/fclose calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
file_name : not directly used, but incorporated into the debugging message.

Definition at line 129 of file exception_handler_pos.cpp.

ecl::Error ecl::devices::connection_error ( const char *  loc  ) 

Definition at line 140 of file socket_error_handler_pos.cpp.

ecl::Error ecl::devices::connection_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix connect calls.

Returns:
Error : the error type.
StandardException ecl::devices::connection_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix connect calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
Returns:
StandardException : the exception type.

Definition at line 180 of file socket_exception_handler_pos.cpp.

ecl::Error ecl::devices::gethostbyname_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix gethostbyname calls.

Returns:
Error : the error type.

Definition at line 131 of file socket_error_handler_pos.cpp.

StandardException ecl::devices::gethostbyname_exception ( const char *  loc,
const std::string &  hostname 
)

This function generates a custom StandardException response for posix error numbers generated by posix gethostbyname calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
hostname : name of the server's host.
Returns:
StandardException : the exception type.

Definition at line 161 of file socket_exception_handler_pos.cpp.

ecl::Error ecl::devices::ioctl_error ( const char *  loc  ) 

Definition at line 121 of file socket_error_handler_pos.cpp.

ecl::Error ecl::devices::ioctl_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix ioctl calls.

Returns:
Error : the error type.
StandardException ecl::devices::ioctl_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix ioctl calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
Returns:
StandardException : the exception type.

Definition at line 146 of file socket_exception_handler_pos.cpp.

ecl::Error ecl::devices::open_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix open/fdopen calls.

Definition at line 35 of file error_handler_pos.cpp.

StandardException ecl::devices::open_exception ( const char *  loc,
const std::string &  file_name 
)

This function generates a custom StandardException response for posix error numbers generated by posix open/fdopen calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
file_name : not directly used, but incorporated into the debugging message.

Definition at line 45 of file exception_handler_pos.cpp.

ecl::Error ecl::devices::read_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix read calls.

Definition at line 75 of file error_handler_pos.cpp.

StandardException ecl::devices::read_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix read calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.

Definition at line 96 of file exception_handler_pos.cpp.

ecl::Error ecl::devices::receive_error ( const char *  loc  ) 

Definition at line 82 of file socket_error_handler_pos.cpp.

ecl::Error ecl::devices::receive_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix recv calls.

Returns:
Error : the error type.
StandardException ecl::devices::receive_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix receive calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
Returns:
StandardException : the exception type.

Definition at line 99 of file socket_exception_handler_pos.cpp.

ecl::Error ecl::devices::send_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix send calls.

Returns:
Error : the error type.
ecl::Error ecl::devices::send_error ( const char *  loc  ) 

Definition at line 98 of file socket_error_handler_pos.cpp.

StandardException ecl::devices::send_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix send calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
Returns:
StandardException : the exception type.

Definition at line 119 of file socket_exception_handler_pos.cpp.

ecl::Error ecl::devices::socket_error ( const char *  loc  ) 

Definition at line 29 of file socket_error_handler_pos.cpp.

ecl::Error ecl::devices::socket_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix socket calls.

Returns:
Error : the error type.
StandardException ecl::devices::socket_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix socket calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
Returns:
StandardException : the exception type.

Definition at line 34 of file socket_exception_handler_pos.cpp.

ecl::Error ecl::devices::sync_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix fsync calls.

Definition at line 88 of file error_handler_pos.cpp.

StandardException ecl::devices::sync_exception ( const char *  loc,
const std::string &  file_name 
)

This function generates a custom StandardException response for posix error numbers generated by posix fsync calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.
file_name : not directly used, but incorporated into the debugging message.

Definition at line 114 of file exception_handler_pos.cpp.

ecl::Error ecl::devices::write_error (  ) 

This function generates a custom ecl::Error response for posix error numbers generated by posix write calls.

Definition at line 58 of file error_handler_pos.cpp.

StandardException ecl::devices::write_exception ( const char *  loc  ) 

This function generates a custom StandardException response for posix error numbers generated by posix write calls.

Parameters:
loc : use with the LOC macro, identifies the line and file of the code.

Definition at line 74 of file exception_handler_pos.cpp.



ecl_devices
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Sat Jan 14 2012 16:21:58