HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PDG_SchedulerType Class Reference

#include <PDG_SchedulerType.h>

+ Inheritance diagram for PDG_SchedulerType:

Public Member Functions

 PDG_SchedulerType (const UT_StringHolder &type_name, const UT_StringHolder &type_label, const UT_StringHolder &parm_category, const UT_StringHolder &node_category, PDG_BaseType::Language language)
 
 PDG_SchedulerType (const UT_StringHolder &type_name, const UT_StringHolder &type_label, const UT_StringHolder &parm_category, const UT_StringHolder &node_category, PDG_BaseType::Language language, const PDG_NodeInterface &interface)
 
 PDG_SchedulerType (const UT_StringHolder &type_name, const UT_StringHolder &type_label, const UT_StringHolder &parm_category, const UT_StringHolder &node_category, PDG_BaseType::Language language, const UT_StringHolder &template_name, const UT_StringHolder &template_path, const UT_StringHolder &template_body)
 
const PDG_NodeInterfacenodeInterface () const
 
PDG_NodeInterfacenodeInterface ()
 
virtual bool hasServiceSupport (UT_WorkBuffer &errors) const
 
const UT_StringHolderparmCategory () const
 
const UT_StringHoldernodeCategory () const
 
bool initialize (UT_WorkBuffer &errors) override
 
- Public Member Functions inherited from PDGT_RegisteredType< Class, Pointer, EnumType, Type, Args >
 PDGT_RegisteredType (const UT_StringHolder &name, const UT_StringHolder &label, typename PDGT_BaseType< EnumType >::Language lang, bool track_instances)
 
 ~PDGT_RegisteredType () override
 
Pointer instance (UT_WorkBuffer &errors, const PDGT_ValueArgs &extra_args, Args...args) const
 
bool reloadInstance (UT_WorkBuffer &errors, const PDGT_ValueArgs &extra_args, Class *instance, Args...args) const
 
bool reloadType (UT_WorkBuffer &errors)
 
int64 instanceMemoryUsage () const override
 Returns the combined memory usage of all instances of this type. More...
 
void setFunction (const Function &function)
 Sets the factory function to use when contructing Class instances. More...
 
void setIsPrivate (bool is_private)
 Sets the isPrivate flag. More...
 
bool isPrivate () const
 Returns true if the type is private. More...
 
- Public Member Functions inherited from PDGT_BaseType< EnumType >
 PDGT_BaseType (const UT_StringHolder &type_name, const UT_StringHolder &type_label, Language lang, EnumType reg_type)
 
virtual ~PDGT_BaseType ()
 
const UT_StringHoldertypeName () const
 
void setTypeName (const UT_StringHolder &name)
 
const UT_StringHoldertypeLabel () const
 
void setTypeLabel (const UT_StringHolder &label)
 
Language language () const
 
EnumType type () const
 
int instanceCount () const
 
void instanceCreated () const
 
void instanceDestroyed () const
 
bool compareType (const PDGT_BaseType *type, bool deep=true) const
 
void addParent (const PDGT_BaseType *type, bool recurse=true)
 
virtual UT_StringHolder displayName () const
 

Additional Inherited Members

- Public Types inherited from PDGT_RegisteredType< Class, Pointer, EnumType, Type, Args >
using Function = UT_Function< Pointer(const PDGT_BaseType< EnumType > *, UT_WorkBuffer &, const PDGT_ValueArgs &extra_args, Args...)>
 
using Instances = UT_ConcurrentVector< UT_WeakPtr< Class >>
 
- Public Types inherited from PDGT_BaseType< EnumType >
enum  Language { ePython, eCpp }
 
using TypeSet = UT_Set< const PDGT_BaseType * >
 
- Static Public Member Functions inherited from PDGT_RegisteredType< Class, Pointer, EnumType, Type, Args >
template<typename ConcreteType >
static Pointer typeInit (const PDGT_BaseType< EnumType > *type, UT_WorkBuffer &errors, const PDGT_ValueArgs &extra_args, Args...args)
 
- Static Public Attributes inherited from PDGT_RegisteredType< Class, Pointer, EnumType, Type, Args >
static constexpr EnumType Enum = Type
 
- Protected Member Functions inherited from PDGT_RegisteredType< Class, Pointer, EnumType, Type, Args >
template<typename P = Pointer>
std::enable_if< std::is_same
< P, UT_SharedPtr< Class >
>::value >::type 
addInstance (P instance) const
 
template<typename P = Pointer>
std::enable_if<!std::is_same
< P, UT_SharedPtr< Class >
>::value >::type 
addInstance (P instance) const
 
UT_SharedPtr< Class > lockInstance (UT_WeakPtr< Class > instance) const
 
virtual Pointer instantiate (UT_WorkBuffer &errors, const PDGT_ValueArgs &extra_args, Args...variadic_args) const
 
virtual bool reload (UT_WorkBuffer &errors)
 
virtual bool reload (UT_WorkBuffer &errors, const PDGT_ValueArgs &extra_args, Class *instance, Args...variadic_args) const
 
- Protected Attributes inherited from PDGT_BaseType< EnumType >
TypeSet myParentTypes
 
UT_StringHolder myTypeName
 
UT_StringHolder myTypeLabel
 
Language myLanguage
 
SYS_AtomicInt32 myInstanceCount
 
EnumType myType
 

Detailed Description

Definition at line 21 of file PDG_SchedulerType.h.

Constructor & Destructor Documentation

PDG_SchedulerType::PDG_SchedulerType ( const UT_StringHolder type_name,
const UT_StringHolder type_label,
const UT_StringHolder parm_category,
const UT_StringHolder node_category,
PDG_BaseType::Language  language 
)
inline

Definition at line 28 of file PDG_SchedulerType.h.

PDG_SchedulerType::PDG_SchedulerType ( const UT_StringHolder type_name,
const UT_StringHolder type_label,
const UT_StringHolder parm_category,
const UT_StringHolder node_category,
PDG_BaseType::Language  language,
const PDG_NodeInterface interface 
)
inline

Definition at line 42 of file PDG_SchedulerType.h.

PDG_SchedulerType::PDG_SchedulerType ( const UT_StringHolder type_name,
const UT_StringHolder type_label,
const UT_StringHolder parm_category,
const UT_StringHolder node_category,
PDG_BaseType::Language  language,
const UT_StringHolder template_name,
const UT_StringHolder template_path,
const UT_StringHolder template_body 
)
inline

Definition at line 58 of file PDG_SchedulerType.h.

Member Function Documentation

virtual bool PDG_SchedulerType::hasServiceSupport ( UT_WorkBuffer errors) const
inlinevirtual

Definition at line 80 of file PDG_SchedulerType.h.

bool PDG_SchedulerType::initialize ( UT_WorkBuffer errors)
inlineoverridevirtual

Implements PDGT_BaseType< EnumType >.

Definition at line 88 of file PDG_SchedulerType.h.

const UT_StringHolder& PDG_SchedulerType::nodeCategory ( ) const
inline

Definition at line 85 of file PDG_SchedulerType.h.

const PDG_NodeInterface& PDG_SchedulerType::nodeInterface ( ) const
inline

Definition at line 75 of file PDG_SchedulerType.h.

PDG_NodeInterface& PDG_SchedulerType::nodeInterface ( )
inline

Definition at line 77 of file PDG_SchedulerType.h.

const UT_StringHolder& PDG_SchedulerType::parmCategory ( ) const
inline

Definition at line 83 of file PDG_SchedulerType.h.


The documentation for this class was generated from the following file: