Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IToken.h File Reference

#include "smbios/compat.h"
#include <string>
#include "smbios/types.h"
#include "smbios/ICmosRW.h"
#include "smbios/ISmbios.h"
#include "smbios/config/abi_prefix.hpp"
#include "smbios/config/abi_suffix.hpp"

Go to the source code of this file.

Namespaces

namespace  smbios

Classes

class  TokenTableFactory
class  ITokenTable
 Table interface to obtain individual Tokens. More...
class  IToken
 Interface to inspect or manipulate individual tokens. More...
class  IProtectedToken
class  ICmosToken
class  ISmiToken
class  TokenTableIteratorBase
 Base class for the TokenTableIterator subclassess. More...
class  TokenTableIterator
 Iterator for TokenTable objects. More...
class  ConstTokenTableIterator
 Iterator for const TokenTable objects. More...

Functions

 DECLARE_EXCEPTION (TokenException)
 DECLARE_EXCEPTION_EX (InvalidTokenTableMode, smbios, TokenException)
 DECLARE_EXCEPTION_EX (InvalidAccessMode, smbios, TokenException)
 DECLARE_EXCEPTION_EX (DerefNullPointer, smbios, TokenException)
 DECLARE_EXCEPTION_EX (ParameterError, smbios, TokenException)
 DECLARE_EXCEPTION_EX (InvalidChecksum, smbios, TokenException)
 DECLARE_EXCEPTION_EX (NeedAuthentication, smbios, TokenException)
std::ostream & operator<< (std::ostream &cout, const ITokenTable &item)
std::ostream & operator<< (std::ostream &cout, const IToken &item)
bool isTokenActive (int tokenNum)
void activateToken (int tokenNum, std::string password="")


Function Documentation

void activateToken int  tokenNum,
std::string  password = ""
 

Referenced by smi::wirelessRadioControl(), and smi::wirelessSwitchControl().

DECLARE_EXCEPTION TokenException   ) 
 

DECLARE_EXCEPTION_EX NeedAuthentication  ,
smbios  ,
TokenException 
 

DECLARE_EXCEPTION_EX InvalidChecksum  ,
smbios  ,
TokenException 
 

DECLARE_EXCEPTION_EX ParameterError  ,
smbios  ,
TokenException 
 

DECLARE_EXCEPTION_EX DerefNullPointer  ,
smbios  ,
TokenException 
 

DECLARE_EXCEPTION_EX InvalidAccessMode  ,
smbios  ,
TokenException 
 

DECLARE_EXCEPTION_EX InvalidTokenTableMode  ,
smbios  ,
TokenException 
 

bool isTokenActive int  tokenNum  ) 
 

Definition at line 65 of file Token.cpp.

References TokenTableFactory::getFactory(), and TokenTableFactory::getSingleton().

Referenced by smi::wirelessRadioControl().

std::ostream & operator<< std::ostream &  cout,
const IToken &  item
 

Definition at line 47 of file Token.cpp.

References IToken::streamify().

std::ostream & operator<< std::ostream &  cout,
const ITokenTable &  item
 

Definition at line 318 of file TokenTable.cpp.

References ITokenTable::streamify().


Generated on Tue Feb 26 14:39:36 2008 for SMBIOS Library by  doxygen 1.3.9.1