5 #ifndef CMR_INTERFACE_INCLUDED
6 #define CMR_INTERFACE_INCLUDED
15 typedef AutoRef<Interface> PInterface;
16 typedef Interface* PPInterface;
19 typedef AutoRef<Service> PService;
20 typedef Service* PPService;
56 virtual long call(
const Tuple& in_args,
Tuple& out_args);
57 virtual long call(
const Tuple& in_args,
Tuple& out_args,
const Tuple* param);
62 const AString& get_name()
const;
66 virtual PService get_service()
const;
72 virtual bool get_session_context(
Tuple& t);
73 virtual void set_session_context(
const Tuple& session_context);
80 virtual bool get_self_session_context(
Tuple& t)
const;
81 virtual void set_self_session_context();
84 Internals_* internals_;
87 bool set_service(
const PService& service);
108 virtual long call(
const Tuple& inArgs,
Tuple& outArgs);
109 virtual long call(
const Tuple& inArgs,
Tuple& outArgs,
const Tuple* param);
111 typedef AutoRef<ProxyInterface> PProxyInterface;
124 const AString& get_class_name()
const
Definition: Interface.h:117
A commore::Service is an object that mimics an object in an object oriented system : it has a class n...
Definition: Service.h:122
Definition: Interface.h:31
bool is_proxy() const
Definition: Interface.h:104
Definition: CriticalSection.h:15
Definition: RefObject.h:89
AutoRef is a smart pointer on RefObject objects. AutoRef is templatized with the type of the pointed ...
Definition: AutoRef.h:86
virtual bool is_proxy() const
Definition: Interface.h:46
Definition: Interface.h:99
Definition: Interface.h:142