Panda3D
Functions
pStatProperties.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"

Go to the source code of this file.

Functions

EXPCL_PANDA_PSTATCLIENT int get_current_pstat_major_version ()
 Returns the current major version number of the PStats protocol. More...
 
EXPCL_PANDA_PSTATCLIENT int get_current_pstat_minor_version ()
 Returns the current minor version number of the PStats protocol. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2001-05-17

Definition in file pStatProperties.h.

Function Documentation

◆ get_current_pstat_major_version()

EXPCL_PANDA_PSTATCLIENT int get_current_pstat_major_version ( )

Returns the current major version number of the PStats protocol.

This is the version number that will be reported by clients running this code, and that will be expected by servers running this code.

The major version numbers must match exactly in order for a communication to be successful.

Definition at line 43 of file pStatProperties.cxx.

◆ get_current_pstat_minor_version()

EXPCL_PANDA_PSTATCLIENT int get_current_pstat_minor_version ( )

Returns the current minor version number of the PStats protocol.

This is the version number that will be reported by clients running this code, and that will be expected by servers running this code.

The minor version numbers need not match exactly, but the server must be >= the client.

Definition at line 56 of file pStatProperties.cxx.