Jive reference manual
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Friends
jem::gl::MultiNode Class Reference

#include <jem/gl/MultiNode.h>

Inheritance diagram for jem::gl::MultiNode:
Inheritance graph

Public Member Functions

 MultiNode (const String &name="")
 
virtual GfxNodefindNode (const String &name) const
 
virtual bool takeAction (const String &action, const Properties &params)
 
virtual bool takeGLAction (GfxContext &gtx, int action, const Properties &params)
 
virtual void getBBox (Box &box) const
 
virtual void getVisibility (bool &viz, Box &vbox, const Transform &proj) const
 
virtual void configure (const Properties &props)
 
virtual void getConfig (const Properties &props) const
 
virtual void listProps (const Properties &props) const
 
virtual void clear ()
 
idx_t size () const
 
virtual idx_t childCount () const
 
virtual void addChild (const Ref< GfxNode > &child)
 
virtual bool eraseChild (const Ref< GfxNode > &child)
 
virtual void eraseChild (idx_t index)
 
GfxNodegetChild (idx_t index) const
 
idx_t findChild (const Ref< GfxNode > &child) const
 
- Public Member Functions inherited from jem::gl::GfxNode
 GfxNode (const String &name="")
 
virtual String getContext () const
 
virtual bool takeNRAction (const String &action, const Properties &params)
 
GfxNodegetParent () const
 
void setParent (GfxNode *parent)
 
void clearParent ()
 
- Public Member Functions inherited from jem::NamedObject
 NamedObject (const String &name="")
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
String getName () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Public Attributes

util::Event< Ref< GfxNode >, Self & > newChildEvent
 
util::Event< Ref< GfxNode >, Self & > childErasedEvent
 

Protected Member Functions

virtual ~MultiNode ()
 
- Protected Member Functions inherited from jem::gl::GfxNode
virtual ~GfxNode ()
 
- Protected Member Functions inherited from jem::NamedObject
virtual ~NamedObject ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 
- Protected Member Functions inherited from jem::gl::Compound
virtual ~Compound ()
 
- Protected Member Functions inherited from jem::Interface
virtual ~Interface ()
 Empty destructor. More...
 

Friends

class PosSaver_
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::NamedObject
static String makeContext (const String &kind, const String &name)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 
- Protected Attributes inherited from jem::NamedObject
String myName_
 

Constructor & Destructor Documentation

jem::gl::MultiNode::MultiNode ( const String name = "")
explicit
virtual jem::gl::MultiNode::~MultiNode ( )
protectedvirtual

Member Function Documentation

virtual GfxNode* jem::gl::MultiNode::findNode ( const String name) const
virtual

Reimplemented from jem::gl::GfxNode.

virtual bool jem::gl::MultiNode::takeAction ( const String action,
const Properties params 
)
virtual

Reimplemented from jem::gl::GfxNode.

Reimplemented in jem::gl::GroupNode.

virtual bool jem::gl::MultiNode::takeGLAction ( GfxContext gtx,
int  action,
const Properties params 
)
virtual

Implements jem::gl::GfxNode.

Reimplemented in jem::gl::GroupNode.

virtual void jem::gl::MultiNode::getBBox ( Box box) const
virtual

Reimplemented from jem::gl::GfxNode.

Reimplemented in jem::gl::GroupNode.

virtual void jem::gl::MultiNode::getVisibility ( bool &  viz,
Box vbox,
const Transform proj 
) const
virtual

Reimplemented from jem::gl::GfxNode.

Reimplemented in jem::gl::GroupNode.

virtual void jem::gl::MultiNode::configure ( const Properties props)
virtual

Reimplemented from jem::gl::GfxNode.

Reimplemented in jem::gl::GroupNode.

virtual void jem::gl::MultiNode::getConfig ( const Properties props) const
virtual

Reimplemented from jem::gl::GfxNode.

Reimplemented in jem::gl::GroupNode.

virtual void jem::gl::MultiNode::listProps ( const Properties props) const
virtual

Reimplemented from jem::gl::GfxNode.

Reimplemented in jem::gl::GroupNode.

virtual void jem::gl::MultiNode::clear ( )
virtual
idx_t jem::gl::MultiNode::size ( ) const
virtual idx_t jem::gl::MultiNode::childCount ( ) const
virtual

Implements jem::gl::Compound.

virtual void jem::gl::MultiNode::addChild ( const Ref< GfxNode > &  child)
virtual

Implements jem::gl::Compound.

virtual bool jem::gl::MultiNode::eraseChild ( const Ref< GfxNode > &  child)
virtual

Implements jem::gl::Compound.

virtual void jem::gl::MultiNode::eraseChild ( idx_t  index)
virtual
GfxNode* jem::gl::MultiNode::getChild ( idx_t  index) const
idx_t jem::gl::MultiNode::findChild ( const Ref< GfxNode > &  child) const

Friends And Related Function Documentation

friend class PosSaver_
friend

Member Data Documentation

util::Event< Ref<GfxNode>, Self& > jem::gl::MultiNode::newChildEvent
util::Event< Ref<GfxNode>, Self& > jem::gl::MultiNode::childErasedEvent