2 * Copyright 2002, Marcus Overhagen. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
7 // This is deprecated API that is not even implemented - no need to export
8 // it on a GCC4 build (BeIDE needs it to run, though, so it's worthwhile for
13 #include "OldBufferStreamManager.h"
18 /*************************************************************
19 * public BBufferStreamManager
20 *************************************************************/
22 BBufferStreamManager::BBufferStreamManager(char *name
)
28 BBufferStreamManager::~BBufferStreamManager()
35 BBufferStreamManager::Name() const
43 BBufferStreamManager::Stream() const
51 BBufferStreamManager::BufferCount() const
60 BBufferStreamManager::SetBufferCount(int32 count
)
67 BBufferStreamManager::BufferSize() const
76 BBufferStreamManager::SetBufferSize(int32 bytes
)
83 BBufferStreamManager::BufferDelay() const
92 BBufferStreamManager::SetBufferDelay(bigtime_t usecs
)
99 BBufferStreamManager::Timeout() const
108 BBufferStreamManager::SetTimeout(bigtime_t usecs
)
115 BBufferStreamManager::Start()
124 BBufferStreamManager::Stop()
133 BBufferStreamManager::Abort()
142 BBufferStreamManager::State() const
151 BBufferStreamManager::NotificationPort() const
160 BBufferStreamManager::SetNotificationPort(port_id port
)
167 BBufferStreamManager::Lock()
176 BBufferStreamManager::Unlock()
183 BBufferStreamManager::Subscribe(BBufferStream
*stream
)
192 BBufferStreamManager::Unsubscribe()
201 BBufferStreamManager::ID() const
208 /*************************************************************
209 * protected BBufferStreamManager
210 *************************************************************/
213 BBufferStreamManager::StartProcessing()
220 BBufferStreamManager::StopProcessing()
227 BBufferStreamManager::_ProcessingThread(void *arg
)
236 BBufferStreamManager::ProcessingThread()
243 BBufferStreamManager::SetState(stream_state newState
)
250 BBufferStreamManager::SnoozeUntil(bigtime_t sys_time
)
257 /*************************************************************
258 * private BBufferStreamManager
259 *************************************************************/
262 BBufferStreamManager::_ReservedBufferStreamManager1()
269 BBufferStreamManager::_ReservedBufferStreamManager2()
276 BBufferStreamManager::_ReservedBufferStreamManager3()
282 #endif // __GNUC__ < 3