open_toontown_panda3d/panda/src/display/interactiveGraphicsPipe.cxx

48 lines
1.4 KiB
C++

// Filename: interativeGraphicsPipe.cxx
// Created by: cary (10Mar99)
//
////////////////////////////////////////////////////////////////////
#include "interactiveGraphicsPipe.h"
#include "config_display.h"
////////////////////////////////////////////////////////////////////
// Static variables
////////////////////////////////////////////////////////////////////
TypeHandle InteractiveGraphicsPipe::_type_handle;
InteractiveGraphicsPipe::InteractiveGraphicsPipe(const PipeSpecifier& spec)
: GraphicsPipe(spec) {}
InteractiveGraphicsPipe::InteractiveGraphicsPipe(void) {
display_cat.error()
<< "InteractiveGraphicsPipe should not be created with default constructor" << endl;
}
InteractiveGraphicsPipe::InteractiveGraphicsPipe(const InteractiveGraphicsPipe&) {
display_cat.error()
<< "InteractiveGraphicsPipes should not be copied" << endl;
}
InteractiveGraphicsPipe& InteractiveGraphicsPipe::operator=(const InteractiveGraphicsPipe&) {
display_cat.error()
<< "InteractiveGraphicsPipes should not be assigned" << endl;
return *this;
}
InteractiveGraphicsPipe::~InteractiveGraphicsPipe(void) {}
TypeHandle InteractiveGraphicsPipe::get_class_type(void) {
return _type_handle;
}
void InteractiveGraphicsPipe::init_type(void) {
GraphicsPipe::init_type();
register_type(_type_handle, "InteractiveGraphicsPipe",
GraphicsPipe::get_class_type());
}
TypeHandle InteractiveGraphicsPipe::get_type(void) const {
return get_class_type();
}