14 #ifndef FACTORYPARAMS_H 15 #define FACTORYPARAMS_H 48 int get_num_params()
const;
53 INLINE
void *get_user_data()
const;
59 void *_user_data =
nullptr;
64 template<
class ParamType>
bool get_param_into(ParamType *&pointer, const FactoryParams ¶ms)
A handy convenience template function that extracts a parameter of the indicated type from the Factor...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The base class of any number of specific pieces of parameter information that might be passed to a Fa...
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is our own Panda specialization on the default STL vector.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A Factory can be used to create an instance of a particular subclass of some general base class.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.