48 #ifndef _MIRA_VACANTCLASS_H_ 49 #define _MIRA_VACANTCLASS_H_ 70 template <
typename Derived>
82 virtual int getTypeId()
const;
87 virtual Typename getTypename()
const;
94 virtual Object* newInstance()
const;
101 virtual Object* newInstance(
int paramCount, ... )
const;
108 virtual Object* newInstance( std::string
const& childIdentifier )
const;
115 virtual Object* newInstance( std::string
const& childIdentifier,
116 int paramCount, ... )
const;
134 template<
typename Reflector>
137 template<
typename Reflector>
148 virtual Object* newVAInstance(
int paramCount, std::va_list )
const;
153 VacantClass( std::string
const& identifier,
154 std::string
const& name,
155 std::map<std::string, std::string>
const& metaInfo,
157 std::string
const& libraryPath,
158 bool libLoaded =
false ) :
159 Class( identifier, name, metaInfo, libLoaded ),
160 mLoadInitiated(false), mIsAbstract(isAbstract)
170 mutable bool mLoadInitiated;
174 static SharedLibraryLoader& getLibraryLoader();
178 template<
typename Reflector>
182 r.member(
"Abstract", mIsAbstract,
"" );
MIRA_SPLIT_REFLECT_MEMBER void reflectWrite(Reflector &r)
Implementation of class member reflection.
$Definition of the Class which supports some kind of class reflection and acts like a class factory$...
void reflectWrite(Reflector &r, Buffer< T, Allocator > &c)
Specialization of the non-intrusive reflect for Buffer.
Definition: Buffer.h:581
void reflectWrite(Reflector &r)
Implementation of class member reflection.
Definition: Class.h:762
What should i say, the class factory.
Definition: Factory.h:88
Classes for loading shared libraries.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
std::string Typename
Definition: Typename.h:60
#define MIRA_SPLIT_REFLECT_MEMBER
Macro that insert a class member reflect() method just splitting reflection into a reflectRead() and ...
Definition: SplitReflect.h:209
Class object which supports some kind of class reflection.
Definition: Class.h:97
MIRA_SPLIT_REFLECT_MEMBER void reflectRead(Reflector &r)
Implementation of class member reflection.
The object class acts as a generic base class for classes which should be used with the classFactory...
Definition: Object.h:144
Class for managing manifest files.
Definition: ManifestAgent.h:96
The VacantClass object is the implementation of the Class class for classes which are NOT available s...
Definition: VacantClass.h:68
virtual bool isAbstract() const
Return true if the associated class is abstract.
Definition: VacantClass.h:122
void reflectRead(Reflector &r)
Definition: VacantClass.h:138
Is a special reflector that is used for deserialization.
Definition: Deserializer.h:99