WiFi Framework C++ Edition
Public Member Functions | Protected Member Functions | List of all members
CwclCustomWiFiComponent Class Referenceabstract

The base component class for all WCL WiFi Framework components. More...

#include <wclWiFi.h>

Inheritance diagram for CwclCustomWiFiComponent:
CwclCustomWiFiSecurableComponent CwclWiFiEvents CwclCustomWiFiMemoryComponent CwclWiFiClient CwclWiFiHostedNetwork CwclWiFiProfilesManager

Public Member Functions

 CwclCustomWiFiComponent ()
 Creates a new component.
 
virtual ~CwclCustomWiFiComponent ()
 Frees the component.
 
int Close ()
 Closes the component.
 
int Open ()
 Opens the component.
 
bool GetActive () const
 Gets the component state.
 
 __declspec (property(get=GetActive)) bool Active
 Gets the component state.
 
__event void AfterOpen (void *Sender)
 The event fires after the component was successfully opened.
 
__event void BeforeClose (void *Sender)
 The even fires before the component will be closed.
 

Protected Member Functions

virtual int ElevatePrivileges () const
 The function must setup privileges for Native WiFi.
 
virtual int InternalClose ()=0
 Executes additional finalization procedures.
 
virtual int InternalOpen ()=0
 Executes additional initialization procedures.
 
virtual void DoAfterOpen ()
 Fires the AfterOpen event.
 
virtual void DoBeforeClose ()
 Fires the BeforeClose event.
 
HANDLE GetHandle () const
 Provides access to the WLAN subsystem handle.
 
 __declspec (property(get=GetHandle)) HANDLE Handle
 Provides access to the WLAN subsystem handle.
 

Detailed Description

The base component class for all WCL WiFi Framework components.

The class implements the basic operations such us initializing and finalizing underlying WLAN subsystem, manages privileges and others common operations.