libqi-api  2.4.3.28
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
dynamicobjectbuilder.hpp File Reference
#include <boost/noncopyable.hpp>
#include <qi/anyobject.hpp>
#include <qi/property.hpp>
#include <qi/type/detail/dynamicobjectbuilder.hxx>

Go to the source code of this file.

Classes

class  qi::DynamicObjectBuilder
 

Namespaces

 qi
 

Macros

#define _QI_TYPE_DYNAMICOBJECTBUILDER_HPP_
 
#define genCall(n, ATYPEDECL, ATYPES, ADECL, AUSE, comma)
 

Macro Definition Documentation

#define _QI_TYPE_DYNAMICOBJECTBUILDER_HPP_

Definition at line 8 of file dynamicobjectbuilder.hpp.

#define genCall (   n,
  ATYPEDECL,
  ATYPES,
  ADECL,
  AUSE,
  comma 
)
Value:
template<typename T comma ATYPEDECL> \
inline unsigned int advertiseFactory(const std::string& name) \
{ \
return advertiseMethod(name, &constructObject<T comma ATYPES>); \
}

create a T, wrap in a AnyObject All template parameters are given to the T constructor except the first one

Definition at line 57 of file dynamicobjectbuilder.hpp.