CL_DisplayTarget Class Reference
[clanDisplay Display]

Display target for clanDisplay. More...

#include <display_target.h>

Inheritance diagram for CL_DisplayTarget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Construction

 CL_DisplayTarget ()
 Constructs a display target if a CL_Display current target exists. Else create a null instance.
 CL_DisplayTarget (CL_DisplayTargetProvider *provider)
 Constructs a DisplayTarget.
virtual ~CL_DisplayTarget ()
Attributes

CL_DisplayTargetProviderget_provider ()
 Returns the provider for the display target.
bool is_null () const
 Returns true if this object is invalid.
void throw_if_null () const
 Throw an exception if this object is invalid.
Operations

void set_current ()
 Set this display target to be the current target.

Implementation



class CL_Display

Detailed Description

Display target for clanDisplay.


Constructor & Destructor Documentation

CL_DisplayTarget::CL_DisplayTarget (  ) 

Constructs a display target if a CL_Display current target exists. Else create a null instance.

CL_DisplayTarget::CL_DisplayTarget ( CL_DisplayTargetProvider provider  ) 

Constructs a DisplayTarget.

Parameters:
provider = Display Target Provider
virtual CL_DisplayTarget::~CL_DisplayTarget (  )  [virtual]

Member Function Documentation

CL_DisplayTargetProvider* CL_DisplayTarget::get_provider (  ) 

Returns the provider for the display target.

bool CL_DisplayTarget::is_null (  )  const [inline]

Returns true if this object is invalid.

void CL_DisplayTarget::set_current (  ) 

Set this display target to be the current target.

void CL_DisplayTarget::throw_if_null (  )  const

Throw an exception if this object is invalid.


Friends And Related Function Documentation

friend class CL_Display [friend]

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