Namespaces | |
bagmode | |
compression | |
Classes | |
class | AesCbcEncryptor |
class | Bag |
struct | BagCallback |
class | BagCallbackT |
class | BagCallbackT< MessageInstance > |
class | BagException |
Base class for rosbag exceptions. More... | |
class | BagFormatException |
Exception thrown on problems reading the bag format. More... | |
class | BagIOException |
Exception thrown when on IO problems. More... | |
class | BagPlayer |
struct | BagQuery |
Pairs of queries and the bags they come from (used internally by View) More... | |
class | BagUnindexedException |
Exception thrown on problems reading the bag index. More... | |
class | Buffer |
class | BZ2Stream |
class | ChunkedFile |
ChunkedFile reads and writes files which contain interleaved chunks of compressed and uncompressed data. More... | |
struct | ChunkHeader |
struct | ChunkInfo |
struct | ConnectionInfo |
class | EncryptorBase |
class | FileAccessor |
struct | IndexEntry |
struct | IndexEntryCompare |
class | LZ4Stream |
class | MessageInstance |
A class pointing into a bag file. More... | |
struct | MessageRange |
class | NoEncryptor |
class | Query |
class | Stream |
class | StreamFactory |
class | TopicQuery |
class | TypeQuery |
class | UncompressedStream |
class | View |
struct | ViewIterHelper |
The actual iterator data structure. More... | |
struct | ViewIterHelperCompare |
Typedefs | |
typedef bagmode::BagMode | BagMode |
typedef compression::CompressionType | CompressionType |
Functions | |
static std::basic_string< unsigned char > | decryptStringGpg (std::string const &user, std::string const &input) |
Decrypt string using GPGME. More... | |
static std::string | encryptStringGpg (std::string &user, std::basic_string< unsigned char > const &input) |
Encrypt string using GPGME. More... | |
void | getGpgKey (gpgme_ctx_t &ctx, std::string const &user, gpgme_key_t &key) |
Get GPG key. More... | |
void | initGpgme () |
Initialize GPGME library. More... | |
static std::string | readHeaderField (ros::M_string const &header_fields, std::string const &field_name) |
void | swap (Bag &a, Bag &b) |
void | swap (Buffer &a, Buffer &b) |
void | swap (ChunkedFile &a, ChunkedFile &b) |
Variables | |
static const std::string | CALLERID_FIELD_NAME = "callerid" |
static const std::string | CHUNK_COUNT_FIELD_NAME = "chunk_count" |
static const uint32_t | CHUNK_INFO_VERSION = 1 |
static const std::string | CHUNK_POS_FIELD_NAME = "chunk_pos" |
static const std::string | COMPRESSION_BZ2 = "bz2" |
static const std::string | COMPRESSION_FIELD_NAME = "compression" |
static const std::string | COMPRESSION_LZ4 = "lz4" |
static const std::string | COMPRESSION_NONE = "none" |
static const std::string | CONNECTION_COUNT_FIELD_NAME = "conn_count" |
static const std::string | CONNECTION_FIELD_NAME = "conn" |
static const std::string | COUNT_FIELD_NAME = "count" |
static const std::string | DEF_FIELD_NAME = "def" |
static const std::string | ENCRYPTOR_FIELD_NAME = "encryptor" |
static const std::string | END_TIME_FIELD_NAME = "end_time" |
static const unsigned char | FIELD_DELIM = '=' |
static const uint32_t | FILE_HEADER_LENGTH = 4 * 1024 |
static const std::string | INDEX_POS_FIELD_NAME = "index_pos" |
static const uint32_t | INDEX_VERSION = 1 |
static const std::string | LATCHING_FIELD_NAME = "latching" |
static const std::string | MD5_FIELD_NAME = "md5" |
static const std::string | NSEC_FIELD_NAME = "nsec" |
static const unsigned char | OP_CHUNK = 0x05 |
static const unsigned char | OP_CHUNK_INFO = 0x06 |
static const unsigned char | OP_CONNECTION = 0x07 |
static const std::string | OP_FIELD_NAME = "op" |
static const unsigned char | OP_FILE_HEADER = 0x03 |
static const unsigned char | OP_INDEX_DATA = 0x04 |
static const unsigned char | OP_MSG_DATA = 0x02 |
static const unsigned char | OP_MSG_DEF = 0x01 |
static const std::string | SEC_FIELD_NAME = "sec" |
static const std::string | SIZE_FIELD_NAME = "size" |
static const std::string | START_TIME_FIELD_NAME = "start_time" |
static const std::string | TIME_FIELD_NAME = "time" |
static const std::string | TOPIC_FIELD_NAME = "topic" |
static const std::string | TYPE_FIELD_NAME = "type" |
static const std::string | VER_FIELD_NAME = "ver" |
static const std::string | VERSION = "2.0" |
typedef bagmode::BagMode rosbag::BagMode |
|
static |
Decrypt string using GPGME.
user | User name of the GPG key to be used for decryption |
input | Encrypted string |
This method decrypts the given encrypted string. This method throws BagException in case of errors.
Definition at line 150 of file aes_encryptor.cpp.
|
static |
Encrypt string using GPGME.
user | User name of the GPG key to be used for encryption |
input | Input string to be encrypted |
This method encrypts the given string using the GPG key owned by the specified user. This method throws BagException in case of errors.
Definition at line 92 of file aes_encryptor.cpp.
void rosbag::getGpgKey | ( | gpgme_ctx_t & | ctx, |
std::string const & | user, | ||
gpgme_key_t & | key | ||
) |
Get GPG key.
ctx | GPGME context |
user | User name of the GPG key |
key | GPG key found |
This method outputs a GPG key in the system keyring corresponding to the given user name. This method throws BagException if the key is not found or error occurred.
Definition at line 85 of file gpgme_utils.cpp.
void rosbag::initGpgme | ( | ) |
Initialize GPGME library.
This method initializes GPGME library, and set locale.
Definition at line 74 of file gpgme_utils.cpp.
|
static |
Definition at line 199 of file aes_encryptor.cpp.
|
inline |
Definition at line 137 of file chunked_file.h.
|
static |
Definition at line 105 of file constants.h.
|
static |
Definition at line 88 of file constants.h.
|
static |
Definition at line 125 of file constants.h.
|
static |
Definition at line 95 of file constants.h.
|
static |
Definition at line 129 of file constants.h.
|
static |
Definition at line 90 of file constants.h.
|
static |
Definition at line 130 of file constants.h.
|
static |
Definition at line 128 of file constants.h.
|
static |
Definition at line 87 of file constants.h.
|
static |
Definition at line 89 of file constants.h.
|
static |
Definition at line 85 of file constants.h.
|
static |
Definition at line 101 of file constants.h.
|
static |
Definition at line 96 of file constants.h.
|
static |
Definition at line 94 of file constants.h.
|
static |
Definition at line 79 of file constants.h.
|
static |
Definition at line 119 of file constants.h.
|
static |
Definition at line 86 of file constants.h.
|
static |
Definition at line 122 of file constants.h.
|
static |
Definition at line 104 of file constants.h.
|
static |
Definition at line 99 of file constants.h.
|
static |
Definition at line 103 of file constants.h.
|
static |
Definition at line 111 of file constants.h.
|
static |
Definition at line 112 of file constants.h.
|
static |
Definition at line 113 of file constants.h.
|
static |
Definition at line 82 of file constants.h.
|
static |
Definition at line 109 of file constants.h.
|
static |
Definition at line 110 of file constants.h.
|
static |
Definition at line 108 of file constants.h.
|
static |
Definition at line 116 of file constants.h.
|
static |
Definition at line 102 of file constants.h.
|
static |
Definition at line 91 of file constants.h.
|
static |
Definition at line 93 of file constants.h.
|
static |
Definition at line 92 of file constants.h.
|
static |
Definition at line 83 of file constants.h.
|
static |
Definition at line 100 of file constants.h.
|
static |
Definition at line 84 of file constants.h.
|
static |
Definition at line 76 of file constants.h.