ACE_Synch_Options Class ReferenceContains the values of options used to determine the synchronous and asynchronous behavior. More...
Collaboration diagram for ACE_Synch_Options:
![]()
Detailed DescriptionContains the values of options used to determine the synchronous and asynchronous behavior.The supported set of options is depicted in the following table. The Reactor column indicates whether or not the USE_REACTOR option is supplied. The Timeout column specifies the period of time specified by the object; Unused implies that USE_TIMEOUT is not included in the options and the default timeout value, ACE_Time_Value::zero, is specified, either explicitly or by default.
Member Enumeration Documentation
Constructor & Destructor Documentation
Initialize the object to default values unless specified otherwise.
Member Function Documentation
Initialize the object; arguments are the same as for the constructor.
Returns true if the specified option(s) are enabled, false otherwise.
Adds the specified option(s) to the object; does not replace them.
Returns the "magic cookie" argument.
Set the "magic cookie" argument.
Returns a reference to the ACE_Time_Value. This value only makes sense if (*this)[USE_TIMEOUT] is true.
Set the timeout value. This method does not alter the options; in particular, it doesn't add USE_TIMEOUT to the options when a non-zero timeout is specified as the constructor and set() do.
Returns a timeout pointer if (*this)[USE_TIMEOUT] is true, else 0. This should be used with care, e.g., the timeout pointer should not be stored in a manner that will lead to dangling pointers.
Dump the state of an object.
Member Data DocumentationThis is the default setting for options, which will block synchronously. This is the default synchronous setting.
This is the default asynchronous setting.
Declare the dynamic allocation hooks.
Keeps track of the enabled options.
Amount of time to wait for timeouts.
"Magic cookie" always passed in as an argument to the ACE_Reactor's schedule_timer() method. Used to communicate values for asynchronous programming.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:17:27 2008 for ACE by ![]() |