Boost C++ Libraries/Boost.Asio

Boost.Asio 색인 - posix::basic_stream_descriptor::native_handle_type

까마귀75 2021. 2. 11. 01:36
728x90
반응형

posix::basic_stream_descriptor::native_handle_type

설명자(descriptor)의 기본(native) 표현이다.

typedef basic_descriptor< Executor >::native_handle_type native_handle_type;

유 형

이 름 설 명
rebind_executor 설명자(descriptor) 유형을 다른 실행자(executor)로 리바인드한다.
bytes_readable 블럭(차단)없이 읽을 수 있는 데이터의 양을 가져오는 IO 제어 명령이다.
executor_type 개체와 연결된 실행기(executor) 유형이다.
lowest_layer_type 설명자(descriptor)는 항상 최하위 계층이다.
native_handle_type 설명자(descriptor)의 기본(native) 표현이다.
wait_type 대기 유형이다.

멤버 함수

이 름 설 명
assign 설명자(descriptor)에 기존 기본(native) 설명자(descriptor)를 할당한다.
async_wait 설명자(descriptor)가 읽기/쓰기 준비 또는 보류중인 오류 조건이 있을 때까지 비동기로 대기한다.
basic_descriptor
[constructor]
설명자(descriptor)를 열지 않고 생성하는 생성자(constructor)

기존 기본(native) 설명자(descriptor)로 생성하는 생성자(constructor)

다른 설명자(descriptor)를 이동 생성하는 이동-생성자(move constructor)
cancel 설명자(descriptor)와 연결된 모든 비동기 작업을 취소한다.
close 설명자(descriptor)를 닫는다.
get_executor 개체와 연결된 실행기(executor)를 가져온다.
io_control 설명자(descriptor)에서 IO 제어 명령을 수행한다.
is_open 설명자(descriptor)가 열려있는지 확인한다.
lowest_layer 최하위 계층에 대한 참조를 가져온다.

최하위 계층에 대한 const 참조를 가져온다.
native_handle 기본(native) 설명자(descriptor) 표현을 가져온다.
native_non_blocking 기본(native) 설명자(descriptor) 구현의 넌-블럭킹 모드를 가져온다.

기본(native) 설명자(descriptor) 구현의 넌-블럭킹 모드를 설정한다.
non_blocking 설명자(descriptor)의 넌-블럭킹 모드를 가져온다.

설명자(descriptor)의 넌-블럭킹 모드를 설정한다.
operator= 다른 설명자(descriptor)에서 이동 할당한다.
release 기본(native) 설명자(descriptor) 구현의 소유권을 해제한다.
wait 설명자(descriptor)가 읽기/쓰기 준비 또는 보류중인 오류 조건이 있을 때까지 대기한다.

보호된(protected) 멤버 함수

이 름 설 명
~basic_descriptor
[destructor]
이 유형을 통한 삭제를 방지하는 보호된 소멸자이다.

posix::basic_descriptor 클래스 템플릿은 POSIX 설명자(descriptor)를 래핑하는 기능을 제공한다.

스레드 안전성

고유 개체: 안전함
공유 개체: 안전하지 않음

요구 사항

일반 헤더: boost/asio/posix/basic_stream_descriptor.hpp
편의 헤더: boost/asio.hpp

Boost.Asio 홈

728x90
반응형