Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes
Arc::LoadableModuleDesciption Class Reference

#include <ModuleManager.h>

Collaboration diagram for Arc::LoadableModuleDesciption:
Collaboration graph

List of all members.

Public Member Functions

 LoadableModuleDesciption (void)
 LoadableModuleDesciption (Glib::Module *m)
LoadableModuleDesciptionoperator= (Glib::Module *m)
 operator Glib::Module * (void)
bool operator== (Glib::Module *m)
int load (void)
int unload (void)
void makePersistent (void)

Private Attributes

Glib::Module * module
int count
std::string path

Detailed Description

Definition at line 14 of file ModuleManager.h.

Constructor & Destructor Documentation

Definition at line 20 of file ModuleManager.h.

:module(NULL),count(0) { };

Definition at line 21 of file ModuleManager.h.

:module(m),count(0) { };

Member Function Documentation

int Arc::LoadableModuleDesciption::load ( void  ) [inline]

Definition at line 28 of file ModuleManager.h.

{ ++count; return count; };

Definition at line 37 of file ModuleManager.h.

{ if(module) module->make_resident(); };
Arc::LoadableModuleDesciption::operator Glib::Module * ( void  ) [inline]

Definition at line 26 of file ModuleManager.h.

{ return module; };
LoadableModuleDesciption& Arc::LoadableModuleDesciption::operator= ( Glib::Module *  m) [inline]

Definition at line 22 of file ModuleManager.h.

    return *this;
bool Arc::LoadableModuleDesciption::operator== ( Glib::Module *  m) [inline]

Definition at line 27 of file ModuleManager.h.

{ return (module==m); }; 
int Arc::LoadableModuleDesciption::unload ( void  ) [inline]

Definition at line 29 of file ModuleManager.h.

    if(count <= 0) {
      if(module) delete module;
    return count;

Member Data Documentation

Definition at line 17 of file ModuleManager.h.

Glib::Module* Arc::LoadableModuleDesciption::module [private]

Definition at line 16 of file ModuleManager.h.

std::string Arc::LoadableModuleDesciption::path [private]

Definition at line 18 of file ModuleManager.h.

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