ACE_Stream_Head<> Class Template ReferenceStandard task that acts as reader or writer at the head of an ACE_Stream. More...
Inheritance diagram for ACE_Stream_Head<>:
Collaboration diagram for ACE_Stream_Head<>:
Detailed Descriptiontemplate<ACE_SYNCH_DECL>
Standard task that acts as reader or writer at the head of an ACE_Stream.
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Stream_Head<>::ACE_Stream_Head | ( | void | ) | [inline] |
Construction.
ACE_Stream_Head<>::~ACE_Stream_Head | ( | void | ) | [inline] |
Destruction.
int ACE_Stream_Head<>::open | ( | void * | args = 0 |
) | [inline, virtual] |
Hook called to initialize a task and prepare it for execution. args can be used to pass arbitrary information into <open>.
Reimplemented from ACE_Task_Base.
int ACE_Stream_Head<>::close | ( | u_long | flags = 0 |
) | [inline, virtual] |
Hook called from ACE_Thread_Exit when during thread exit and from the default implementation of <module_closed>. In general, this method shouldn't be called directly by an application, particularly if the <Task> is running as an Active Object. Instead, a special message should be passed into the <Task> via the <put> method defined below, and the <svc> method should interpret this as a flag to shut down the <Task>.
Reimplemented from ACE_Task_Base.
int ACE_Stream_Head<>::put | ( | ACE_Message_Block * | , | |
ACE_Time_Value * | = 0 | |||
) | [inline, virtual] |
A hook method that can be used to pass a message to a task, where it can be processed immediately or queued for subsequent processing in the <svc> hook method.
Reimplemented from ACE_Task_Base.
int ACE_Stream_Head<>::svc | ( | void | ) | [inline, virtual] |
int ACE_Stream_Head<>::init | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) | [inline, virtual] |
int ACE_Stream_Head<>::info | ( | ACE_TCHAR ** | info_string, | |
size_t | length | |||
) | const [inline, virtual] |
int ACE_Stream_Head<>::fini | ( | void | ) | [inline, virtual] |
void ACE_Stream_Head<>::dump | ( | void | ) | const [inline] |
int ACE_Stream_Head<>::control | ( | ACE_Message_Block * | mb | ) | [inline, private] |
Performs canonical flushing at the ACE_Stream Head.
int ACE_Stream_Head<>::canonical_flush | ( | ACE_Message_Block * | mb | ) | [inline, private] |
ACE_Stream_Head<>::ACE_ALLOC_HOOK_DECLARE |