API documentation  2.0rc1
Public Member Functions | List of all members
client::ApplicationCache Class Reference

#include <clientlib.h>

Inherits client::EventTarget.

Public Member Functions

EventListenerget_oncached ()
 
void set_oncached (EventListener *)
 
EventListenerget_onchecking ()
 
void set_onchecking (EventListener *)
 
EventListenerget_ondownloading ()
 
void set_ondownloading (EventListener *)
 
EventListenerget_onerror ()
 
void set_onerror (EventListener *)
 
EventListenerget_onnoupdate ()
 
void set_onnoupdate (EventListener *)
 
EventListenerget_onobsolete ()
 
void set_onobsolete (EventListener *)
 
EventListenerget_onprogress ()
 
void set_onprogress (EventListener *)
 
EventListenerget_onupdateready ()
 
void set_onupdateready (EventListener *)
 
double get_status ()
 
void abort ()
 
void swapCache ()
 
void update ()
 
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, EventListenerOptions *options)
 
ApplicationCacheget_prototype ()
 
void set_prototype (ApplicationCache *)
 
 ApplicationCache ()
 
double get_CHECKING ()
 
double get_DOWNLOADING ()
 
double get_IDLE ()
 
double get_OBSOLETE ()
 
double get_UNCACHED ()
 
double get_UPDATEREADY ()
 
- Public Member Functions inherited from client::EventTarget
void addEventListener (const String &type, EventListener *listener)
 
void addEventListener (const String &type, EventListener *listener, bool options)
 
void addEventListener (const String &type, EventListener *listener, AddEventListenerOptions *options)
 
void addEventListener (const String &type, EventListenerObject *listener)
 
void addEventListener (const String &type, EventListenerObject *listener, AddEventListenerOptions *options)
 
bool dispatchEvent (Event *evt)
 
void removeEventListener (const String &type)
 
void removeEventListener (const String &type, EventListener *listener)
 
void removeEventListener (const String &type, EventListener *listener, EventListenerOptions *options)
 
void removeEventListener (const String &type, EventListener *listener, bool options)
 
void removeEventListener (const String &type, EventListenerObject *listener)
 
void removeEventListener (const String &type, EventListenerObject *listener, bool options)
 
EventTargetget_prototype ()
 
void set_prototype (EventTarget *)
 
 EventTarget ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ ApplicationCache()

client::ApplicationCache::ApplicationCache ( )

Member Function Documentation

◆ abort()

void client::ApplicationCache::abort ( )

◆ addEventListener() [1/5]

void client::ApplicationCache::addEventListener ( const String type,
EventListener listener 
)

◆ addEventListener() [2/5]

void client::ApplicationCache::addEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ addEventListener() [3/5]

void client::ApplicationCache::addEventListener ( const String type,
EventListener listener,
AddEventListenerOptions options 
)

◆ addEventListener() [4/5]

void client::ApplicationCache::addEventListener ( const String type,
EventListenerObject listener 
)

◆ addEventListener() [5/5]

void client::ApplicationCache::addEventListener ( const String type,
EventListenerObject listener,
AddEventListenerOptions options 
)

◆ get_CHECKING()

double client::ApplicationCache::get_CHECKING ( )

◆ get_DOWNLOADING()

double client::ApplicationCache::get_DOWNLOADING ( )

◆ get_IDLE()

double client::ApplicationCache::get_IDLE ( )

◆ get_OBSOLETE()

double client::ApplicationCache::get_OBSOLETE ( )

◆ get_oncached()

EventListener* client::ApplicationCache::get_oncached ( )

◆ get_onchecking()

EventListener* client::ApplicationCache::get_onchecking ( )

◆ get_ondownloading()

EventListener* client::ApplicationCache::get_ondownloading ( )

◆ get_onerror()

EventListener* client::ApplicationCache::get_onerror ( )

◆ get_onnoupdate()

EventListener* client::ApplicationCache::get_onnoupdate ( )

◆ get_onobsolete()

EventListener* client::ApplicationCache::get_onobsolete ( )

◆ get_onprogress()

EventListener* client::ApplicationCache::get_onprogress ( )

◆ get_onupdateready()

EventListener* client::ApplicationCache::get_onupdateready ( )

◆ get_prototype()

ApplicationCache* client::ApplicationCache::get_prototype ( )

◆ get_status()

double client::ApplicationCache::get_status ( )

◆ get_UNCACHED()

double client::ApplicationCache::get_UNCACHED ( )

◆ get_UPDATEREADY()

double client::ApplicationCache::get_UPDATEREADY ( )

◆ removeEventListener() [1/5]

void client::ApplicationCache::removeEventListener ( const String type,
EventListener listener 
)

◆ removeEventListener() [2/5]

void client::ApplicationCache::removeEventListener ( const String type,
EventListener listener,
bool  options 
)

◆ removeEventListener() [3/5]

void client::ApplicationCache::removeEventListener ( const String type,
EventListener listener,
EventListenerOptions options 
)

◆ removeEventListener() [4/5]

void client::ApplicationCache::removeEventListener ( const String type,
EventListenerObject listener 
)

◆ removeEventListener() [5/5]

void client::ApplicationCache::removeEventListener ( const String type,
EventListenerObject listener,
EventListenerOptions options 
)

◆ set_oncached()

void client::ApplicationCache::set_oncached ( EventListener )

◆ set_onchecking()

void client::ApplicationCache::set_onchecking ( EventListener )

◆ set_ondownloading()

void client::ApplicationCache::set_ondownloading ( EventListener )

◆ set_onerror()

void client::ApplicationCache::set_onerror ( EventListener )

◆ set_onnoupdate()

void client::ApplicationCache::set_onnoupdate ( EventListener )

◆ set_onobsolete()

void client::ApplicationCache::set_onobsolete ( EventListener )

◆ set_onprogress()

void client::ApplicationCache::set_onprogress ( EventListener )

◆ set_onupdateready()

void client::ApplicationCache::set_onupdateready ( EventListener )

◆ set_prototype()

void client::ApplicationCache::set_prototype ( ApplicationCache )

◆ swapCache()

void client::ApplicationCache::swapCache ( )

◆ update()

void client::ApplicationCache::update ( )