# certi.hh File Reference

`#include <vector>`
`#include <inttypes.h>`
`#include "RTI.hh"`

Go to the source code of this file.

## Namespaces
namespace | certi
## Defines
#define | STAT_FUNCTION stat
#define | STAT_STRUCT struct stat
#define | CERTI_INT64_CONSTANT(val) (val##LL)
#define | CERTI_INT64_FORMAT "ll"
#define | CERTI_EXPORT
#define | BUFFER_EXCEPTION_REASON_SIZE 256
#define | RTI_PRINTS_STATISTICS
#define | RTIG_AUDIT_FILENAME "RTIG.log"
#define | AUDIT_CURRENT_LEVEL 5
#define | HLA_SERVER_PRINCIPAL_NAME "RTIG@server"
#define | HLA_GSS_SESSION_DURATION 3600
#define | RTI_GSS_NOTHING 0
#define | RTI_GSS_SIGN_ONLY 1
#define | RTI_GSS_ENCRYPT 2
#define | RTI_GSSAPI_USAGE RTI_GSS_NOTHING
#define | HLA_GSS_FLAGS 0
#define | CERTI_UINT16_SWAP_BYTES(val)
#define | CERTI_UINT32_SWAP_BYTES(val)
#define | CERTI_UINT64_SWAP_BYTES(val)
## Typedefs
typedef unsigned short | UShort
typedef unsigned long | ULong
typedef long | Long
typedef ULong | Handle
typedef Handle | ObjectClassHandle
typedef Handle | InteractionClassHandle
typedef ULong | ExtentIndex
typedef Handle | AttributeHandle
typedef Handle | ParameterHandle
typedef Handle | ObjectHandle
typedef Handle | DimensionHandle
typedef Handle | FederateHandle
typedef Handle | OrderType
typedef Long | SpaceHandle
typedef Handle | TransportType
typedef RTI::EventRetractionHandle | EventRetractionHandle
typedef UShort | ObjectHandlecount
typedef std::string | ObjectName_t
typedef std::string | AttributeValue_t
typedef std::string | ParameterValue_t
typedef Handle | RegionHandle
## Enumerations
enum | ObjectRemovalReason { OUT_OF_REGION = 1, OBJECT_DELETED, NO_LONGER_SUBSCRIBED }
## Variables
const TransportType | RELIABLE = 1
const TransportType | BEST_EFFORT = 2
const OrderType | RECEIVE = 1
const OrderType | TIMESTAMP = 2
const int | MAX_BACKLOG = 256

## Define Documentation

#define AUDIT_CURRENT_LEVEL 5

Definition at line 177 of file certi.hh.

Referenced by AuditFile::endLine(), and AuditFile::putLine().

#define BUFFER_EXCEPTION_REASON_SIZE 256

Definition at line 101 of file certi.hh.

Referenced by RTIG::processIncomingMessage().

#define CERTI_EXPORT

Definition at line 89 of file certi.hh.

#define CERTI_INT64_CONSTANT | ( | val |  | ) | (val##LL)

Definition at line 86 of file certi.hh.

#define CERTI_INT64_FORMAT "ll"

Definition at line 87 of file certi.hh.

#define CERTI_UINT16_SWAP_BYTES | ( | val |  | ) |

Value:

    ((uint16_t) ( \
        (((uint16_t) (val) & (uint16_t) 0x00ffU) << 8) |  \
        (((uint16_t) (val) & (uint16_t) 0xff00U) >> 8)))

Definition at line 220 of file certi.hh.

Referenced by MessageBuffer::read_uint16s(), and MessageBuffer::write_uint16s().

#define CERTI_UINT32_SWAP_BYTES | ( | val |  | ) |

Value:

    ((uint32_t) (     \
        (((uint32_t) (val) & (uint32_t) 0x000000ffU) << 24) | \
        (((uint32_t) (val) & (uint32_t) 0x0000ff00U) <<  8) | \
        (((uint32_t) (val) & (uint32_t) 0x00ff0000U) >>  8) | \
        (((uint32_t) (val) & (uint32_t) 0xff000000U) >> 24)))

Definition at line 224 of file certi.hh.

Referenced by MessageBuffer::read_uint32s(), MessageBuffer::read_uint64s(), MessageBuffer::write_uint32s(), and MessageBuffer::write_uint64s().

#define CERTI_UINT64_SWAP_BYTES | ( | val |  | ) |

Value:

    ((uint64_t) (                   \
          (((uint64_t) (val) &                      \
        (uint64_t) CERTI_INT64_CONSTANT(0x00000000000000ffU)) << 56) |  \
          (((uint64_t) (val) &                      \
        (uint64_t) CERTI_INT64_CONSTANT(0x000000000000ff00U)) << 40) |  \
          (((uint64_t) (val) &                      \
        (uint64_t) CERTI_INT64_CONSTANT(0x0000000000ff0000U)) << 24) |  \
          (((uint64_t) (val) &                      \
        (uint64_t) CERTI_INT64_CONSTANT(0x00000000ff000000U)) <<  8) |  \
          (((uint64_t) (val) &                      \
        (uint64_t) CERTI_INT64_CONSTANT(0x000000ff00000000U)) >>  8) |  \
          (((uint64_t) (val) &                      \
        (uint64_t) CERTI_INT64_CONSTANT(0x0000ff0000000000U)) >> 24) |  \
          (((uint64_t) (val) &                      \
        (uint64_t) CERTI_INT64_CONSTANT(0x00ff000000000000U)) >> 40) |  \
          (((uint64_t) (val) &                      \
        (uint64_t) CERTI_INT64_CONSTANT(0xff00000000000000U)) >> 56)))

Definition at line 230 of file certi.hh.

#define HLA_GSS_FLAGS 0

Definition at line 214 of file certi.hh.

#define HLA_GSS_SESSION_DURATION 3600

Definition at line 192 of file certi.hh.

#define HLA_SERVER_PRINCIPAL_NAME "RTIG@server"

Definition at line 188 of file certi.hh.

#define RTI_GSS_ENCRYPT 2

Definition at line 201 of file certi.hh.

#define RTI_GSS_NOTHING 0

Definition at line 199 of file certi.hh.

#define RTI_GSS_SIGN_ONLY 1

Definition at line 200 of file certi.hh.

#define RTI_GSSAPI_USAGE RTI_GSS_NOTHING

Definition at line 203 of file certi.hh.

#define RTI_PRINTS_STATISTICS

Definition at line 152 of file certi.hh.

#define RTIG_AUDIT_FILENAME "RTIG.log"

Definition at line 165 of file certi.hh.

#define STAT_FUNCTION stat

Definition at line 80 of file certi.hh.

Referenced by Federation::Federation().

#define STAT_STRUCT struct stat

Definition at line 81 of file certi.hh.

Referenced by Federation::Federation().