17 INLINE DataNodeTransmit::
24 INLINE DataNodeTransmit::
33 INLINE
void DataNodeTransmit::
44 _data.reserve(num_wires);
53 if (index >= 0 && index < (
int)_data.size()) {
57 return empty_parameter;
65 if (index >= 0 && index < (
int)_data.size()) {
66 return !_data[index].is_empty();
76 if (index >= (
int)_data.size()) {
79 nassertv(index >= 0 && index < (
int)_data.size());
Encapsulates the data generated from (or sent into) any particular DataNode.
const EventParameter & get_data(int index) const
Extracts the data for the indicated index, if it has been stored, or the empty parameter if it has no...
void set_data(int index, const EventParameter &data)
Sets the data for the indicated parameter.
bool has_data(int index) const
Returns true if the indicated parameter has been stored, false otherwise.
void reserve(int num_wires)
Tells the DataNodeTransmit object how many wires it is expected to store data for.
An optional parameter associated with an event.