Creating an Entry Point to the Object
For the HydraExpress Agent to load an object, the shared library that contains the object must have a well-defined entry point in the form of a create() method.
 
extern "C" {
RWSF_CORE_EXPORT rwsf::NamedObjectImp* createMyString() {
return new rwsf::PointerNamedObjectImp<MyString>(new MyString(),true);
}
}
At a minimum, the above method and the MyString class must be compiled into a shared library, and the HydraExpress Agent must be able to locate this shared library at startup. To learn more about the support for named objects, see class rwsf::NamedObject in the HydraExpress C++ API Reference Guide.