Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Resource Class ReferenceProvides a generic interface for resources which need to keep track of when they are in use, such as mutex locks. More...
Inheritance diagram for Resource:
Detailed DescriptionProvides a generic interface for resources which need to keep track of when they are in use, such as mutex locks. Definition at line 6 of file Resource.h.
Constructor & Destructor Documentation
destructor (does nothing -- up to subclass if they need to release resource) Definition at line 16 of file Resource.h. Member Function Documentation
releases the resource Implemented in MutexLock< num_doors >, Thread::Lock, MotionPtr< T >, EmptyResource, MutexLock< ProcessID::NumProcesses >, MutexLock< MAX_ACCESS >, MotionPtr< PIDMC >, and MotionPtr< HeadPointerMC >. Referenced by InverseMarkScope::InverseMarkScope(), MarkScope::reset(), InverseMarkScope::reset(), Socket::write(), and MarkScope::~MarkScope().
marks the resource as in use Implemented in MutexLock< num_doors >, Thread::Lock, MotionPtr< T >, EmptyResource, MutexLock< ProcessID::NumProcesses >, MutexLock< MAX_ACCESS >, MotionPtr< PIDMC >, and MotionPtr< HeadPointerMC >. Referenced by Socket::getWriteBuffer(), MarkScope::MarkScope(), MarkScope::reset(), InverseMarkScope::reset(), and InverseMarkScope::~InverseMarkScope(). Member Data Documentation
to use as the data reference when none is needed/specified Definition at line 13 of file Resource.h. Referenced by Socket::getWriteBuffer(), Thread::Lock::lock(), Thread::Lock::unlock(), and Socket::write(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:15 2016 by Doxygen 1.6.3 |