19 #ifndef INCLUDE_RCF_SESSIONOBJECTFACTORYSERVICE_HPP
20 #define INCLUDE_RCF_SESSIONOBJECTFACTORYSERVICE_HPP
22 #include <RCF/Config.hpp>
24 #if RCF_FEATURE_LEGACY==0
25 #error This header is only supported in builds with RCF_FEATURE_LEGACY=1.
28 #include <RCF/ObjectFactoryService.hpp>
32 class RCF_EXPORT SessionObjectFactoryService :
34 public StubFactoryRegistry,
38 boost::int32_t CreateSessionObject(
const std::string &objectName);
39 boost::int32_t DeleteSessionObject();
42 void onServiceAdded(RcfServer &server);
43 void onServiceRemoved(RcfServer &server);
46 typedef boost::shared_ptr<SessionObjectFactoryService>
47 SessionObjectFactoryServicePtr;
51 #endif // ! INCLUDE_RCF_SESSIONOBJECTFACTORYSERVICE_HPP