Classes | |
class | TC::MT::Condition |
Condition variable. More... | |
class | TC::MT::Event |
An object of class Event represents a synchronization object that allows one thread to notify another that an event has occurred. More... | |
class | TC::MT::LockerRef< T > |
Automatic locking class for references Class for automatic locking of a critical objects (like TC::MT::Mutex,TC::MT::ClassLevelLockable, TC::MT::ObjectLevelLockable. More... | |
class | TC::MT::LockerPtr< T > |
Locking object for Pointers. More... | |
class | TC::MT::ObjectLevelLockable< CLASS_TO_LOCK > |
This template offers the basic mechanism for an object level locking mechanism. More... | |
class | TC::MT::ClassLevelLockable< CLASS_TO_LOCK > |
This template offers the basic mechanism for an class level locking mechanism. More... | |
class | TC::MT::Message |
Base class of a message which can be send from one thread to another thread. More... | |
class | TC::MT::MessageDispatcher |
ObjectClass dispatches incomming messages to registered callback functions. More... | |
class | TC::MT::ClassMethodeCallBack< MessageClass, ObjectClass > |
class | TC::MT::Mutex |
Class for protecting variables or something else which is used in more than one thread. More... | |
class | TC::MT::Semaphore |
counted semaphore More... | |
class | TC::MT::SemaphoreLocker |
Locking object for Semaphore objects. More... | |
class | TC::MT::Thread |
Interface defining thread which then can start an ThreadObject. More... | |
class | TC::MT::ThreadObject |
Base class of object which are executed by a TCMT::Thread When the thread gets started it executes the methode ThreadObject::Run. More... | |
Namespaces | |
namespace | TC::MT::Factory |
Factory for creating TC::MT objects. | |
Files | |
file | TCMTApi.h |
This file provides the definition of TCMT_API. | |
file | TCMTCondition.h |
This file provides the definition of TC::MT::Condition. | |
file | TCMTEvent.h |
This file provides the definition of TC::MT::Event. | |
file | TCMTFactory.h |
This file provides the definition of TC::MT::Factory. | |
file | TCMTLock.h |
This file provides the definition of TC::MT::LockerRef and TC::MT::LockerPtr. | |
file | TCMTLockable.h |
This file provides the definition of TC::MT::ObjectLevelLockable and TC::MT::ClassLevelLockable. | |
file | TCMTMessage.h |
This file provides the definition of TC::MT::Message. | |
file | TCMTMessageDispatcher.h |
This file provides the definition of TC::MT::MessageDispatcher. | |
file | TCMTMutex.h |
This file provides the definition of TC::MT::Mutex. | |
file | TCMTSemaphore.h |
This file provides the definition of TC::MT::Semaphore. | |
file | TCMTThread.h |
This file provides the definition of TC::MT::Thread. | |
file | TCMTThreadObject.h |
This file provides the definition of TC::MT::ThreadObject. | |
Defines | |
#define | TCMT_API TC_IMPORT_DLL |
define for exporting or importing classes and functions from the TC::MT dll | |
Typedefs | |
typedef SharedPtr< Condition > | TC::MT::ConditionPtr |
Smart pointer to a condition object. | |
typedef SharedPtr< Event > | TC::MT::EventPtr |
Smart pointer to an event object. | |
typedef SharedPtr< Message > | TC::MT::MessagePtr |
Smart pointer to a message. | |
typedef SharedPtr < MessageDispatcher > | TC::MT::MessageDispatcherPtr |
typedef SharedPtr< Mutex > | TC::MT::MutexPtr |
Smart pointer to a mutex object. | |
typedef LockerPtr< MutexPtr > | TC::MT::MutexLocker |
Provides a typedef for locking this object. | |
typedef SharedPtr< Semaphore > | TC::MT::SemaphorePtr |
Smart pointer to an semaphore object. | |
typedef SharedPtr< Thread > | TC::MT::ThreadPtr |
Smart pointer to a thread. | |
typedef SharedPtr< ThreadObject > | TC::MT::ThreadObjectPtr |
Smart pointer to a thread object. | |
Functions | |
template<class MessageClass , class ObjectClass , typename CallBackMethod > | |
void | TC::MT::MessageDispatcher::RegisterMessageCallback (uint32 id, SharedPtr< ObjectClass > class_instance, CallBackMethod call_back) |
Variables | |
static MutexPtr | TC::MT::ClassLevelLockable::m_mutex = Factory::CreateMutex() |
#define TCMT_API TC_IMPORT_DLL |
typedef SharedPtr< Condition > TC::MT::ConditionPtr |
typedef SharedPtr< Event > TC::MT::EventPtr |
typedef SharedPtr< Message > TC::MT::MessagePtr |
typedef SharedPtr<MessageDispatcher> TC::MT::MessageDispatcherPtr |
Definition at line 82 of file TCMTMessageDispatcher.h.
typedef SharedPtr< Mutex > TC::MT::MutexPtr |
typedef LockerPtr< MutexPtr > TC::MT::MutexLocker |
typedef SharedPtr< Semaphore > TC::MT::SemaphorePtr |
typedef SharedPtr< Thread > TC::MT::ThreadPtr |
typedef SharedPtr< ThreadObject > TC::MT::ThreadObjectPtr |
void TC::MT::MessageDispatcher::RegisterMessageCallback | ( | uint32 | id, | |
SharedPtr< ObjectClass > | class_instance, | |||
CallBackMethod | call_back | |||
) | [inline, inherited] |
Definition at line 108 of file TCMTMessageDispatcher.h.
References TC::MT::MessageDispatcher::RegisterMessageCallback().
MutexPtr TC::MT::ClassLevelLockable< CLASS_TO_LOCK >::m_mutex = Factory::CreateMutex() [inline, static, private, inherited] |