inlib  1.2.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
inlib::sg::cbk Class Reference

List of all members.

Public Types

enum  return_action { return_none, return_to_render }

Public Member Functions

virtual void * cast (const std::string &a_class) const
virtual const std::string & s_cls () const
virtual return_action action ()=0
virtual cbkcopy () const =0
virtual ~cbk ()
void set_single_shoot (bool a_value)
bool is_single_shoot () const

Static Public Member Functions

static const std::string & s_class ()

Protected Member Functions

 cbk ()
 cbk (const cbk &a_from)
cbkoperator= (const cbk &a_from)

Protected Attributes

bool m_single_shoot

Detailed Description

Definition at line 20 of file cbk.


Member Enumeration Documentation

Enumerator:
return_none 
return_to_render 

Definition at line 33 of file cbk.


Constructor & Destructor Documentation

virtual inlib::sg::cbk::~cbk ( ) [inline, virtual]

Definition at line 41 of file cbk.

                {
#ifdef INLIB_MEM
    mem::decrement(s_class().c_str());
#endif
  }
inlib::sg::cbk::cbk ( ) [inline, protected]

Definition at line 47 of file cbk.

  :m_single_shoot(false)
  {
#ifdef INLIB_MEM
    mem::increment(s_class().c_str());
#endif
  }
inlib::sg::cbk::cbk ( const cbk a_from) [inline, protected]

Definition at line 54 of file cbk.

  :m_single_shoot(a_from.m_single_shoot)
  {
#ifdef INLIB_MEM
    mem::increment(s_class().c_str());
#endif
  }

Member Function Documentation

virtual return_action inlib::sg::cbk::action ( ) [pure virtual]
virtual void* inlib::sg::cbk::cast ( const std::string &  a_class) const [inline, virtual]

Definition at line 27 of file cbk.

                                                     {
    if(void* p = inlib::cmp_cast<cbk>(this,a_class)) {return p;}
    return 0;
  }
virtual cbk* inlib::sg::cbk::copy ( ) const [pure virtual]
bool inlib::sg::cbk::is_single_shoot ( ) const [inline]

Definition at line 67 of file cbk.

{return m_single_shoot;}
cbk& inlib::sg::cbk::operator= ( const cbk a_from) [inline, protected]

Definition at line 61 of file cbk.

                                   {
    m_single_shoot = a_from.m_single_shoot;
    return *this;
  }
static const std::string& inlib::sg::cbk::s_class ( ) [inline, static]

Definition at line 22 of file cbk.

                                    {
    static const std::string s_v("inlib::sg::cbk");
    return s_v;
  }
virtual const std::string& inlib::sg::cbk::s_cls ( ) const [inline, virtual]

Definition at line 31 of file cbk.

{return s_class();} //gui_view rm cam_work.
void inlib::sg::cbk::set_single_shoot ( bool  a_value) [inline]

Definition at line 66 of file cbk.

{m_single_shoot = a_value;}

Member Data Documentation

Definition at line 69 of file cbk.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines