CACAO
Public Member Functions | Private Attributes
HPI Class Reference

Host Porting Interface (HPI). More...

Public Member Functions

 HPI ()
 Initialize the Host Porting Interface (HPI). More...
 
HPI_FileInterface & get_file () const
 
HPI_SocketInterface & get_socket () const
 
HPI_LibraryInterface & get_library () const
 
HPI_SystemInterface & get_system () const
 
void initialize ()
 
int initialize_socket_library ()
 Initialize the Host Porting Interface (HPI) socket library. More...
 

Private Attributes

GetInterfaceFunc _get_interface
 
HPI_FileInterface * _file
 
HPI_SocketInterface * _socket
 
HPI_LibraryInterface * _library
 
HPI_SystemInterface * _system
 

Detailed Description

Host Porting Interface (HPI).

Definition at line 53 of file hpi.hpp.

Constructor & Destructor Documentation

HPI::HPI ( )

Initialize the Host Porting Interface (HPI).

Definition at line 63 of file hpi.cpp.

Member Function Documentation

HPI_FileInterface& HPI::get_file ( ) const
inline

Definition at line 64 of file hpi.hpp.

HPI_LibraryInterface& HPI::get_library ( ) const
inline

Definition at line 66 of file hpi.hpp.

HPI_SocketInterface& HPI::get_socket ( ) const
inline

Definition at line 65 of file hpi.hpp.

HPI_SystemInterface& HPI::get_system ( ) const
inline

Definition at line 67 of file hpi.hpp.

void HPI::initialize ( )

Definition at line 67 of file hpi.cpp.

int HPI::initialize_socket_library ( )

Initialize the Host Porting Interface (HPI) socket library.

Definition at line 141 of file hpi.cpp.

Field Documentation

HPI_FileInterface* HPI::_file
private

Definition at line 56 of file hpi.hpp.

GetInterfaceFunc HPI::_get_interface
private

Definition at line 55 of file hpi.hpp.

HPI_LibraryInterface* HPI::_library
private

Definition at line 58 of file hpi.hpp.

HPI_SocketInterface* HPI::_socket
private

Definition at line 57 of file hpi.hpp.

HPI_SystemInterface* HPI::_system
private

Definition at line 59 of file hpi.hpp.


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