|
TrueReality
v0.1.1912
|
#include <Invokable.h>


Public Types | |
| using | InvokableFunc = trUtil::Functor< void, TYPELIST_1(const Message_T &)> |
Public Types inherited from trBase::SmrtClass | |
| using | BaseClass = osg::Referenced |
Public Member Functions | |
| InvokableFunctorCaller (InvokableFunc func) | |
| virtual void | Call (const trManager::MessageBase &message) |
Public Member Functions inherited from trManager::InvokableFunctorCallerBase | |
| virtual const std::string & | GetType () const override |
| Holds the class type name for efficient comparisons. More... | |
Public Member Functions inherited from trBase::SmrtClass | |
| SmrtClass () | |
| Adds an easy and swappable access to the base class. More... | |
| SmrtClass (bool threadSafeRefUnref) | |
| Constructor. More... | |
| SmrtClass (const SmrtClass &inst) | |
| Copy constructor. More... | |
| virtual bool | GetThreadSafeRefUnref () |
| Get whether a mutex is used to ensure Ref() and UnRef() are thread safe. More... | |
| OpenThreads::Mutex * | GetRefMutex () const |
| Get the mutex used to ensure thread safety of Ref()/UnRef(). More... | |
| int | Ref () const |
| Increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| int | Unref () const |
| Decrement the reference count by one, indicating that a pointer to this object is no longer referencing it. More... | |
| int | UnRefNoDelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is no longer referencing it. More... | |
| int | ReferenceCount () const |
| Return the number of pointers currently referencing this object. More... | |
Private Attributes | |
| InvokableFunc | mFunctor |
Additional Inherited Members | |
Static Public Member Functions inherited from trBase::SmrtClass | |
| static OpenThreads::Mutex * | GetGlobalReferencedMutex () |
| Get the optional global Referenced mutex, this can be shared between all trBase::SmrtClass. More... | |
Static Public Attributes inherited from trManager::InvokableFunctorCallerBase | |
| static const trUtil::RefStr | CLASS_TYPE = trUtil::RefStr("trManager::InvokableFunctorCallerBase") |
Protected Member Functions inherited from trBase::SmrtClass | |
| ~SmrtClass () | |
Definition at line 55 of file Invokable.h.
| using trManager::InvokableFunctorCaller< Message_T >::InvokableFunc = trUtil::Functor<void, TYPELIST_1(const Message_T&)> |
Definition at line 58 of file Invokable.h.
|
inline |
Definition at line 60 of file Invokable.h.
|
inlinevirtual |
Implements trManager::InvokableFunctorCallerBase.
Definition at line 65 of file Invokable.h.
|
private |
Definition at line 70 of file Invokable.h.