#include <tRecorder.h>


Static Public Member Functions | |
| static bool | Record (char const *section) |
| Records an empty section. | |
| static bool | Playback (char const *section) |
| Plays back an empty section. | |
| static bool | PlaybackStrict (char const *section) |
| Plays back an empty section, making sure it exists in the recording. | |
| template<class DATA> | |
| static bool | Record (char const *section, DATA const &data) |
| Records a section with one piece of data. | |
| template<class DATA> | |
| static bool | Playback (char const *section, DATA &data) |
| Plays back a section with one piece of data. | |
| template<class DATA> | |
| static bool | PlaybackStrict (char const *section, DATA &data) |
| Plays back a section with one piece of data, making sure it exists in the recording. | |
| template<class DATA1, class DATA2> | |
| static bool | Record (char const *section, DATA1 const &data1, DATA2 const &data2) |
| Records a section with two pieces of data. | |
| template<class DATA1, class DATA2> | |
| static bool | Playback (char const *section, DATA1 &data1, DATA2 &data2) |
| template<class DATA1, class DATA2> | |
| static bool | PlaybackStrict (char const *section, DATA1 &data1, DATA2 &data2) |
| Plays back a section with two pieces of data, making sure it exists in the recording. | |
Definition at line 93 of file tRecorder.h.
| bool tRecorder::Record | ( | char const * | section | ) | [static] |
Records an empty section.
| section | the name of the section to record or play back |
Definition at line 96 of file tRecorder.cpp.
References tRecorderTemplate1< BLOCK >::Archive().
Referenced by gAIPlayer::ActOnData(), ANET_Error(), ANET_GetHostList(), tRecorderSync< DATA >::Archive(), filter(), nAddress::GetHostname(), tTextFileRecorder::GetLine(), GetMyHostName(), eTimer::IsSynced(), nServerInfo::Load(), tConfItemBase::LoadAll(), tConfItemBase::LoadPlayback(), login_accept_handler(), main(), gGame::NetSync(), tTextFileRecorder::Open(), PasswordCallback(), se_SmoothTime(), nBasicNetworkSystem::Select(), nAddress::SetHostname(), st_GetDebugLevelPlayback(), su_EndGetSDLInput(), su_GetSDLInput(), tReproducibleRandomizer::tReproducibleRandomizer(), welcome(), and nSocket::Write().
00097 { 00098 // delegate 00099 return tRecorderTemplate1< tRecordingBlock >::Archive( false, section ); 00100 }


| bool tRecorder::Playback | ( | char const * | section | ) | [static] |
Plays back an empty section.
| section | the name of the section to record or play back |
Definition at line 113 of file tRecorder.cpp.
References tRecorderTemplate1< BLOCK >::Archive().
Referenced by gAIPlayer::ActOnData(), ANET_GetHostList(), tTextFileRecorder::GetLine(), eTimer::IsSynced(), nServerInfo::Load(), tConfItemBase::LoadPlayback(), login_accept_handler(), main(), gGame::NetSync(), tTextFileRecorder::Open(), PasswordCallback(), st_GetDebugLevelPlayback(), su_EndGetSDLInput(), su_GetSDLInput(), welcome(), and nSocket::Write().
00114 { 00115 // delegate 00116 return tRecorderTemplate1< tPlaybackBlock >::Archive( false, section ); 00117 }


| bool tRecorder::PlaybackStrict | ( | char const * | section | ) | [static] |
Plays back an empty section, making sure it exists in the recording.
| section | the name of the section to record or play back |
Definition at line 130 of file tRecorder.cpp.
References tRecorderTemplate1< BLOCK >::Archive().
Referenced by ANET_Error(), tRecorderSync< DATA >::Archive(), nAddress::GetHostname(), GetMyHostName(), nServerInfo::Load(), main(), se_SmoothTime(), nBasicNetworkSystem::Select(), nAddress::SetHostname(), and tReproducibleRandomizer::tReproducibleRandomizer().
00131 { 00132 // delegate 00133 return tRecorderTemplate1< tPlaybackBlock >::Archive( true, section ); 00134 }


| static bool tRecorder::Record | ( | char const * | section, | |
| DATA const & | data | |||
| ) | [inline, static] |
Records a section with one piece of data.
Definition at line 102 of file tRecorder.h.
References tRecorderTemplate2< BLOCK, DATA >::Archive().
00103 { return tRecorderTemplate2< tRecordingBlock, DATA const & >::Archive( false, section, data ); }

| static bool tRecorder::Playback | ( | char const * | section, | |
| DATA & | data | |||
| ) | [inline, static] |
Plays back a section with one piece of data.
Definition at line 107 of file tRecorder.h.
References tRecorderTemplate2< BLOCK, DATA >::Archive().
00108 { return tRecorderTemplate2< tPlaybackBlock, DATA & >::Archive( false, section, data ); }

| static bool tRecorder::PlaybackStrict | ( | char const * | section, | |
| DATA & | data | |||
| ) | [inline, static] |
Plays back a section with one piece of data, making sure it exists in the recording.
Definition at line 112 of file tRecorder.h.
References tRecorderTemplate2< BLOCK, DATA >::Archive().
00113 { return tRecorderTemplate2< tPlaybackBlock, DATA & >::Archive( true, section, data ); }

| static bool tRecorder::Record | ( | char const * | section, | |
| DATA1 const & | data1, | |||
| DATA2 const & | data2 | |||
| ) | [inline, static] |
Records a section with two pieces of data.
Plays back a section with two pieces of data
Definition at line 117 of file tRecorder.h.
References tRecorderTemplate3< BLOCK, DATA1, DATA2 >::Archive().

| static bool tRecorder::Playback | ( | char const * | section, | |
| DATA1 & | data1, | |||
| DATA2 & | data2 | |||
| ) | [inline, static] |
Definition at line 122 of file tRecorder.h.
References tRecorderTemplate3< BLOCK, DATA1, DATA2 >::Archive().
00123 { return tRecorderTemplate3< tPlaybackBlock, DATA1 &, DATA2 & >::Archive( false, section, data1, data2 ); }

| static bool tRecorder::PlaybackStrict | ( | char const * | section, | |
| DATA1 & | data1, | |||
| DATA2 & | data2 | |||
| ) | [inline, static] |
Plays back a section with two pieces of data, making sure it exists in the recording.
Definition at line 127 of file tRecorder.h.
References tRecorderTemplate3< BLOCK, DATA1, DATA2 >::Archive().
00128 { return tRecorderTemplate3< tPlaybackBlock, DATA1 &, DATA2 & >::Archive( true, section, data1, data2 ); }

1.5.4