Back to index

salome-kernel  6.5.0
Public Member Functions
SALOMEDS_AttributeDrawable Class Reference

#include <SALOMEDS_AttributeDrawable.hxx>

Inheritance diagram for SALOMEDS_AttributeDrawable:
Inheritance graph
[legend]
Collaboration diagram for SALOMEDS_AttributeDrawable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SALOMEDS_AttributeDrawable (SALOMEDSImpl_AttributeDrawable *theAttr)
 SALOMEDS_AttributeDrawable (SALOMEDS::AttributeDrawable_ptr theAttr)
 ~SALOMEDS_AttributeDrawable ()
virtual bool IsDrawable ()
virtual void SetDrawable (bool value)
virtual void CheckLocked ()=0
virtual std::string Type ()=0
virtual std::string GetClassType ()=0
virtual _PTR (SObject) GetSObject()=0

Detailed Description

Definition at line 39 of file SALOMEDS_AttributeDrawable.hxx.


Constructor & Destructor Documentation

SALOMEDS_AttributeDrawable::SALOMEDS_AttributeDrawable ( SALOMEDSImpl_AttributeDrawable *  theAttr)

Definition at line 30 of file SALOMEDS_AttributeDrawable.cxx.

:SALOMEDS_GenericAttribute(theAttr)
{}
SALOMEDS_AttributeDrawable::SALOMEDS_AttributeDrawable ( SALOMEDS::AttributeDrawable_ptr  theAttr)

Definition at line 34 of file SALOMEDS_AttributeDrawable.cxx.

:SALOMEDS_GenericAttribute(theAttr)
{}

Definition at line 38 of file SALOMEDS_AttributeDrawable.cxx.

{}

Member Function Documentation

virtual SALOMEDSClient_GenericAttribute::_PTR ( SObject  ) [pure virtual, inherited]

Implemented in Standard_EXPORT, and Standard_EXPORT.

Here is the caller graph for this function:

virtual void SALOMEDSClient_GenericAttribute::CheckLocked ( ) [pure virtual, inherited]

Implemented in Standard_EXPORT, and Standard_EXPORT.

virtual std::string SALOMEDSClient_GenericAttribute::GetClassType ( ) [pure virtual, inherited]

Implemented in Standard_EXPORT, and Standard_EXPORT.

Implements SALOMEDSClient_AttributeDrawable.

Definition at line 41 of file SALOMEDS_AttributeDrawable.cxx.

{
  bool aValue;
  if (_isLocal) {
    SALOMEDS::Locker lock;
    aValue = (bool)dynamic_cast<SALOMEDSImpl_AttributeDrawable*>(_local_impl)->IsDrawable();
  }
  else aValue = SALOMEDS::AttributeDrawable::_narrow(_corba_impl)->IsDrawable();
  return aValue;
}

Here is the call graph for this function:

void SALOMEDS_AttributeDrawable::SetDrawable ( bool  value) [virtual]

Implements SALOMEDSClient_AttributeDrawable.

Definition at line 52 of file SALOMEDS_AttributeDrawable.cxx.

{
  if (_isLocal) {
    CheckLocked();
    SALOMEDS::Locker lock;
    dynamic_cast<SALOMEDSImpl_AttributeDrawable*>(_local_impl)->SetDrawable((int)value);
  }
  else SALOMEDS::AttributeDrawable::_narrow(_corba_impl)->SetDrawable(value);
}

Here is the call graph for this function:

virtual std::string SALOMEDSClient_GenericAttribute::Type ( ) [pure virtual, inherited]

Implemented in Standard_EXPORT, and Standard_EXPORT.


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