Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef java_lang_ThreadGroup_H
#define java_lang_ThreadGroup_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
class Throwable;
class ThreadGroup;
class Thread$UncaughtExceptionHandler;
class Thread;
}
}
template<class T> class JArray;
namespace java {
namespace lang {
class ThreadGroup : public ::java::lang::Object {
public:
enum {
mid_init$_d1402cb7ea6d4983,
mid_init$_a96d273f4c27b875,
mid_activeCount_9135e6328d9d7dfd,
mid_activeGroupCount_9135e6328d9d7dfd,
mid_allowThreadSuspension_5e70f941af383ecd,
mid_checkAccess_d7775b228e076e62,
mid_destroy_d7775b228e076e62,
mid_enumerate_68a6c1cb010b37d5,
mid_enumerate_6ce40919d83ff795,
mid_enumerate_ae4ac8663aea6897,
mid_enumerate_76e44753c28c06f4,
mid_getMaxPriority_9135e6328d9d7dfd,
mid_getName_a6d454b6117bc1ba,
mid_getParent_32cf00a3454c87d5,
mid_interrupt_d7775b228e076e62,
mid_isDaemon_c20c2fcd6b89d9a9,
mid_isDestroyed_c20c2fcd6b89d9a9,
mid_list_d7775b228e076e62,
mid_parentOf_b9e4475becf37083,
mid_resume_d7775b228e076e62,
mid_setDaemon_8a3e0c1a306942cb,
mid_setMaxPriority_54889bef30791899,
mid_stop_d7775b228e076e62,
mid_suspend_d7775b228e076e62,
mid_toString_a6d454b6117bc1ba,
mid_uncaughtException_28a7948e40dd188f,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ThreadGroup(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ThreadGroup(const ThreadGroup& obj) : ::java::lang::Object(obj) {}
ThreadGroup(const ::java::lang::String &);
ThreadGroup(const ThreadGroup &, const ::java::lang::String &);
jint activeCount() const;
jint activeGroupCount() const;
jboolean allowThreadSuspension(jboolean) const;
void checkAccess() const;
void destroy() const;
jint enumerate(const JArray< ThreadGroup > &) const;
jint enumerate(const JArray< ::java::lang::Thread > &) const;
jint enumerate(const JArray< ThreadGroup > &, jboolean) const;
jint enumerate(const JArray< ::java::lang::Thread > &, jboolean) const;
jint getMaxPriority() const;
::java::lang::String getName() const;
ThreadGroup getParent() const;
void interrupt() const;
jboolean isDaemon() const;
jboolean isDestroyed() const;
void list() const;
jboolean parentOf(const ThreadGroup &) const;
void resume() const;
void setDaemon(jboolean) const;
void setMaxPriority(jint) const;
void stop() const;
void suspend() const;
::java::lang::String toString() const;
void uncaughtException(const ::java::lang::Thread &, const ::java::lang::Throwable &) const;
};
}
}
#include <Python.h>
namespace java {
namespace lang {
extern PyType_Def PY_TYPE_DEF(ThreadGroup);
extern PyTypeObject *PY_TYPE(ThreadGroup);
class t_ThreadGroup {
public:
PyObject_HEAD
ThreadGroup object;
static PyObject *wrap_Object(const ThreadGroup&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
#endif