ot_functionManager Class Reference

OT_LIB function manager. More...

#include <ot_functionManager.h>

Inheritance diagram for ot_functionManager:

ot_manager

List of all members.

Public Member Functions

 ot_functionManager (void)
 Costructor.
 ~ot_functionManager (void)
 Destructor.
void callFunction (const ot_path &fPath, const ot_obj &input, auto_ptr< ot_obj > &output)
void dumpInterface (auto_ptr< ot_obj > &output)
void pingInterface (void)
 Check interface presence.
void getAttribute (const ot_path &aPath, auto_ptr< ot_obj > &output)
void setAttribute (const ot_path &aPath, const ot_obj &newValue)
void addAttribute (const ot_path &ePath, const string &name, const ot_obj &o)
void removeElement (const ot_path &ePath)
void lockAttribute (const ot_path &aPath)
void unlockAttribute (const ot_path &aPath)
void setInterfaceAccess (const ot_path &iPath, OT_IE_ACCESS a)
OT_IE_STATUS getAttributeStatus (const ot_path &aPath)
void addInterface (const ot_path &iPath, OT_IE_ACCESS access=IE_PRIVATE)
void removeInterface (const ot_path &iPath)
void addFunction (const ot_path &iPath, ot_functionImplementation *fImpl, OT_IE_ACCESS a=IE_PRIVATE)
void removeFunction (const ot_path &iPath)

Private Member Functions

ot_interfaceAttributegetAttributeElement (const ot_path &aPath)

Private Attributes

ot_interfacem_root
 The root interface.


Detailed Description

OT_LIB function manager.

This is the entry point class for all function op.


Constructor & Destructor Documentation

ot_functionManager::ot_functionManager ( void   ) 

Costructor.

ot_functionManager::~ot_functionManager ( void   ) 

Destructor.


Member Function Documentation

ot_interfaceAttribute* ot_functionManager::getAttributeElement ( const ot_path aPath  )  [private]

void ot_functionManager::callFunction ( const ot_path fPath,
const ot_obj input,
auto_ptr< ot_obj > &  output 
) [virtual]

Call a function (in corrent process)

Parameters:
fPath Path to the function
input Input data
output Output filled by the function

Implements ot_manager.

void ot_functionManager::dumpInterface ( auto_ptr< ot_obj > &  output  )  [virtual]

Get a interface description

Parameters:
output Output filled by the function

Implements ot_manager.

void ot_functionManager::pingInterface ( void   )  [virtual]

Check interface presence.

Implements ot_manager.

void ot_functionManager::getAttribute ( const ot_path aPath,
auto_ptr< ot_obj > &  output 
) [virtual]

Get an attribute

Parameters:
aPath Attribute path
attrName Attribute name
output Output filled by the attribute value

Implements ot_manager.

void ot_functionManager::setAttribute ( const ot_path aPath,
const ot_obj newValue 
) [virtual]

Set an attribute

Parameters:
aPath Attribute path
attrName Attribute name
newValue New attribute value

Implements ot_manager.

void ot_functionManager::addAttribute ( const ot_path ePath,
const string &  name,
const ot_obj o 
) [virtual]

Add a new element

Parameters:
ePath Element path

Implements ot_manager.

void ot_functionManager::removeElement ( const ot_path ePath  )  [virtual]

Remove an element

Parameters:
ePath Element path

Implements ot_manager.

void ot_functionManager::lockAttribute ( const ot_path aPath  )  [virtual]

Lock an element

Parameters:
aPath Element path

Implements ot_manager.

void ot_functionManager::unlockAttribute ( const ot_path aPath  )  [virtual]

Unlock an element

Parameters:
aPath Element path

Implements ot_manager.

void ot_functionManager::setInterfaceAccess ( const ot_path iPath,
OT_IE_ACCESS  a 
) [virtual]

Set the interface access

Parameters:
iPath Interface path

Implements ot_manager.

OT_IE_STATUS ot_functionManager::getAttributeStatus ( const ot_path aPath  )  [virtual]

Unlock an element

Parameters:
aPath Element path

Implements ot_manager.

void ot_functionManager::addInterface ( const ot_path iPath,
OT_IE_ACCESS  access = IE_PRIVATE 
) [virtual]

Add a new child interface

Parameters:
iPath The interface path
access Interface access mode

Implements ot_manager.

void ot_functionManager::removeInterface ( const ot_path iPath  )  [virtual]

Delete an interface

Parameters:
iPath The interface path

Implements ot_manager.

void ot_functionManager::addFunction ( const ot_path iPath,
ot_functionImplementation fImpl,
OT_IE_ACCESS  a = IE_PRIVATE 
) [virtual]

Add a function to an interface

Parameters:
iPath The interface path
fImpl Function callback

Implements ot_manager.

void ot_functionManager::removeFunction ( const ot_path iPath  )  [virtual]

Remove a function to from an interface

Parameters:
iPath The interface path

Implements ot_manager.


Member Data Documentation

The root interface.


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

Generated on Sun May 4 12:42:43 2008 for OT_LIB 4.1 by  doxygen 1.5.5