CCSAsyncDocument Class Reference

List of all members.

Public Member Functions

virtual ~CCSAsyncDocument ()
void UpdateTime ()
void StopClock ()
TTime Time () const
TBool ClockActive () const
CEikAppUi * CreateAppUiL ()

Static Public Member Functions

static CCSAsyncDocumentNewL (CEikApplication &aApp)
static CCSAsyncDocumentNewLC (CEikApplication &aApp)

Detailed Description

CCSAsyncDocument An instance of class CCSAsyncDocument is the Document part of the AVKON application framework for the CSAsync example application

Definition at line 34 of file csasyncdocument.h.


Constructor & Destructor Documentation

CCSAsyncDocument::~CCSAsyncDocument (  )  [virtual]

~CCSAsyncDocument. Destructor. Destroys the object and release all memory objects.

Definition at line 73 of file csasyncdocument.cpp.


Member Function Documentation

CCSAsyncDocument * CCSAsyncDocument::NewL ( CEikApplication &  aApp  )  [static]

NewL. Two-phased constructor. Constructs a CCSAsyncDocument for the AVKON application aApp using two phase construction, and returns a pointer to the created object.

Parameters:
aApp Application creating this document.
Returns:
A pointer to the created instance of CCSAsyncDocument.

Definition at line 28 of file csasyncdocument.cpp.

CCSAsyncDocument * CCSAsyncDocument::NewLC ( CEikApplication &  aApp  )  [static]

NewLC. Two-phased constructor. Constructs a CCSAsyncDocument for the AVKON application aApp using two phase construction, and returns a pointer to the created object.

Parameters:
aApp Application creating this document.
Returns:
A pointer to the created instance of CCSAsyncDocument.

Definition at line 40 of file csasyncdocument.cpp.

</td >< td > The enumerated code for the option selected</td ></tr ></table ></dl >< p > Definition at line< a class="el"href="csasyncappui_8cpp-source.html#l00084"></a > of file< a class="el"href="csasyncappui_8cpp-source.html"> csasyncappui cpp</a >< p > References< a class="el"href="csasyncappui_8cpp-source.html#l00074">< aclass="el"href="csasyncdocument_8cpp-source.html#l00108"> and< a class="el"href="csasyncdocument_8cpp-source.html#l00098"> CCSAsyncDocument::UpdateTime (  ) 

UpdateTime. Asks the time server to update this documents locally stored time.

Definition at line 98 of file csasyncdocument.cpp.

</td >< td >< p > CancelRequest Cancels an outstanding request< p > Definition at line< a class="el"href="csasyncrequesthandler_8cpp-source.html#l00102"></a > of file< a class="el"href="csasyncrequesthandler_8cpp-source.html"> csasyncrequesthandler cpp</a >< p > Referenced by< a class="el"href="csasyncdocument_8cpp-source.html#l00108"> CCSAsyncDocument::StopClock (  ) 
Initial value:
"fragment"><pre class="fragment"><a name="l00103"></a>00103     {
<a name="l00104"></a>00104     Cancel() ; <span class="comment">
<a name="l00105"></a>00105     }
</pre></div>
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="abd5ca40d94b3e8941d79e5362c038b2"></a><!-- doxytag: member="CCSAsyncRequestHandler::Time" ref="abd5ca40d94b3e8941d79e5362c038b2" args="() const " --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">TTime CCSAsyncRequestHandler::Time           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp

StopClock. Stops the clock.

Definition at line 108 of file csasyncdocument.cpp.

TTime CCSAsyncDocument::Time (  )  const

Time. Returns the currently stored time.

Returns:
The time.

Definition at line 121 of file csasyncdocument.cpp.

TBool CCSAsyncDocument::ClockActive (  )  const

ClockActive. Checks whether the clock has been started.

Returns:
ETrue if the clock has been started, EFalse if the clock is stopped

Definition at line 131 of file csasyncdocument.cpp.

CEikAppUi * CCSAsyncDocument::CreateAppUiL (  ) 

From CAknDocument, CreateAppUiL. Creates a CCSAsyncAppUi object and returns a pointer to it.

Returns:
A pointer to the created instance of the AppUi created.

Definition at line 83 of file csasyncdocument.cpp.


Generated by  doxygen 1.6.2