reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofParameter< void > Class Reference

#include <ofParameter.h>

Inheritance diagram for ofParameter< void >:
ofAbstractParameter

Public Member Functions

 ofParameter ()
 
 ofParameter (const std::string &name)
 
ofParameter< void > & set (const std::string &name)
 
void setName (const std::string &name)
 
std::string getName () const
 
std::string toString () const
 
void fromString (const std::string &name)
 
template<class ListenerClass , typename ListenerMethod >
void addListener (ListenerClass *listener, ListenerMethod method, int prio=OF_EVENT_ORDER_AFTER_APP)
 
template<class ListenerClass , typename ListenerMethod >
void removeListener (ListenerClass *listener, ListenerMethod method, int prio=OF_EVENT_ORDER_AFTER_APP)
 
template<typename... Args>
std::unique_ptr< of::priv::AbstractEventToken > newListener (Args...args)
 
void trigger ()
 
void trigger (const void *sender)
 
void enableEvents ()
 
void disableEvents ()
 
bool isSerializable () const
 
bool isReadOnly () const
 
std::string valueType () const
 
void makeReferenceTo (ofParameter< void > &mom)
 
void setSerializable (bool serializable)
 
std::shared_ptr< ofAbstractParameternewReference () const
 
void setParent (ofParameterGroup &_parent)
 
const ofParameterGroup getFirstParent () const
 
size_t getNumListeners () const
 
const void * getInternalObject () const
 
- Public Member Functions inherited from ofAbstractParameter
virtual ~ofAbstractParameter ()
 
virtual std::string type () const
 
virtual std::string getEscapedName () const
 
std::vector< std::string > getGroupHierarchyNames () const
 
template<typename ParameterType >
ofParameter< ParameterType > & cast ()
 
template<typename ParameterType >
const ofParameter< ParameterType > & cast () const
 
template<typename ParameterType , typename Friend >
ofReadOnlyParameter< ParameterType, Friend > & castReadOnly ()
 
template<typename ParameterType , typename Friend >
const ofReadOnlyParameter< ParameterType, Friend > & castReadOnly () const
 
ofParameterGroupcastGroup ()
 
const ofParameterGroupcastGroup () const
 
virtual bool isReferenceTo (const ofAbstractParameter &other) const
 

Additional Inherited Members

- Protected Member Functions inherited from ofAbstractParameter
virtual std::string escape (const std::string &str) const
 

Constructor & Destructor Documentation

◆ ofParameter() [1/2]

◆ ofParameter() [2/2]

ofParameter< void >::ofParameter ( const std::string &  name)

Member Function Documentation

◆ addListener()

template<class ListenerClass , typename ListenerMethod >
void ofParameter< void >::addListener ( ListenerClass *  listener,
ListenerMethod  method,
int  prio = OF_EVENT_ORDER_AFTER_APP 
)
inline

◆ disableEvents()

void ofParameter< void >::disableEvents ( )

◆ enableEvents()

void ofParameter< void >::enableEvents ( )

◆ fromString()

void ofParameter< void >::fromString ( const std::string &  name)
virtual

Implements ofAbstractParameter.

◆ getFirstParent()

const ofParameterGroup ofParameter< void >::getFirstParent ( ) const
inlinevirtual

Implements ofAbstractParameter.

◆ getInternalObject()

const void * ofParameter< void >::getInternalObject ( ) const
inlinevirtual

Implements ofAbstractParameter.

◆ getName()

string ofParameter< void >::getName ( ) const
virtual

Implements ofAbstractParameter.

◆ getNumListeners()

size_t ofParameter< void >::getNumListeners ( ) const

◆ isReadOnly()

bool ofParameter< void >::isReadOnly ( ) const
virtual

Implements ofAbstractParameter.

◆ isSerializable()

bool ofParameter< void >::isSerializable ( ) const
virtual

Implements ofAbstractParameter.

◆ makeReferenceTo()

void ofParameter< void >::makeReferenceTo ( ofParameter< void > &  mom)

◆ newListener()

template<typename... Args>
std::unique_ptr< of::priv::AbstractEventToken > ofParameter< void >::newListener ( Args...  args)
inline

◆ newReference()

std::shared_ptr< ofAbstractParameter > ofParameter< void >::newReference ( ) const
virtual

Implements ofAbstractParameter.

◆ removeListener()

template<class ListenerClass , typename ListenerMethod >
void ofParameter< void >::removeListener ( ListenerClass *  listener,
ListenerMethod  method,
int  prio = OF_EVENT_ORDER_AFTER_APP 
)
inline

◆ set()

ofParameter< void > & ofParameter< void >::set ( const std::string &  name)

◆ setName()

void ofParameter< void >::setName ( const std::string &  name)
virtual

Implements ofAbstractParameter.

◆ setParent()

void ofParameter< void >::setParent ( ofParameterGroup _parent)
virtual

Implements ofAbstractParameter.

◆ setSerializable()

void ofParameter< void >::setSerializable ( bool  serializable)
virtual

Implements ofAbstractParameter.

◆ toString()

std::string ofParameter< void >::toString ( ) const
virtual

Implements ofAbstractParameter.

◆ trigger() [1/2]

void ofParameter< void >::trigger ( )

◆ trigger() [2/2]

void ofParameter< void >::trigger ( const void *  sender)

◆ valueType()

string ofParameter< void >::valueType ( ) const
virtual

Implements ofAbstractParameter.


The documentation for this class was generated from the following files:
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/types/ofParameter.h
  • /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/types/ofParameter.cpp