Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_M_PlugIn_Host Class Reference

List of all members.

Public Member Functions

Constructor / Destructor
virtual ~CP_M_PlugIn_Host () throw ()
 Destructor.
PlugIns List
void LoadPlugIns (const CP_FileSystemSpec &inFileSpec)
void AddPlugIn (const CP_FileSystemSpec &inFileSpec)
SInt16 GetNumberPlugIns ()
CP_FileSystemSpec GetNthPlugIn (SInt16 inindex)

Protected Member Functions

Constructor / Destructor
 CP_M_PlugIn_Host ()
 Contructor.
Loading
ICP_PlugInLoadPlugIn (const CP_String &inPlugInName)
ICP_PlugInLoadPlugIn (const CP_FileSystemSpec &inPlugInSpec)

Protected Attributes

CP_FileSystemSpecs_ArrayfPlugIns

Constructor & Destructor Documentation

CP_M_PlugIn_Host::~CP_M_PlugIn_Host  )  throw () [virtual]
 

Destructor.

CP_M_PlugIn_Host::CP_M_PlugIn_Host  )  [protected]
 

Constructor.


Member Function Documentation

void CP_M_PlugIn_Host::LoadPlugIns const CP_FileSystemSpec inFileSpec  ) 
 

Search the passed in file spec (which should point to our plugins directory) and list all files of the plugin type.

Parameters:
inFileSpec File spec where to look for plugins.
Exceptions:
none 
Returns:
void

void CP_M_PlugIn_Host::AddPlugIn const CP_FileSystemSpec inFileSpec  ) 
 

Add a new plugin to our list of plugins.

Parameters:
inFileSpec File spec of the plugin to add.
Exceptions:
none 
Returns:
void

SInt16 CP_M_PlugIn_Host::GetNumberPlugIns  ) 
 

Return the number of plugins in our list of plugins.

Exceptions:
none 
Returns:
SInt16 The number of plugins in our list.

CP_FileSystemSpec CP_M_PlugIn_Host::GetNthPlugIn SInt16  inIndex  ) 
 

Return the nth plugin from the list of plugins.

Exceptions:
none 
Returns:
CP_FileSystemSpec The nth plugin.

ICP_PlugIn * CP_M_PlugIn_Host::LoadPlugIn const CP_String inPlugInName  )  [protected]
 

Load and return a ICP_PlugIn object.

Parameters:
inPlugInName Name of the plugin to be returned.
Exceptions:
none 
Returns:
ICP_PlugIn * The returns plugin, or NULL if it could not be found.

ICP_PlugIn * CP_M_PlugIn_Host::LoadPlugIn const CP_FileSystemSpec inPlugInSpec  )  [protected]
 

Load and return a ICP_PlugIn object.

Parameters:
inPlugInSpec Filespec of the plugin to be returned.
Exceptions:
none 
Returns:
ICP_PlugIn * The returns plugin, or NULL if it could not be found.


Member Data Documentation

CP_FileSystemSpecs_Array* CP_M_PlugIn_Host::fPlugIns [protected]
 


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:49 2005 for CPLAT by  doxygen 1.4.0