|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include <rc_ptrs.h>
Public Types | |
| typedef X | element_type |
| typedef X * | pointer_type |
| typedef size_t | size_type |
Public Member Functions | |
| counted_ptr (X *p=0) | |
| counted_ptr (const counted_ptr< X > &r) | |
| ~counted_ptr () | |
| counted_ptr & | operator= (const counted_ptr< X > &r) |
| X & | operator* () const |
| X * | get () const |
| X * | operator-> () const |
| bool | unique () const |
| void | PrintCounts () |
Protected Member Functions | |
| void | acquire () |
| void | release () |
Protected Attributes | |
| X * | ptr |
| size_type * | count |
| typedef X counted_ptr< X >::element_type |
| typedef X* counted_ptr< X >::pointer_type |
| typedef size_t counted_ptr< X >::size_type |
|
inlineexplicit |
Definition at line 76 of file rc_ptrs.h.
References counted_ptr< X >::count.
|
inline |
Definition at line 83 of file rc_ptrs.h.
References counted_ptr< X >::acquire(), counted_ptr< X >::count, and counted_ptr< X >::ptr.
|
inline |
Definition at line 92 of file rc_ptrs.h.
References counted_ptr< X >::release().
|
inlineprotected |
Definition at line 129 of file rc_ptrs.h.
Referenced by counted_ptr< X >::counted_ptr(), and counted_ptr< X >::operator=().
|
inline |
Definition at line 110 of file rc_ptrs.h.
References counted_ptr< X >::ptr.
Referenced by PEBLList::Append(), Evaluator::CallFunction(), PEBLList::CrossFactorWithoutDuplicates(), PEBLList::DesignFullCounterbalance(), PlatformTextBox::Draw(), PlatformWindow::Draw(), PEBLObjects::Draw(), PEBLObjects::DrawFor(), PEBLStream::EndOfFile(), PEBLStream::EndOfLine(), Variant::Equal(), Evaluator::Evaluate(), Evaluator::Evaluate1(), PEBLList::Fifth(), PEBLStream::FileClose(), PEBLStream::FilePrint(), PEBLStream::FilePrint_(), PEBLStream::FileReadCharacter(), PEBLStream::FileReadLine(), PEBLStream::FileReadWord(), PEBLList::First(), PEBLList::Fourth(), PEBLObjects::GetAudioStats(), PFont::GetBackgroundColorPtr(), PDrawObject::GetColor(), PEBLObjects::GetCursorPosition(), PEBLObjects::GetEyeObject(), PlatformTextBox::GetFont(), PFont::GetFontColorPtr(), PEBLEnvironment::GetInput0(), PEBLEnvironment::GetJoystickAxisState(), PEBLEnvironment::GetJoystickBallState(), PEBLEnvironment::GetJoystickButtonState(), PEBLEnvironment::GetJoystickHatState(), PEBLObjects::GetLineBreaks(), PComplexData::GetList(), PEBLEnvironment::GetNumJoystickAxes(), PEBLEnvironment::GetNumJoystickBalls(), PEBLEnvironment::GetNumJoystickButtons(), PEBLEnvironment::GetNumJoystickHats(), PDrawObject::GetOutlineColor(), PEBLObjects::GetParent(), PEBLObjects::GetPixelColor(), PEBLObjects::GetPropertyList(), PEBLObjects::GetSize(), PEBLObjects::GetText(), PEBLEnvironment::GetTextBoxCursorFromClick(), PComplexData::GetType(), PEBLObjects::GetVocalResponseTime(), PEBLObjects::Hide(), PEBLList::IsMember(), PEBLList::Last(), PEBLList::Length(), PEBLList::ListToString(), PEBLObjects::LoadMovie(), PEBLObjects::MakeFont(), PEBLObjects::MakeWindow(), PEBLList::Merge(), PEBLList::ModList(), PEBLObjects::Move(), PEBLList::Nth(), PEBLObjects::PausePlayback(), PEBLObjects::PlayBackground(), PEBLObjects::PlayForeground(), PEBLEnvironment::PlayMovie(), PEBLObjects::PrintProperties(), PEBLList::PushOnEnd(), PEBLObjects::RecordToBuffer(), PEBLEnvironment::RegisterEvent(), PEBLObjects::RemoveObject(), PEBLList::RepeatList(), PEBLObjects::ResizeWindow(), PEBLObjects::RotoZoom(), PEBLObjects::SaveAudioToWaveFile(), PEBLList::Second(), PCanvas::SetColor(), PEBLObjects::SetCursorPosition(), PEBLObjects::SetEditable(), PEBLObjects::SetEyeTrackerHandler(), PEBLObjects::SetFont(), PEBLObjects::SetPanning(), PEBLObjects::SetPlayRepeats(), PEBLObjects::SetPoint(), PFont::SetProperty(), PEBLObjects::SetText(), PEBLObjects::Show(), PEBLList::Shuffle(), PEBLList::Sort(), PEBLList::SortBy(), PEBLObjects::StartPlayback(), PEBLObjects::Stop(), PEBLObjects::StopAudioMonitor(), PEBLList::SubList(), PEBLList::Third(), PEBLList::Transpose(), and PEBLStream::WritePNG().
|
inline |
|
inline |
|
inline |
Definition at line 97 of file rc_ptrs.h.
References counted_ptr< X >::acquire(), counted_ptr< X >::count, counted_ptr< X >::ptr, and counted_ptr< X >::release().
|
inline |
|
inlineprotected |
Definition at line 137 of file rc_ptrs.h.
References counted_ptr< X >::count, NULL, and counted_ptr< X >::ptr.
Referenced by counted_ptr< X >::operator=(), and counted_ptr< X >::~counted_ptr().
|
inline |
Definition at line 113 of file rc_ptrs.h.
References counted_ptr< X >::count.
|
protected |
Definition at line 125 of file rc_ptrs.h.
Referenced by counted_ptr< X >::counted_ptr(), counted_ptr< X >::counted_ptr(), counted_ptr< X >::operator=(), counted_ptr< X >::release(), and counted_ptr< X >::unique().
|
protected |
Definition at line 124 of file rc_ptrs.h.
Referenced by counted_ptr< X >::counted_ptr(), counted_ptr< X >::get(), counted_ptr< X >::operator*(), counted_ptr< X >::operator->(), counted_ptr< X >::operator=(), and counted_ptr< X >::release().