#include <PropertyServer.h>
Inheritance diagram for propertyservice::PropertyServer:

Programmers are completely unaware of the underlying Corba calls as they only need to implement to virtual methods.
Public Methods | |
| PropertyServer () throw (ORBException&) | |
| Initialize the internal corba wrapper using default values. | |
| PropertyServer (CORBA::ORB_ptr orb) throw (ORBException&) | |
| Initialize the internal corba wrapper with the given orb. | |
| PropertyServer (std::string host, std::string objectName) throw (ORBException&) | |
| Create a new PropertyServer and bind it to a name service at the given host with the given name. | |
| virtual void | setProperty (const util::List< std::string > &nameParts, util::Blob< char > value)=0 throw (PropertyException&) |
| Set a property in the server. | |
| virtual util::Blob< char > * | getProperty (const util::List< std::string > &nameParts)=0 throw (PropertyException&) |
| Get the value of a property in the server. | |
| std::string | getIor () |
| Get the current inter-operable object reference of this server. | |
Protected Methods | |
| template<class T> void | firePropertyChange (std::string propertyName, T &propertyValue) throw (util::io::IOException&, util::xml::XMLException&) |
| Inform all registered listeners about a change in a property value. | |
Friends | |
| class | PropertyServerWrapper |
|
||||||||||||
|
Create a new PropertyServer and bind it to a name service at the given host with the given name.
|
|
||||||||||||||||
|
Inform all registered listeners about a change in a property value.
|
|
|
Get the value of a property in the server. The value is returned as an encoded Blob, which is most easily created using PropertyControl::encodeProperty(). The returned blob must point to a newly allocated memory segment that can be released using the delete operator.
Implemented in MobileRobotServer. |
|
||||||||||||
|
Set a property in the server. This method is invoked each time a client invokes a Corba setProperty call.
Implemented in MobileRobotServer. |