L4Re - L4 Runtime Environment
L4vcpu::State Class Reference

C++ implementation of state word in the vCPU area. More...

+ Collaboration diagram for L4vcpu::State:

Public Member Functions

 State (unsigned v)
 Initialize state. More...
 
void add (unsigned bits) throw ()
 Add flags. More...
 
void clear (unsigned bits) throw ()
 Clear flags. More...
 
void set (unsigned v) throw ()
 Set flags. More...
 

Detailed Description

C++ implementation of state word in the vCPU area.

Definition at line 31 of file vcpu.

Constructor & Destructor Documentation

◆ State()

L4vcpu::State::State ( unsigned  v)
inlineexplicit

Initialize state.

Parameters
vInitial state.

Definition at line 41 of file vcpu.

Member Function Documentation

◆ add()

void L4vcpu::State::add ( unsigned  bits)
throw (
)
inline

Add flags.

Parameters
bitsBits to add to the word.

Definition at line 48 of file vcpu.

◆ clear()

void L4vcpu::State::clear ( unsigned  bits)
throw (
)
inline

Clear flags.

Parameters
bitsBits to clear in the word.

Definition at line 55 of file vcpu.

◆ set()

void L4vcpu::State::set ( unsigned  v)
throw (
)
inline

Set flags.

Parameters
vSet the word to the value of v.

Definition at line 62 of file vcpu.


The documentation for this class was generated from the following file: