25 DialNode(
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";
The fundamental type of node for the data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool is_valid() const
Returns true if the DialNode is valid and connected to a server, false otherwise.
A device, attached to the ClientBase by a DialNode, that records the data from a single named dial de...
An abstract base class for a family of client device interfaces–including trackers,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data generated from (or sent into) any particular DataNode.
Any of a number of different devices that might be attached to a ClientBase, including trackers,...
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...