Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Manager Class Reference

List of all members.

Public Member Functions

 __init__ (_manager=None)
 Protected Copy Constructor.
 terminate ()
 shutdown ()
 join ()
 setModuleInitProc (proc)
 Run the Manager.
 activateManager ()
 Activate Manager.
 runManager (no_block=None)
 Run the Manager.
 load (fname, initfunc)
 [CORBA interface] Load module
 unload (fname)
 Unload module.
 unloadAll ()
 Unload module.
 getLoadedModules ()
 Get loaded module names.
 getLoadableModules ()
 Get loadable module names.
 registerFactory (profile, new_func, delete_func)
 Register RT-Component Factory.
 registerECFactory (name, new_func, delete_func)
 getModulesFactories ()
 Get the list of all RT-Component Factory.
 createComponent (module_name)
 Create RT-Component.
 registerComponent (comp)
 Register RT-Component directly without Factory.
 unregisterComponent (comp)
 bindExecutionContext (comp)
 deleteComponent (instance_name)
 Unregister RT-Component that is registered in the Manager.
 getComponent (instance_name)
 Get RT-Component's pointer.
 getComponents ()
 Get all RT-Component's pointer.
 getORB ()
 Get the pointer to the ORB.
 getPOA ()
 Get the pointer to the RootPOA.
 getPOAManager ()
 initManager (argc, argv)
 Manager internal initialization.
 shutdownManager ()
 Manager internal finalization.
 initLogger ()
 System logger initialization.
 shutdownLogger ()
 System Logger finalization.
 initORB ()
 CORBA ORB initialization.
 createORBOptions ()
 ORB command option creation.
 shutdownORB ()
 ORB finalization.
 initNaming ()
 NamingManager initialization.
 shutdownNaming ()
 initExecContext ()
 initTimer ()
 shutdownComponents ()
 cleanupComponent (comp)
 configureComponent (comp)
 mergeProperty (prop, file_name)
 formatString (naming_format, prop)
 getLogbuf ()
 getConfig ()

Static Public Member Functions

static init (argc, argv)
 Initializa manager.
static instance ()
 Get instance of the manager.

Classes

class  InstanceName
class  InstanceName
class  InstanceName
class  InstanceName
class  OrbRunner
class  Term
class  Terminator

Member Function Documentation

Manager::__init__ _manager  = None  ) 
 

Protected Copy Constructor.

Manager::activateManager  ) 
 

Activate Manager.

This operation do the following,

  • Activate CORBA POAManager
  • Activate Manager CORBA object
  • Bind object reference of the Manager to the nameserver

This operationo should be invoked after Manager:init(), and before tunManager().

Manager::bindExecutionContext comp   ) 
 

Manager::cleanupComponent comp   ) 
 

Manager::configureComponent comp   ) 
 

Manager::createComponent module_name   ) 
 

Create RT-Component.

Manager::createORBOptions  ) 
 

ORB command option creation.

Manager::deleteComponent instance_name   ) 
 

Unregister RT-Component that is registered in the Manager.

Manager::formatString naming_format  ,
prop 
 

Manager::getComponent instance_name   ) 
 

Get RT-Component's pointer.

Manager::getComponents  ) 
 

Get all RT-Component's pointer.

Manager::getConfig  ) 
 

Manager::getLoadableModules  ) 
 

Get loadable module names.

Manager::getLoadedModules  ) 
 

Get loaded module names.

Manager::getLogbuf  ) 
 

Manager::getModulesFactories  ) 
 

Get the list of all RT-Component Factory.

Manager::getORB  ) 
 

Get the pointer to the ORB.

Manager::getPOA  ) 
 

Get the pointer to the RootPOA.

Manager::getPOAManager  ) 
 

static Manager::init argc  ,
argv 
[static]
 

Initializa manager.

This is the static member function to tintialize the Manager. The Manager is initialized by given arguments. At the starting the manager, this static member function "must" be called from application program. The manager has two static functions to get the instance, "init()" and "instance()". Since initializing process is only performed by the "init()" function, the "init()" has to be called at the beginning of the lifecycle of the Manager. function.

Parameters:
argc The number of command line argument.
argv The array of the command line arguments.

Manager::initExecContext  ) 
 

Manager::initLogger  ) 
 

System logger initialization.

Manager::initManager argc  ,
argv 
 

Manager internal initialization.

Manager::initNaming  ) 
 

NamingManager initialization.

Manager::initORB  ) 
 

CORBA ORB initialization.

Manager::initTimer  ) 
 

static Manager::instance  )  [static]
 

Get instance of the manager.

This is the static member function to get the instance of the Manager. Before calling this function, ensure that the initialization function "init()" is called.

Returns:
The only instance reference of the manager

Manager::join  ) 
 

Manager::load fname  ,
initfunc 
 

[CORBA interface] Load module

Load module (shared library, DLL etc..) by file name, and invoke initialize function.

Parameters:
fname The module file name
initfunc The initialize function name

Manager::mergeProperty prop  ,
file_name 
 

Manager::registerComponent comp   ) 
 

Register RT-Component directly without Factory.

Manager::registerECFactory name  ,
new_func  ,
delete_func 
 

Manager::registerFactory profile  ,
new_func  ,
delete_func 
 

Register RT-Component Factory.

Manager::runManager no_block  = None  ) 
 

Run the Manager.

This operation processes the main event loop of the Manager. In this main loop, CORBA's ORB event loop or other processes are performed. As the default behavior, this operation is going to blocking mode and never returns until manager::destroy() is called. When the given argument "no_block" is set to "true", this operation creates a thread to process the event loop internally, and it doesn't block and returns.

Parameters:
no_block false: Blocking mode, true: non-blocking mode.

Manager::setModuleInitProc proc   ) 
 

Run the Manager.

This operation sets the initial procedure call to process module initialization, other user defined initialization and so on. The given procedure will be called at the proper timing after the manager initialization, activation and run.

Parameters:
proc A function pointer to the initial procedure call

Manager::shutdown  ) 
 

Manager::shutdownComponents  ) 
 

Manager::shutdownLogger  ) 
 

System Logger finalization.

Manager::shutdownManager  ) 
 

Manager internal finalization.

Manager::shutdownNaming  ) 
 

Manager::shutdownORB  ) 
 

ORB finalization.

Manager::terminate  ) 
 

Manager::unload fname   ) 
 

Unload module.

Unload shared library.

Parameters:
pathname Module file name

Manager::unloadAll  ) 
 

Unload module.

Unload all loaded shared library.

Manager::unregisterComponent comp   ) 
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 29 15:51:43 2007 for OpenRTM by  doxygen 1.4.3