ot_manager Class Reference

#include <ot_manager.h>

Inheritance diagram for ot_manager:

ot_functionManager ot_socketManager

List of all members.

Public Member Functions

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

Protected Member Functions

 ot_manager (void)


Constructor & Destructor Documentation

ot_manager::ot_manager ( void   )  [protected]

virtual ot_manager::~ot_manager ( void   )  [virtual]


Member Function Documentation

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

Call a function (in corrent process)

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

Implemented in ot_functionManager, and ot_socketManager.

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

Get a interface description

Parameters:
output Output filled by the function

Implemented in ot_functionManager, and ot_socketManager.

virtual void ot_manager::pingInterface ( void   )  [pure virtual]

Check interface presence.

Implemented in ot_functionManager, and ot_socketManager.

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

Get an attribute

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

Implemented in ot_functionManager, and ot_socketManager.

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

Set an attribute

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

Implemented in ot_functionManager, and ot_socketManager.

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

Add a new element

Parameters:
ePath Element path

Implemented in ot_functionManager, and ot_socketManager.

virtual void ot_manager::removeElement ( const ot_path ePath  )  [pure virtual]

Remove an element

Parameters:
ePath Element path

Implemented in ot_functionManager, and ot_socketManager.

virtual void ot_manager::lockAttribute ( const ot_path aPath  )  [pure virtual]

Lock an element

Parameters:
aPath Element path

Implemented in ot_functionManager, and ot_socketManager.

virtual void ot_manager::unlockAttribute ( const ot_path aPath  )  [pure virtual]

Unlock an element

Parameters:
aPath Element path

Implemented in ot_functionManager, and ot_socketManager.

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

Set the interface access

Parameters:
iPath Interface path

Implemented in ot_functionManager, and ot_socketManager.

virtual OT_IE_STATUS ot_manager::getAttributeStatus ( const ot_path aPath  )  [pure virtual]

Unlock an element

Parameters:
aPath Element path

Implemented in ot_functionManager, and ot_socketManager.

virtual void ot_manager::addInterface ( const ot_path iPath,
OT_IE_ACCESS  access 
) [pure virtual]

Add a new child interface

Parameters:
iPath The interface path
access Interface access mode

Implemented in ot_functionManager, and ot_socketManager.

virtual void ot_manager::removeInterface ( const ot_path iPath  )  [pure virtual]

Delete an interface

Parameters:
iPath The interface path

Implemented in ot_functionManager, and ot_socketManager.

virtual void ot_manager::addFunction ( const ot_path iPath,
ot_functionImplementation fImpl,
OT_IE_ACCESS  a 
) [pure virtual]

Add a function to an interface

Parameters:
iPath The interface path
fImpl Function callback

Implemented in ot_functionManager, and ot_socketManager.

virtual void ot_manager::removeFunction ( const ot_path iPath  )  [pure virtual]

Remove a function to from an interface

Parameters:
iPath The interface path

Implemented in ot_functionManager, and ot_socketManager.


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

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