7 #ifndef _QI_TYPE_DYNAMICOBJECT_HPP_
8 #define _QI_TYPE_DYNAMICOBJECT_HPP_
13 #include <boost/optional.hpp>
16 # pragma warning( push )
17 # pragma warning( disable: 4251 )
23 class DynamicObjectPrivate;
43 virtual void setMetaObject(
const MetaObject& mo);
49 void setSignal(
unsigned int id,
SignalBase* signal);
50 void setProperty(
unsigned int id,
PropertyBase* property);
56 boost::optional<ObjectUid> uid()
const;
57 void setUid(boost::optional<ObjectUid> newUid);
73 boost::shared_ptr<DynamicObjectPrivate>
_p;
78 bool destroyObject =
true,
79 const boost::optional<ObjectUid>& uid = {},
80 boost::function<void (GenericObject*)> onDelete = boost::function<void (GenericObject*)>());
98 # pragma warning( pop )
101 #endif // _QITYPE_DYNAMICOBJECT_HPP_
qi::Future< AnyReference > metaCall(ExecutionContext *ec, ObjectThreadingModel objectThreadingModel, MetaCallType methodThreadingModel, MetaCallType callType, AnyObject manageable, unsigned int methodId, AnyFunction func, const GenericFunctionParameters ¶ms, bool noCloneFirst=false, unsigned int callerId=0, qi::os::timeval postTimestamp=qi::os::timeval())
boost::shared_ptr< DynamicObjectPrivate > _p
AnyObject makeDynamicSharedAnyObjectImpl(DynamicObject *obj, boost::shared_ptr< Empty > other)
Honor the default behavior.
AnyObject makeDynamicSharedAnyObject(DynamicObject *obj, boost::shared_ptr< T > other)
Object< Empty > AnyObject
ObjectTypeInterface * getDynamicTypeInterface()
AnyObject makeDynamicAnyObject(DynamicObject *obj, bool destroyObject=true, const boost::optional< ObjectUid > &uid={}, boost::function< void(GenericObject *)> onDelete=boost::function< void(GenericObject *)>())
Make an AnyObject of DynamicObject kind from a DynamicObject.
ObjectThreadingModel
Possible thread models for an object.
int context()
Get log context.