Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
Namable Class Reference

A base class for all things which can have a name. More...

Inheritance diagram for Namable:
AdaptiveLru AnimControl AnimGroup AsyncTaskBase AsyncTaskChain AsyncTaskManager CardMaker CollisionTraverser FisheyeMaker FreetypeFont HeightfieldTesselator LineSegs Material MouseWatcherRegion MovieAudio MovieVideo PandaLoader PandaNode PartGroup SimpleLru TextFont Texture Thread

List of all members.

Public Member Functions

 Namable (Namable const copy)
 Namable (string initial_name)
 Namable ()
 clearName ()
 Resets the Namable's name to empty.
string getName ()
bool hasName ()
 Returns true if the Namable has a nonempty name set, false if the name is empty.
Namable operator= (Namable const other)
 output (ostream out)
 Outputs the Namable.
 setName (string name)

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

A base class for all things which can have a name.

The name is either empty or nonempty, but it is never NULL.


Constructor & Destructor Documentation

Namable ( Namable const  copy)
Namable ( string  initial_name)
Namable ( )

Member Function Documentation

clearName ( )

Resets the Namable's name to empty.

Reimplemented in AsyncTask.

static TypeHandle getClassType ( ) [static]

Reimplemented in PGWaitBar, PGScrollFrame, PGSliderBar, PGVirtualFrame, PGMouseWatcherBackground, PGEntry, PGTop, PGButton, PGItem, AudioLoadRequest, Transform2SG, Trackball, MouseWatcher, MouseWatcherRegion, MouseSubregion, DriveInterface, MouseInterfaceNode, ButtonThrower, StaticTextFont, DynamicTextFont, DynamicTextPage, TextFont, SheetNode, RopeNode, NurbsCurve, HermiteCurve, PiecewiseCurve, CubicCurveseg, ParametricCurve, VideoTexture, TextureReloadRequest, Material, AnimateVerticesRequest, PythonTask, AsyncTaskSequence, AsyncTaskPause, AsyncTaskManager, AsyncTaskChain, PythonThread, MainThread, ExternalThread, Thread, AsyncTaskBase, VirtualMouse, TrackerNode, MouseAndKeyboard, DialNode, ButtonNode, AnalogNode, CollisionVisualizer, CollisionTraverser, CollisionNode, CharacterJointBundle, Character, CharacterSlider, CharacterJoint, PartBundleNode, MovingPartACScalarSwitchType, MovingPartScalar, MovingPartACMatrixSwitchType, MovingPartMatrix, MovingPartBase, PartBundle, BindAnimRequest, AnimChannelScalarTable, AnimChannelScalarDynamic, AnimChannelMatrixXfmTable, AnimChannelMatrixDynamic, AnimChannelScalar, AnimChannelMatrix, AnimChannelBase, AnimControl, PartGroup, AnimBundleNode, AnimBundle, AnimGroup, RigidBodyCombiner, SceneGraphAnalyzerMeter, Texture, MovieTexture, TextNode, FrameRateMeter, UserDataAudio, MicrophoneAudio, InkblotVideo, FfmpegVideo, MovieVideo, FfmpegAudio, MovieAudio, PortalNode, PolylightNode, OccluderNode, ModelRoot, ModelNode, ModelLoadRequest, AsyncTask, ModelFlattenRequest, PandaLoader, Fog, GeomNode, PlaneNode, LensNode, UvScrollNode, SwitchNode, Spotlight, SequenceNode, SelectiveChildNode, PointLight, FadeLODNode, LODNode, DirectionalLight, Camera, LightLensNode, CallbackNode, AmbientLight, PandaNode, LightNode, DataNode, and MouseRecorder.

string getName ( )

Reimplemented in DynamicTextFont.

bool hasName ( )

Returns true if the Namable has a nonempty name set, false if the name is empty.

Namable operator= ( Namable const  other)
output ( ostream  out)

Outputs the Namable.

This function simply writes the name to the output stream; most Namable derivatives will probably redefine this.

Reimplemented in MouseWatcherRegion, Material, SimpleLru, AdaptiveLru, AsyncTaskManager, AsyncTaskChain, Thread, CollisionTraverser, PartBundle, AnimControl, AnimGroup, TextNode, AsyncTask, PandaLoader, LightLensNode, PandaNode, and LightNode.

setName ( string  name)

Reimplemented in PGItem, and AsyncTask.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties