JUCE  v5.1.1-3-g1a0b28c73
JUCE API
ObjCClass< SuperclassType > Struct Template Reference

#include <juce_osx_ObjCHelpers.h>

Inheritance diagram for ObjCClass< SuperclassType >:
Collaboration diagram for ObjCClass< SuperclassType >:

Public Member Functions

 ObjCClass (const char *nameRoot)
 
 ~ObjCClass ()
 
template<typename Type >
void addIvar (const char *name)
 
template<typename FunctionType >
void addMethod (SEL selector, FunctionType callbackFn, const char *signature)
 
template<typename FunctionType >
void addMethod (SEL selector, FunctionType callbackFn, const char *sig1, const char *sig2)
 
template<typename FunctionType >
void addMethod (SEL selector, FunctionType callbackFn, const char *sig1, const char *sig2, const char *sig3)
 
template<typename FunctionType >
void addMethod (SEL selector, FunctionType callbackFn, const char *sig1, const char *sig2, const char *sig3, const char *sig4)
 
void addProtocol (Protocol *protocol)
 
SuperclassType * createInstance () const
 
void registerClass ()
 

Static Public Member Functions

template<typename Type >
static Type getIvar (id self, const char *name)
 
static id sendSuperclassMessage (id self, SEL selector)
 

Public Attributes

Class cls
 

Static Private Member Functions

static String getRandomisedName (const char *root)
 

Constructor & Destructor Documentation

◆ ObjCClass()

template<typename SuperclassType>
ObjCClass< SuperclassType >::ObjCClass ( const char *  nameRoot)
inline

◆ ~ObjCClass()

template<typename SuperclassType>
ObjCClass< SuperclassType >::~ObjCClass ( )
inline

Member Function Documentation

◆ addIvar()

template<typename SuperclassType>
template<typename Type >
void ObjCClass< SuperclassType >::addIvar ( const char *  name)
inline

◆ addMethod() [1/4]

template<typename SuperclassType>
template<typename FunctionType >
void ObjCClass< SuperclassType >::addMethod ( SEL  selector,
FunctionType  callbackFn,
const char *  signature 
)
inline

◆ addMethod() [2/4]

template<typename SuperclassType>
template<typename FunctionType >
void ObjCClass< SuperclassType >::addMethod ( SEL  selector,
FunctionType  callbackFn,
const char *  sig1,
const char *  sig2 
)
inline

◆ addMethod() [3/4]

template<typename SuperclassType>
template<typename FunctionType >
void ObjCClass< SuperclassType >::addMethod ( SEL  selector,
FunctionType  callbackFn,
const char *  sig1,
const char *  sig2,
const char *  sig3 
)
inline

◆ addMethod() [4/4]

template<typename SuperclassType>
template<typename FunctionType >
void ObjCClass< SuperclassType >::addMethod ( SEL  selector,
FunctionType  callbackFn,
const char *  sig1,
const char *  sig2,
const char *  sig3,
const char *  sig4 
)
inline

◆ addProtocol()

template<typename SuperclassType>
void ObjCClass< SuperclassType >::addProtocol ( Protocol *  protocol)
inline

◆ createInstance()

template<typename SuperclassType>
SuperclassType* ObjCClass< SuperclassType >::createInstance ( ) const
inline

◆ getIvar()

template<typename SuperclassType>
template<typename Type >
static Type ObjCClass< SuperclassType >::getIvar ( id  self,
const char *  name 
)
inlinestatic

◆ getRandomisedName()

template<typename SuperclassType>
static String ObjCClass< SuperclassType >::getRandomisedName ( const char *  root)
inlinestaticprivate

◆ registerClass()

template<typename SuperclassType>
void ObjCClass< SuperclassType >::registerClass ( )
inline

◆ sendSuperclassMessage()

template<typename SuperclassType>
static id ObjCClass< SuperclassType >::sendSuperclassMessage ( id  self,
SEL  selector 
)
inlinestatic

Member Data Documentation

◆ cls

template<typename SuperclassType>
Class ObjCClass< SuperclassType >::cls

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