Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

corelinux::Loader Class Reference

Loader has the responsibility for the actual resolution and instantiation of LibraryInstance objects given the identifier in the load method. More...

#include <Loader.hpp>

Inheritance diagram for corelinux::Loader:

corelinux::Aggregate corelinux::FrameworkEntity List of all members.

Public Methods

virtual MetaTypeCptr getType ( void ) const
 get the type. More...

VoidPtr operator new (size_t aSize)
 redefine the operator new[]
  • aSize.
More...


void operator delete (VoidPtr aVoidPtr)
 redefine the operator delete[]
  • aVoidPtr the pointer to delete.


 Loader ( void )
 Default constructor.

virtual ~Loader ( void )
 Virtual Destructor.

bool operator== ( LoaderCref ) const
 Equality operator.

virtual LibraryInstancePtr load ( CharPtr ) = 0 throw ( LoadException )
 Load is the request to access the identified library. More...

virtual void unLoad ( LibraryInstancePtr ) = 0 throw ( LoadException )
 Unload is the request to return a library instance to the specific loader. More...


Static Public Methods

MetaTypeCptr getTypeDescriptor ( void )
 get the type descriptor. More...

 LoaderPtr ( void )
 1 a new instance of Loader. More...

 void ( LoaderPtr aPointer )
 1 a point of Loader


Protected Methods

 Loader ( LoaderCref )
 Copy constructor.

LoaderRef operator= ( LoaderCref )
 Assignment operator.


Detailed Description

Loader has the responsibility for the actual resolution and instantiation of LibraryInstance objects given the identifier in the load method.


Constructor & Destructor Documentation

corelinux::Loader::Loader ( void )
 

Default constructor.

corelinux::Loader::~Loader ( void ) [virtual]
 

Virtual Destructor.

corelinux::Loader::Loader ( LoaderCref aLoader ) [protected]
 

Copy constructor.


Member Function Documentation

corelinux::Loader::LoaderPtr ( void ) [static]
 

1 a new instance of Loader.

Returns:
a pointer to Loader

MetaTypeCptr corelinux::Loader::getType ( void ) const [virtual]
 

get the type.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Aggregate.

MetaTypeCptr corelinux::Loader::getTypeDescriptor ( void ) [static]
 

get the type descriptor.

Returns:
a const pointer to the MetaType

Reimplemented from corelinux::Aggregate.

LibraryInstancePtr corelinux::Loader::load ( CharPtr ) throw ( LoadException ) [pure virtual]
 

Load is the request to access the identified library.

Parameters:
CharPtr   for name of library
Returns:
LibraryInstance instance of LibraryInstance
Exceptions:
CantLoadException   if for some reason the library can't be loaded

void corelinux::Loader::operator delete ( VoidPtr aVoidPtr )
 

redefine the operator delete[]

  • aVoidPtr the pointer to delete.

Reimplemented from corelinux::Aggregate.

VoidPtr corelinux::Loader::operator new ( size_t aSize )
 

redefine the operator new[]

  • aSize.

Returns:
a VoidPtr

Reimplemented from corelinux::Aggregate.

LoaderRef corelinux::Loader::operator= ( LoaderCref ) [protected]
 

Assignment operator.

bool corelinux::Loader::operator== ( LoaderCref aLoader ) const
 

Equality operator.

void corelinux::Loader::unLoad ( LibraryInstancePtr ) throw ( LoadException ) [pure virtual]
 

Unload is the request to return a library instance to the specific loader.

Parameters:
LibraryInstance   instance of LibraryInstance

corelinux::Loader::void ( LoaderPtr aPointer ) [static]
 

1 a point of Loader


The documentation for this class was generated from the following files:
This is the CoreLinux++ Framework reference manual
Provided by The CoreLinux Consortium