25DialNode(
ClientBase *client,
const std::string &device_name) :
28 nassertv(client !=
nullptr);
30 client->get_device(ClientDialDevice::get_class_type(), device_name);
32 if (device ==
nullptr) {
34 <<
"Unable to open dial device " << device_name <<
"\n";
38 if (!device->is_of_type(ClientDialDevice::get_class_type())) {
40 <<
"Inappropriate device type " << device->get_type()
41 <<
" created; expected a ClientDialDevice.\n";
An abstract base class for a family of client device interfaces–including trackers,...
Any of a number of different devices that might be attached to a ClientBase, including trackers,...
A device, attached to the ClientBase by a DialNode, that records the data from a single named dial de...
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...
Encapsulates the data generated from (or sent into) any particular DataNode.
The fundamental type of node for the data graph.
bool is_valid() const
Returns true if the DialNode is valid and connected to a server, false otherwise.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.