|
DCL 4.1
|
#include <XOutputStream.h>
Additional Inherited Members | |
| Public Member Functions inherited from Object | |
| virtual String | toString () const |
| virtual void | destroy () |
| String | className () const |
| bool | isInstanceOf (const std::type_info &typeinfo) const |
| virtual const std::type_info & | typeInfo () const |
| Protected Member Functions inherited from Object | |
| virtual | ~Object () |
| Object () | |
OutputStream 인터페이스의 다중스레드 동기화를 제공한다.
동기화는 OutputStream의 기본 메소드인 close(), flush(), write(const char_t* _buf, size_t _nbytes), vprintf(const char_t* _format, va_list _arglist) 이다.
이들 메소드는 다음과 같이 구현되어 있다.
OutputStream& XOutputStream::write(const char_t* _buf, size_t _nbytes)
{
if (__output)
{
Thread::SingleLockMutex lockAndUnlock(__lock);
__output->write(_buf, _n);
}
return *this;
}
*
Definition at line 37 of file XOutputStream.h.