The Sparta Modeling Framework
Loading...
Searching...
No Matches
Collectable.hpp File Reference

Implementation of the Collectable class that allows a user to collect an object into an pipeViewer pipeline file. More...

#include <algorithm>
#include <sstream>
#include <functional>
#include <type_traits>
#include <iomanip>
#include "sparta/app/Simulation.hpp"
#include "sparta/collection/PipelineCollector.hpp"
#include "sparta/collection/BitBucket.hpp"
#include "sparta/pipeViewer/transaction_structures.hpp"
#include "sparta/events/PayloadEvent.hpp"
#include "sparta/events/EventSet.hpp"
#include "sparta/events/SchedulingPhases.hpp"
#include "sparta/pairs/SpartaKeyPairs.hpp"
#include "sparta/utils/Utils.hpp"
#include "sparta/utils/MetaStructs.hpp"
#include "boost/numeric/conversion/converter.hpp"

Go to the source code of this file.

Classes

class  sparta::collection::CollectableCommon< DataT, collection_phase >
 Common code for all Collectable implementations below. More...
 
class  sparta::collection::Collectable< DataT, collection_phase, typename >
 
class  sparta::collection::Collectable< DataT, collection_phase, void >
 Use case 5: We are collecting a class/struct which provides SpartaPairDefinitionType. More...
 

Namespaces

namespace  sparta
 Macros for handling exponential backoff.
 

Concepts

concept  sparta::collection::use_pair_definition
 
concept  sparta::collection::use_raw_type
 
concept  sparta::collection::use_tiny_strings
 
concept  sparta::collection::use_cast_operator
 
concept  sparta::collection::use_dynamic_fields
 

Macros

#define INHERIT_COMMON_INTERFACE
 

Functions

template<typename U >
std::true_type sparta::collection::derives_from_pair_definition_ (const sparta::PairDefinition< U > *)
 
std::false_type sparta::collection::derives_from_pair_definition_ (...)
 

Detailed Description

Implementation of the Collectable class that allows a user to collect an object into an pipeViewer pipeline file.

Definition in file Collectable.hpp.

Macro Definition Documentation

◆ INHERIT_COMMON_INTERFACE

#define INHERIT_COMMON_INTERFACE
Value:
using ValueType = typename CollectableCommon<DataT, collection_phase>::ValueType; \
using CollectableCommon<DataT, collection_phase>::CollectableCommon; \
using CollectableCommon<DataT, collection_phase>::initialize; \
using CollectableCommon<DataT, collection_phase>::collect; \
using CollectableCommon<DataT, collection_phase>::collectWithDuration; \
using CollectableCommon<DataT, collection_phase>::closeRecord; \
using CollectableCommon<DataT, collection_phase>::setManualCollection; \
using CollectableCommon<DataT, collection_phase>::getEventSet_; \
using CollectableCommon<DataT, collection_phase>::bit_bucket_; \
using CollectableCommon<DataT, collection_phase>::entry_point_;

Definition at line 335 of file Collectable.hpp.