#include "Tools/Streams/InOut.h"#include "Tools/Streams/Streamable.h"#include <vector>#include <stack>#include <typeinfo>#include <ext/hash_map>Include dependency graph for StreamHandler.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | RegisteringAttributes |
| class | StreamHandler |
Defines | |
| #define | STREAM_REGISTER_BEGIN_EXT(s) |
| #define | STREAM_EXT(stream, s) streamObject( stream ,s); |
| #define | STREAM_ENUMASINT_EXT(stream, s) streamEnum( stream , s); |
| #define | STREAM_ENUM_EXT(stream, s, numberOfEnumElements, getNameFunctionPtr) streamEnum( stream , s); |
| #define | STREAM_BASE_EXT(stream, s) streamObject( stream, s); |
| #define | STREAM_ARRAY_EXT(stream, s) streamStaticArray( stream, s, sizeof(s)); |
| #define | STREAM_DYN_ARRAY_EXT(stream, s, count) streamDynamicArray( stream, s, count); |
| #define | STREAM_REGISTER_BEGIN() |
| #define | STREAM_BASE(s) |
| #define | STREAM(s) |
| #define | STREAM_ENUMASINT(s) |
| #define | STREAM_ENUM(s, numberOfEnumElements, getNameFunctionPtr) |
| #define | STREAM_ARRAY(s) |
| #define | STREAM_DYN_ARRAY(s, count) |
| #define | STREAM_REGISTER_FINISH() |
Functions | |
| Out & | operator<< (Out &out, const StreamHandler &streamHandler) |
| In & | operator>> (In &in, bool &inBool) |
| Out & | operator<< (Out &out, bool &outBool) |
| template<class T> In & | streamStaticArray (In &in, T inArray[], int size) |
| template<class T> Out & | streamStaticArray (Out &out, T outArray[], int size) |
| template<class T> In & | streamDynamicArray (In &in, T *inArray, int &numberOfEntries) |
| template<class T> Out & | streamDynamicArray (Out &out, T *outArray, int numberOfEntries) |
| void | initStreamHandler (StreamHandler *streamHandlerPtr) |
| StreamHandler & | getStreamHandler () |
| template<class T> void | streamObject (In &in, T &t) |
| template<class T> void | streamObject (Out &out, T &t) |
| template<class T> void | streamEnum (In &in, T &t) |
| template<class T> void | streamEnum (Out &out, T &t) |
|
|
Definition at line 8 of file StreamHandler.h. Referenced by operator<<(), and operator>>(). |
|
|
Definition at line 10 of file StreamHandler.h. Referenced by operator<<(), and operator>>(). |
|
|
Definition at line 13 of file StreamHandler.h. Referenced by BallHandling::serialize(). |
|
|
Definition at line 16 of file StreamHandler.h. |
|
|
Definition at line 19 of file StreamHandler.h. Referenced by operator<<(), and operator>>(). |
|
|
Definition at line 22 of file StreamHandler.h. Referenced by operator<<(), and operator>>(). |
|
|
Definition at line 25 of file StreamHandler.h. Referenced by operator<<(), and operator>>(). |
|
|
|
Value: if( in){ \ if(dynamic_cast< s *>(this)) \ this-> s ::serialize( in, out); \ else \ *in >> (*this); \ }else{ \ if(dynamic_cast< s *>(this)) \ this-> s ::serialize( in, out); \ else \ *out << (*this); \ } Definition at line 30 of file StreamHandler.h. Referenced by LinesPercept::LinePoint::serialize(), Goal::serialize(), Flag::serialize(), CommunicatedBallState::serialize(), PropagatedBallState::serialize(), and SeenBallState::serialize(). |
|
|
|
Value: if( in){ \ streamEnum( *in , s);\ }else{ \ streamEnum( *out , s);\ } Definition at line 50 of file StreamHandler.h. Referenced by ObstaclesPercept::Segment::serialize(), Goal::serialize(), and Flag::serialize(). |
|
|
Value: if( in){ \ streamEnum( *in , s);\ }else{ \ streamEnum( *out , s);\ } Definition at line 57 of file StreamHandler.h. Referenced by LinesPercept::LineCrossingPoint::serialize(), MotionRequest::serialize(), and HeadControlMode::serialize(). |
|
|
Value: if(in) \ streamStaticArray( *in, s, sizeof(s)); \ else \ streamStaticArray( *out, s, sizeof(s)); Definition at line 64 of file StreamHandler.h. Referenced by ObstaclesPercept::serialize(), and LinesPercept::serialize(). |
|
|
Value: if(in) \ streamDynamicArray( *in, s, count); \ else \ streamDynamicArray( *out, s, count); Definition at line 70 of file StreamHandler.h. Referenced by PlayersPercept::serialize(), ObstaclesPercept::serialize(), MultipleBallPerceptList::serialize(), LinesPercept::serialize(), LinesPercept::LinePoints::serialize(), LandmarksPercept::serialize(), and EdgesPercept::serialize(). |
|
|
||||||||||||
|
Definition at line 43 of file StreamHandler.cpp. References StreamHandler::basicTypeSpecification, StreamHandler::enumSpecification, out, and StreamHandler::specification. |
|
||||||||||||
|
Definition at line 101 of file StreamHandler.cpp. References in. |
|
||||||||||||
|
Definition at line 109 of file StreamHandler.cpp. References out. |
|
||||||||||||||||||||
|
Definition at line 331 of file StreamHandler.h. References in. |
|
||||||||||||||||||||
|
Definition at line 341 of file StreamHandler.h. References out. |
|
||||||||||||||||||||
|
Definition at line 352 of file StreamHandler.h. References in. |
|
||||||||||||||||||||
|
Definition at line 362 of file StreamHandler.h. References out. |
|
|
Definition at line 91 of file StreamHandler.cpp. Referenced by Process::Process(), and Process::processMain(). |
|
|
Definition at line 96 of file StreamHandler.cpp. Referenced by Cognition::main(), and SeenBallState::serialize(). |
|
||||||||||||||||
|
Definition at line 379 of file StreamHandler.h. References in. |
|
||||||||||||||||
|
Definition at line 384 of file StreamHandler.h. References out. |
|
||||||||||||||||
|
Definition at line 389 of file StreamHandler.h. References in. |
|
||||||||||||||||
|
Definition at line 396 of file StreamHandler.h. References out. |
1.3.6