#include <Stream_Modules.h>
Inheritance diagram for ACE_Thru_Task<>:


Public Member Functions | |
| ACE_Thru_Task (void) | |
| Construction. | |
| ~ACE_Thru_Task (void) | |
| Destruction. | |
| virtual int | open (void *a=0) |
| virtual int | close (u_long flags=0) |
| virtual int | put (ACE_Message_Block *msg, ACE_Time_Value *=0) |
| virtual int | svc (void) |
| Run by a daemon thread to handle deferred processing. | |
| virtual int | init (int argc, ACE_TCHAR *argv[]) |
| Initializes object when dynamic linking occurs. | |
| virtual int | info (ACE_TCHAR **info_string, size_t length) const |
| Returns information on a service object. | |
| virtual int | fini (void) |
| Terminates object when dynamic unlinking occurs. | |
| void | dump (void) const |
| Dump the state of an object. | |
Public Attributes | |
| ACE_ALLOC_HOOK_DECLARE | |
| Declare the dynamic allocation hooks. | |
Definition at line 128 of file Stream_Modules.h.
|
||||||||||
|
Construction.
Definition at line 302 of file Stream_Modules.cpp. References ACE_TRACE.
00303 {
00304 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::ACE_Thru_Task");
00305 }
|
|
||||||||||
|
Destruction.
Definition at line 308 of file Stream_Modules.cpp. References ACE_TRACE.
00309 {
00310 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::~ACE_Thru_Task");
00311 }
|
|
||||||||||
|
Hook called from ACE_Thread_Exit when during thread exit and from the default implementation of . In general, this method shouldn't be called directly by an application, particularly if the is running as an Active Object. Instead, a special message should be passed into the via the method defined below, and the method should interpret this as a flag to shut down the . Reimplemented from ACE_Task_Base. Definition at line 329 of file Stream_Modules.cpp. References ACE_TRACE.
00330 {
00331 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::close");
00332 return 0;
00333 }
|
|
||||||||||
|
Dump the state of an object.
Reimplemented from ACE_Task< ACE_SYNCH_USE >. Definition at line 314 of file Stream_Modules.cpp. References ACE_TRACE.
00315 {
00316 #if defined (ACE_HAS_DUMP)
00317 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::dump");
00318 #endif /* ACE_HAS_DUMP */
00319 }
|
|
||||||||||
|
Terminates object when dynamic unlinking occurs.
Reimplemented from ACE_Shared_Object. Definition at line 372 of file Stream_Modules.cpp. References ACE_TRACE.
00373 {
00374 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::fini");
00375 return 0;
00376 }
|
|
||||||||||||||||
|
Returns information on a service object.
Reimplemented from ACE_Shared_Object. Definition at line 358 of file Stream_Modules.cpp. References ACE_TCHAR, ACE_TRACE, ACE_Task< ACE_SYNCH_USE >::name(), ACE_OS::strdup(), ACE_OS::strlen(), and ACE_OS::strsncpy().
00360 {
00361 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::info");
00362 const ACE_TCHAR *name = this->name ();
00363
00364 if (*strp == 0 && (*strp = ACE_OS::strdup (name)) == 0)
00365 return -1;
00366 else
00367 ACE_OS::strsncpy (*strp, name, length);
00368 return static_cast<int> (ACE_OS::strlen (name));
00369 }
|
|
||||||||||||||||
|
Initializes object when dynamic linking occurs.
Reimplemented from ACE_Shared_Object. Definition at line 351 of file Stream_Modules.cpp. References ACE_TCHAR, and ACE_TRACE.
00352 {
00353 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::init");
00354 return 0;
00355 }
|
|
||||||||||
|
Hook called to initialize a task and prepare it for execution. args can be used to pass arbitrary information into . Reimplemented from ACE_Task_Base. Definition at line 322 of file Stream_Modules.cpp. References ACE_TRACE.
00323 {
00324 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::open");
00325 return 0;
00326 }
|
|
||||||||||||||||
|
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 hook method. Reimplemented from ACE_Task_Base. Definition at line 343 of file Stream_Modules.cpp. References ACE_TRACE, and ACE_Task< ACE_SYNCH_USE >::put_next().
|
|
||||||||||
|
Run by a daemon thread to handle deferred processing.
Reimplemented from ACE_Task_Base. Definition at line 336 of file Stream_Modules.cpp. References ACE_TRACE.
00337 {
00338 ACE_TRACE ("ACE_Thru_Task<ACE_SYNCH_USE>::svc");
00339 return -1;
00340 }
|
|
|||||
|
Declare the dynamic allocation hooks.
Reimplemented from ACE_Task< ACE_SYNCH_USE >. Definition at line 152 of file Stream_Modules.h. |
1.3.6