Orxonox: orxonox Namespace Reference

# orxonox Namespace Reference

## Classes

class | AddQuest
| Adds a Quest, resp. changes the quests status to active for the player invoking the Quest. More...
class | AddQuestHint
| Adds a QuestHint, resp. activates the QuestHint of the given id for the player the QuestEffect is invoked on. More...
class | AddReward
| Adds a list of Rewardables to a player. More...
class | AIController
class | AnnounceMessage
class | ArgumentCompleter
class | ArgumentCompletionListElement
class | ArtificialController
class | Asteroids
class | Attacher
class | Backlight
class | BarColour
class | BaseCommand
class | BaseFactory
| Base-class of ClassFactory. Has to be defined separate because of circular dependencies. More...
class | BaseInputBufferListenerTuple
class | BaseItem
| Base class for all items/pickups. More...
class | BaseObject
| The BaseObject is the parent of all classes representing an instance in the game. More...
class | BigExplosion
class | Billboard
class | BillboardProjectile
class | BillboardSet
class | BlinkingBillboard
class | Bot
class | BoxCollisionShape
class | BufferedParamCommand
class | Button
class | Camera
class | CameraManager
class | CameraPosition
class | CEGUILogger
class | ChangeQuestStatus
| A QuestEffect which changes the status of a specified Quest for the player invoking the QuestEffect. More...
class | ChatListener
class | ChatOverlay
class | CheckPoint
class | ClassFactory
| The ClassFactory is able to create new objects of a specific class. More...
class | ClassIdentifier
| The ClassIdentifier is derived from Identifier and holds all class-specific functions and variables the Identifier cannot have. More...
class | ClassTreeMask
| The ClassTreeMask is a set of rules, containing the information for each class whether it's included or not. More...
class | ClassTreeMaskIterator
| The ClassTreeMaskIterator moves through all ClassTreeMaskNodes of the internal tree of a ClassTreeMask, containing the rules. More...
class | ClassTreeMaskNode
| The ClassTreeMaskNode is a node in the internal tree of the ClassTreeMask, containing the rules of the mask. More...
class | ClassTreeMaskObjectIterator
| The ClassTreeMaskObjectIterator iterates through all objects of all classes, included by a ClassTreeMask. More...
class | Client
class | ClientConnection
class | ClientConnectionListener
class | ClientInformation
class | Clock
class | CollisionShape
class | CommandEvaluation
class | CommandExecutor
class | CommandLine
| Global interface to command line options. Allows to add and retrieve command line arguments. Also does the parsing. More...
class | CommandLineArgument
| Container class for a command line argument of any type supported by MultiType. More...
class | CompleteQuest
| Completes a Quest (with a specified id) for the player invoking the QuestEffect. More...
class | CompoundCollisionShape
class | ConeCollisionShape
class | ConfigFile
class | ConfigFileEntry
class | ConfigFileEntryComment
class | ConfigFileEntryValue
class | ConfigFileEntryVectorValue
class | ConfigFileManager
class | ConfigFileSection
struct | ConfigFileType
class | ConfigValueCallback
class | ConfigValueCallbackBase
class | ConfigValueContainer
| The ConfigValuecontainer contains all needed informations about a configurable variable. More...
class | Connection
class | ConsoleCommand
class | ControllableEntity
class | Controller
struct | ConverterExplicit
struct | ConverterExplicit< bool, std::string >
struct | ConverterExplicit< btQuaternion, orxonox::Quaternion >
struct | ConverterExplicit< btVector3, orxonox::Vector3 >
struct | ConverterExplicit< char, std::string >
struct | ConverterExplicit< const char *, ToType >
struct | ConverterExplicit< orxonox::ColourValue, std::string >
struct | ConverterExplicit< orxonox::Quaternion, btQuaternion >
struct | ConverterExplicit< orxonox::Quaternion, std::string >
struct | ConverterExplicit< orxonox::Vector2, std::string >
struct | ConverterExplicit< orxonox::Vector3, btVector3 >
struct | ConverterExplicit< orxonox::Vector3, std::string >
struct | ConverterExplicit< orxonox::Vector4, std::string >
struct | ConverterExplicit< std::string, bool >
struct | ConverterExplicit< std::string, char >
struct | ConverterExplicit< std::string, Ogre::UTFString >
struct | ConverterExplicit< std::string, unsigned char >
struct | ConverterExplicit< unsigned char, std::string >
struct | ConverterFallback
struct | ConverterFallback< FromType *, ToType * >
struct | ConverterFallback< FromType, orxonox::Degree >
struct | ConverterFallback< FromType, orxonox::Radian >
struct | ConverterFallback< orxonox::Degree, ToType >
struct | ConverterFallback< orxonox::Radian, ToType >
struct | ConverterFallback< std::string, orxonox::ColourValue >
struct | ConverterFallback< std::string, orxonox::Quaternion >
struct | ConverterFallback< std::string, orxonox::Vector2 >
struct | ConverterFallback< std::string, orxonox::Vector3 >
struct | ConverterFallback< std::string, orxonox::Vector4 >
class | Core
| The Core class is a singleton used to configure the program basics. More...
class | CoreConfiguration
| Helper class for the Core singleton: we cannot derive Core from OrxonoxClass because we need to handle the Identifier destruction in the Core destructor. More...
class | CreateLines
class | Deathmatch
class | DeathMessage
class | DebugFPSText
class | DebugRTRText
class | DefaultWeaponmodeLink
class | Destroyer
class | DistanceTrigger
class | DroppedItem
class | EmptyHandler
class | EnergyDrink
class | Engine
class | EquipmentItem
| Base class for all equipment-type items. More...
struct | Event
class | EventContainer
class | EventDispatcher
class | EventListener
class | EventTarget
class | EventTrigger
class | Exception
| Base class for all exceptions (derived from std::exception). More...
class | Executor
class | ExecutorMember
class | ExecutorStatic
class | ExplosionChunk
class | ExprParser
class | ExtendedInputState
class | Factory
| The Factory is used to map the name or the network ID of a class with its Identifier. More...
class | FadeoutText
class | FadingBillboard
class | FailQuest
| Fails a quest (with a specified id) for the player invoking the QuestEffect. More...
class | ForceField
class | FunctionCallManager
class | Functor
class | FunctorMember
class | FunctorStatic
class | FusionFire
class | FusionMunition
class | Game
| Main class responsible for running the game. More...
class | GameConfiguration
| Another helper class for the Game singleton: we cannot derive Game from OrxonoxClass because we need to handle the Identifier destruction in the Core destructor. More...
class | GameMode
class | GameState

An implementation of a tree to manage game states. This leads to a certain hierarchy that is created at runtime. To actually use the structure, you will have to derive from it and implement 'enter', 'leave' and 'tick'. The latter corresponds to an update function. More...

class | GamestateClient
struct | GameStateConstrParams
| Helper class to group construction parameters for better genericity. More...
class | GamestateHandler
struct | GameStateItem
class | GamestateManager
struct | GameStateTreeNode
| Represents one node of the game state tree. More...
class | Gametype
class | GametypeInfo
class | GametypeMessageListener
class | GametypeStatus
class | GlobalQuest
| GlobalQuests are Quests, that have the same status for all players. This means, that when a player successfully completes a GlobalQuest, it is completed for all players that have it. More...
class | GlobalShader
class | GraphicsManager
| Graphics engine manager class. More...
class | GSClient
class | GSDedicated
class | GSGraphics
| Game state used when displaying graphics of any kind. Another blubb resides here. More...
class | GSIOConsole
class | GSLevel
class | GSMainMenu
class | GSRoot
class | GSServer
class | GSStandalone
class | GUIManager
| Provides a simple interface to CEGUI with tolua methods and console commands. It also acts as a key and mouse handler. More...
class | GUIOverlay
class | HalfAxis
class | HealthImmediate
| Health-item, immediatly recovers health when picked up. More...
class | HealthUsable
| Health-item, enables player recover health when used. More...
struct | HintContainer
class | Host

Base class of Server and Client This is the Base class of the Server and Client classes

- Makes server and client a singleton
- defines static functions available on both server and client
- is the interface to be used when communicating with the network.

More...

class | HsW01
class | HUDBar
class | HUDHealthBar
class | HUDNavigation
class | HUDRadar
class | HUDSpeedBar
class | HUDTimer
class | HumanController
class | HumanPlayer
class | Identifier
| The Identifier is used to identify the class of an object and to store informations about the class. More...
class | ImplicitConversion
| Detects whether you can implicitely cast FromType to ToType. More...
class | Info
class | InGameConsole
class | InputBuffer
class | InputBufferListenerTuple
class | InputHandler
class | InputManager
| Captures and distributes mouse and keyboard input. More...
class | InputState
struct | InputStatePriority
class | IntVector2
class | IntVector3
class | IRC
class | Item
class | Iterator
| The Iterator allows to iterate through a given ObjectList. More...
struct | JoyStickCalibration
class | JoyStickDeviceNumberListener
class | JoyStickHandler
| Interface class used for joy stick input listeners. More...
class | Jump
| Jump-item, enables player to "jump" into a direction. More...
struct | Key
class | KeyBinder
| Handles mouse, keyboard and joy stick input while in the actual game mode. Manages the key bindings. More...
class | KeyDetector
class | KeyEvent
class | KeyHandler
| Interface class used for key input listeners. More...
class | KillMessage
class | Language
| The Language class manges the language files and entries and stores the LanguageEntry objects in a map. More...
class | LanguageEntry
| The LanguageEntry class stores the default- and the translated string of a given entry in the language file. More...
class | LaserFire
class | LaserMunition
class | Level
class | LevelManager
class | Light
class | LightningGun
class | LightningGunProjectile
class | Loader
class | LocalQuest

Handles Quests which have different states for different players. LocalQuests have (as opposed to GlobalQuests) a different state for each player, that means if for one player the status of the Quest changes it does not for all the other players which also possess this quest. More...

class | LuaBind
class | Map
struct | mbool
class | Mesh
class | MetaObjectList
| The MetaObjectList contains ObjectListBaseElements and their ObjectListBases. More...
class | MetaObjectListElement
| The list-element of the MetaObjectList. More...
class | MobileEntity
class | Model
class | ModifierPickup
| Class for a (temporary) modifier effect. More...
class | MouseHandler
| Interface class used for mouse input listeners. More...
class | MovableEntity
class | MT_Value
| The MT_Value<T> class is used to hold a value of type T within a MultiType. More...
class | MultiStateEngine
class | MultiType
| The MultiType can hold a value of many possible types and convert them to other types. More...
class | Munition
class | MuzzleFlash
class | Namespace
class | NamespaceNode
class | NetworkCallback
class | NetworkCallbackBase
class | NetworkCallbackManager
class | NetworkFunctionBase
struct | NetworkFunctionPointer
class | NetworkFunctionStatic
class | NetworkMemberFunction
class | NetworkMemberFunctionBase
struct | NilValue
| Provides zero value symbols that can be returned as reference. More...
class | Notification

A Notification is a short message used to inform the player about something that just happened. A Notification can be sent from any part of orxonox and is then displayed in the proper NotificationQueue (depending on which senders the specific NotificationQueue accepts). More...

class | NotificationManager
| The Singleton NotificationManager functions as a gateway between Notifications and NotificationQueues. It receives, organizes Notifications and the redistributes them to the specific NotificationQueues. More...
class | NotificationOverlay
| The NotificationOverlay is used to display single Notifications, then bundled in a NotificationQUeue. More...
struct | NotificationOverlayContainer
| Container to allow easy handling. More...
struct | NotificationOverlayContainerCompare
| Struct to allow ordering of NotificationOverlayContainers. More...
class | NotificationQueue
| Displays Notifications from specific senders. Beware! The NotificationQueue is an OverlayGruop and thus cannot be be a sub-element of an OverlayGroup (at least no for now.). More...
class | obj
class | ObjectList
| The ObjectList contains all objects of the given class. More...
class | ObjectListBase
| The ObjectListBase contains all objects of a given class. More...
class | ObjectListBaseElement
| The list-element of the ObjectListBase. More...
class | ObjectListElement
| The list-element that actually contains the object. More...
class | ObjectListIterator
| The Iterator allows to iterate through the ObjectList of a given class. More...
class | objInfo
class | OgreWindowEventListener
struct | OrxEnum
class | OrxonoxClass
| The class all objects and interfaces of the game-logic (not the engine) are derived from. More...
class | OrxonoxOverlay

Base class to display content directly onto the screen. This is merely a wrapper of the Ogre::Overlay to implement more features and integrate it in our class hierarchy for xml loading and config values. The mentioned features are:

- Automatic positioning depending on the scale and the rotation angle. You can specify a "pick point" relative to the overlay itself. This point will always be exactly at the position (position_) of the overlay. That allows for margin/corner aligment. It even works when a rotation angle is applied.
- Virtual methods for changedVisibilty() (BaseObject), angleChanged(), sizeCorrectionChanged(), sizeChanged() and positionChanged(), that can be overridden by any derivative. This enables for custom configurability of the size, position and rotation attributes. For intance, the HUDNavigation should behave differently to sizeChanged() than a standard overlay.
- Console commands for scale, rotate and scroll (accessed by name)
- Standard Ogre::PanelOverlayElement for a background image (class doesn't have to be derived only for displaying a picture).
- Reacts to changes of the window aspect
- Last but not least: On demand you can tell the overlay to automatically resale to correct for aspect distortion. E.g. if you play 1024x768 you wouldn't want a round object to be oval. Remark: This can (due to the Ogre::Overlay transformation order) only work for angle that are multiples of 90 degrees. But it's only a small drawback.

More...

class | OutputBuffer
| The OutputBuffer acts almost like std::ostream and stores the assigned text. More...
class | OutputBufferListener
| A pure virtual baseclass for classes that want to register as listener to an OutputBuffer. More...
class | OutputHandler
| The OutputHandler acts like std::cout, but redirects output to the console, the logfile and the ingame shell. More...
class | OverlayGroup

OverlayGroup does almost exactly what it says: It groups OrxonoxOverlays together. You can scroll the entire group by a certain amount. Scale however works differently than expected: Each OrxonoxOverlay scales individually. That's quite useful when you create your HUD with an OverlayGroup and then want to alter its size. More...

class | OverlayText
class | ParamCommand
class | ParticleEmitter
class | ParticleInterface
class | ParticleProjectile
class | ParticleSpawner
class | PassiveItem
| Base class for all passive items. More...
class | Pawn
class | PawnListener
class | PawnManager
class | PickupCollection
| PickupCollection for organising items. More...
class | PickupInventory
| Static class for the inventory GUI window. More...
class | PickupSpawner
| PickupSpawner. More...
class | PlaneCollisionShape
class | Planet
struct | Player
class | PlayerInfo
class | PlayerManager
class | PlayerTrigger
| A PlayerTrigger is a trigger which is normally triggered by ControllableEntities and can as such return a pointer to the ControllableEntity which triggered it. More...
class | Pong
class | PongAI
class | PongBall
class | PongBat
class | PongBot
class | PongCenterpoint
class | PongScore
class | POVStates
| Helper class to realise a vector<int[4]>. More...
class | Projectile
class | Quest

Represents a Quest in the game. A Quest has a list of subquests and a parentquest (if it is not a rootquest). Each Quest exists only once but it has a different status (inactive, active, failed or completed) for each player. A Quest has several hints (QuestHint) that can be unlocked through QuestEffects and then display aid in solving the Quest. A Quest has a list of QuestEffects that are invoked when the quest is failed and also a list of QuestEffects that are invoked, when the Quest is completed. More...

struct | QuestContainer
class | QuestDescription
| This class is a description of a QuestItem. It holds a title and a description. More...
class | QuestEffect
| Handles QuestEffects for Quests. QuestEffects are the only way for Quests to have any sideeffects in the game world. They are also the only way for a player to gain, complete or fail Quests. More...
class | QuestEffectBeacon

A QuestEffectBeacon is a physical entity in the game which can (under some condition(s)) invoke a number QuestEffects on players meeting the condition(s). The conditions under which the QuestEffects are invoked on the player are defined by Triggers. A QuestEffectBeacon can be executed a defined number of times. A QuestEffectBeacon can be inactive or active. More...

class | QuestHint

Represents a hint in the game towards completing a Quest. Consists of title and description (which is stored in a QuestDescription object) in textual form and must belong to a quest. A QuestHint has a defined status (inactive or active, where inactive is default) for each player, which means each a QuestHint exists only once for all players, it doesn't belong to a player, it just has different states for each of them. More...

class | QuestItem
| Functions as a base class for quest classes such as Quest or QuestHint. Has a unique identifier and a description. More...
class | QuestListener
| Provides a way to react to the starting, completing and failing of Quests. More...
class | QuestManager

Is a Singleton and manages Quests, by registering every Quest/QuestHint (through registerX()) and making them globally accessable (through findX()). Quests (and QuestHints) are registered in the QuestManager with their id, and can be accessed in the same way. More...

class | QuestNotification
class | Radar
class | RadarBase
| This class merely ensures that no one can inherit from Radar. More...
class | RadarListener
class | RadarViewable
| Interface for receiving window events. More...
class | ReplenishingMunition
class | Rewardable
| Rewardable is an Interface, that can be implemented by any object to enable it to be given as reward to a player through QuestEffects. (With the AddReward effect.). More...
class | Scene
class | Scoreboard
class | Script
class | ScriptController
class | Server
class | ServerConnection
class | Shader
class | Shell
class | ShellListener
class | SignalHandler
class | SimpleCommand
class | SimpleInputState
class | SliderStates
| Helper class to realise a vector< {int[4], int[4]} >. More...
class | SoundBase
class | SoundMainMenu
class | SoundManager
class | SpaceShip
class | SpawnPoint
class | Spectator
class | SphereCollisionShape
class | StaticEntity
class | StaticTimer
| The StaticTimer is a callback-object, calling a static function after a given time-interval. More...
class | Stats
class | SubclassIdentifier
| The SubclassIdentifier acts almost like an Identifier, but has some prerequisites. More...
class | SubString
| A class that can load one string and split it in multipe ones. More...
struct | SuperFunctionCondition
| Creates the SuperFunctionCaller if T is a child of the super-functions baseclass. More...
struct | SuperFunctionDestruction
| Deletes the SuperFunctionCaller. More...
struct | SuperFunctionInitialization
| Initializes the SuperFunctionCaller-pointer with zero. More...
class | Synchronisable
class | SynchronisableHeader
| : stores information about a Synchronisable More...
class | SynchronisableVariable
class | SynchronisableVariableBase
class | SynchronisableVariableBidirectional
class | TclBind
struct | TclInterpreterBundle
class | TclThreadManager
class | TeamBaseMatch
class | TeamBaseMatchBase
class | TeamBaseMatchScore
class | TeamColourable
class | TeamDeathmatch
class | TeamSpawnPoint
class | Template
class | Test
class | TextureGenerator
class | Thread
class | ThreadPool
class | Tickable
| The Tickable interface provides a tick(dt) function, that gets called every frame. More...
class | TimeFactorListener
class | Timer
| The Timer is a callback-object, calling a given function after a given time-interval. More...
class | TimerBase
| TimerBase is the parent of the Timer class. More...
class | TrafficControl
class | Trigger
struct | TypeStripper
| Use TypeStripper to get rid of the const and the reference of type T. More...
struct | TypeStripper< const T & >
struct | TypeStripper< const T >
class | UnderAttack
class | UnderAttackHealthBar
class | UsableItem
| Base class for all usable items (not usable yet). More...
class | WaypointController
class | WaypointPatrolController
class | Weapon
class | WeaponMode
class | WeaponPack
class | WeaponSet
class | WeaponSlot
class | WeaponSystem
class | WindowEventListener
| Interface for receiving window events. More...
class | WorldEntity
| The WorldEntity represents everything that can be put in a Scene at a certain location. More...
class | WorldEntityCollisionShape
class | XMLFile
class | XMLNameListener
class | XMLPortClassObjectContainer
class | XMLPortClassParamContainer
class | XMLPortObjectContainer
class | XMLPortParamContainer
class | XMLPortVariableHelperClass
| Helper class to load and save simple variables with XMLPort. More...

## Namespaces

namespace | AccessLevel
namespace | autocompletion
namespace | BaseState
namespace | Bidirectionality
namespace | CommandState
namespace | detail
namespace | FunctionType
namespace | InputDevice
namespace | JoyStickAxisCode
namespace | JoyStickButtonCode
namespace | KeybindMode
namespace | KeyboardModifier
namespace | KeyCode
namespace | LODParticle
namespace | ModifierType
namespace | MouseAxisCode
namespace | MouseButtonCode
namespace | MT_Type
| Enum of all possible types of a MultiType.

namespace | ObjectDirection
namespace | packet
namespace | PlayerState
namespace | Priority
namespace | QuestEffectBeaconStatus
namespace | QuestHintStatus
namespace | QuestListenerMode
namespace | QuestStatus
namespace | TriggerMode
namespace | VariableDirection
namespace | XMLPort

## Typedefs

typedef std::list < ArgumentCompletionListElement > | ArgumentCompletionList
typedef Iterator< OrxonoxClass > | BaseIterator
typedef std::pair < std::multimap< std::string, BaseItem * >::iterator, std::multimap< std::string, BaseItem * >::iterator > | item_range
typedef std::string | LanguageEntryLabel

typedef std::pair
< std::multimap
< ModifierType::Value, float >
::iterator, std::multimap
< ModifierType::Value, float >
::iterator >

modifier_range

typedef int(* | SignalCallback )(void *someData)

## Functions

std::string | addSlashes (const std::string &str)
| Adds backslashes to the given string which makes special chars visible. Existing slashes will be doubled.
void | append (const std::string &filename, const std::string &text)
std::string | BLANKSTRING ("")
| BOOST_STATIC_ASSERT ((int) Ogre::TextAreaOverlayElement::Right==(int) OverlayText::Right)
| BOOST_STATIC_ASSERT ((int) Ogre::TextAreaOverlayElement::Center==(int) OverlayText::Center)
| BOOST_STATIC_ASSERT ((int) Ogre::TextAreaOverlayElement::Left==(int) OverlayText::Left)
| BOOST_STATIC_ASSERT ((int) Ogre::Node::TS_WORLD==(int) WorldEntity::World)
| BOOST_STATIC_ASSERT ((int) Ogre::Node::TS_PARENT==(int) WorldEntity::Parent)
| BOOST_STATIC_ASSERT ((int) Ogre::Node::TS_LOCAL==(int) WorldEntity::Local)
| BOOST_STATIC_ASSERT ((int) Ogre::Light::LT_SPOTLIGHT==(int) Light::Spotlight)
| BOOST_STATIC_ASSERT ((int) Ogre::Light::LT_DIRECTIONAL==(int) Light::Directional)
| BOOST_STATIC_ASSERT ((int) Ogre::Light::LT_POINT==(int) Light::Point)
uint32_t | calcCRC (unsigned char *data, unsigned int dataLength)
void | calcCRCBit (uint32_t &crc32, int bit)
float | calculate (const std::string &calculation)
template<>
bool | checkEquality (const Radian &variable, uint8_t *mem)
template<>
bool | checkEquality (const Degree &variable, uint8_t *mem)
template<>
bool | checkEquality (const std::string &variable, uint8_t *mem)
template<>
bool | checkEquality (const long double &variable, uint8_t *mem)
template<>
bool | checkEquality (const double &variable, uint8_t *mem)
template<>
bool | checkEquality (const float &variable, uint8_t *mem)
template<>
bool | checkEquality (const unsigned long long &variable, uint8_t *mem)
template<>
bool | checkEquality (const long long &variable, uint8_t *mem)
template<>
bool | checkEquality (const unsigned long &variable, uint8_t *mem)
template<>
bool | checkEquality (const long &variable, uint8_t *mem)
template<>
bool | checkEquality (const unsigned int &variable, uint8_t *mem)
template<>
bool | checkEquality (const int &variable, uint8_t *mem)
template<>
bool | checkEquality (const unsigned short &variable, uint8_t *mem)
template<>
bool | checkEquality (const short &variable, uint8_t *mem)
template<>
bool | checkEquality (const unsigned char &variable, uint8_t *mem)
template<>
bool | checkEquality (const char &variable, uint8_t *mem)
template<>
bool | checkEquality (const bool &variable, uint8_t *mem)
template<class T>
bool | checkEquality (const T &, uint8_t *)
| checks whether the variable of type T is the same as in the bytestream
template<typename T>
T | clamp (T x, T min, T max)
| Keeps a value between a lower and an upper limit.
void | cleanConfig ()
template<>
void | CommandLine::getValue< std::string > (const std::string &name, std::string *value)
bool | config (const std::string &classname, const std::string &varname, const std::string &value)
static CEGUI::MouseButton | convertButton (MouseButtonCode::ByEnum button)
| converts mouse event code to CEGUI event code
template<class FromType, class ToType>
FORCEINLINE bool | convertImplicitely (ToType *output, const FromType &input, detail::Int2Type< true >)
template<class FromType, class ToType>
FORCEINLINE bool | convertImplicitely (ToType *output, const FromType &input, detail::Int2Type< false >)
template<class FromType, class ToType>
FORCEINLINE bool | convertValue (ToType *output, const FromType &input, const ToType &fallback)

Converts any value to any other as long as there exists a conversion. Otherwise, the conversion will generate a runtime warning and return false. For information about the different conversion methods (user defined too), see the section 'Actual conversion sequence' in this file above. If the conversion doesn't succeed, 'fallback' is written to '*output'.

template<class FromType, class ToType>
FORCEINLINE bool | convertValue (ToType *output, const FromType &input)

Converts any value to any other as long as there exists a conversion. Otherwise, the conversion will generate a runtime warning and return false. For information about the different conversion methods (user defined too), see the section 'Actual conversion sequence' in this file above.

template<class T>
void | copyPtr (T ptr, NetworkFunctionPointer &destptr)
| CREATE_ALL_MEMBER_FUNCTORS ()
| CREATE_ALL_STATIC_FUNCTORS ()
ConsoleCommand * | createConsoleCommand (Functor *functor, const std::string &name="")
ExecutorStatic * | createExecutor (FunctorStatic *functor, const std::string &name="")
template<class T>
ExecutorMember< T > * | createExecutor (FunctorMember< T > *functor, const std::string &name="")
Executor * | createExecutor (Functor *functor, const std::string &name="")
| CreateFactory (Stats)
| CreateFactory (Scoreboard)
| CreateFactory (OverlayText)
| CreateFactory (OverlayGroup)
| CreateFactory (NotificationQueue)
| CreateFactory (Map)
| CreateFactory (UnderAttackHealthBar)
| CreateFactory (TeamBaseMatchScore)
| CreateFactory (PongScore)
| CreateFactory (KillMessage)
| CreateFactory (HUDTimer)
| CreateFactory (HUDSpeedBar)
| CreateFactory (HUDRadar)
| CreateFactory (HUDNavigation)
| CreateFactory (HUDHealthBar)
| CreateFactory (BarColour)
| CreateFactory (GametypeStatus)
| CreateFactory (DeathMessage)
| CreateFactory (ChatOverlay)
| CreateFactory (AnnounceMessage)
| CreateFactory (GUIOverlay)
| CreateFactory (FadeoutText)
| CreateFactory (DebugRTRText)
| CreateFactory (DebugFPSText)
| CreateFactory (Trigger)
| CreateFactory (EventTrigger)
| CreateFactory (DistanceTrigger)
| CreateFactory (CheckPoint)
| CreateFactory (TeamSpawnPoint)
| CreateFactory (StaticEntity)
| CreateFactory (SpawnPoint)
| CreateFactory (PongCenterpoint)
| CreateFactory (PongBat)
| CreateFactory (PongBall)
| CreateFactory (Planet)
| CreateFactory (TeamBaseMatchBase)
| CreateFactory (Spectator)
| CreateFactory (SpaceShip)
| CreateFactory (Pawn)
| CreateFactory (Destroyer)
| CreateFactory (ParticleSpawner)
| CreateFactory (ParticleEmitter)
| CreateFactory (MovableEntity)
| CreateFactory (Model)
| CreateFactory (Light)
| CreateFactory (ForceField)
| CreateFactory (FadingBillboard)
| CreateFactory (ExplosionChunk)
| CreateFactory (ControllableEntity)
| CreateFactory (CameraPosition)
| CreateFactory (Camera)
| CreateFactory (BlinkingBillboard)
| CreateFactory (Billboard)
| CreateFactory (BigExplosion)
| CreateFactory (Backlight)
| CreateFactory (Attacher)
| CreateFactory (WeaponSystem)
| CreateFactory (WeaponSlot)
| CreateFactory (WeaponSet)
| CreateFactory (WeaponPack)
| CreateFactory (LightningGun)
| CreateFactory (LaserFire)
| CreateFactory (HsW01)
| CreateFactory (FusionFire)
| CreateFactory (EnergyDrink)
| CreateFactory (Weapon)
| CreateFactory (Projectile)
| CreateFactory (ParticleProjectile)
| CreateFactory (LightningGunProjectile)
| CreateFactory (BillboardProjectile)
| CreateFactory (MuzzleFlash)
| CreateFactory (ReplenishingMunition)
| CreateFactory (LaserMunition)
| CreateFactory (FusionMunition)
| CreateFactory (Munition)
| CreateFactory (DefaultWeaponmodeLink)
| CreateFactory (Test)
| CreateFactory (Script)
| CreateFactory (Scene)
| CreateFactory (QuestListener)
| CreateFactory (QuestHint)
| CreateFactory (QuestEffectBeacon)
| CreateFactory (QuestDescription)
| CreateFactory (LocalQuest)
| CreateFactory (GlobalQuest)
| CreateFactory (FailQuest)
| CreateFactory (CompleteQuest)
| CreateFactory (AddReward)
| CreateFactory (AddQuestHint)
| CreateFactory (AddQuest)
| CreateFactory (PickupSpawner)
| CreateFactory (ModifierPickup)
| CreateFactory (Jump)
| CreateFactory (HealthUsable)
| CreateFactory (HealthImmediate)
| CreateFactory (DroppedItem)
| CreateFactory (Level)
| CreateFactory (MultiStateEngine)
| CreateFactory (Engine)
| CreateFactory (PongBot)
| CreateFactory (Bot)
| CreateFactory (GlobalShader)
| CreateFactory (EventTarget)
| CreateFactory (EventListener)
| CreateFactory (EventDispatcher)
| CreateFactory (WaypointPatrolController)
| CreateFactory (WaypointController)
| CreateFactory (ScriptController)
| CreateFactory (AIController)
| CreateFactory (SphereCollisionShape)
| CreateFactory (PlaneCollisionShape)
| CreateFactory (ConeCollisionShape)
| CreateFactory (CompoundCollisionShape)
| CreateFactory (BoxCollisionShape)
| CreateFactory (Template)
| CreateFactory (Namespace)
| CreateFactory (BaseObject)
| CreateTypeToStringTemplate (Degree)
| CreateTypeToStringTemplate (Radian)
| CreateTypeToStringTemplate (ColourValue)
| CreateTypeToStringTemplate (Quaternion)
| CreateTypeToStringTemplate (Vector3)
| CreateTypeToStringTemplate (Vector2)
| CreateTypeToStringTemplate (bool)
| CreateTypeToStringTemplate (long double)
| CreateTypeToStringTemplate (double)
| CreateTypeToStringTemplate (float)
| CreateTypeToStringTemplate (unsigned long long)
| CreateTypeToStringTemplate (long)
| CreateTypeToStringTemplate (short)
| CreateTypeToStringTemplate (char)
| CreateTypeToStringTemplate (unsigned int)
| CreateTypeToStringTemplate (int)
| CreateUnloadableFactory (HumanPlayer)
| CreateUnloadableFactory (GametypeInfo)
| CreateUnloadableFactory (UnderAttack)
| CreateUnloadableFactory (TeamDeathmatch)
| CreateUnloadableFactory (TeamBaseMatch)
| CreateUnloadableFactory (Pong)
| CreateUnloadableFactory (Gametype)
| CreateUnloadableFactory (Deathmatch)
| CreateUnloadableFactory (Asteroids)
| CreateUnloadableFactory (PongAI)
| CreateUnloadableFactory (HumanController)
| CreateUnloadableFactory (Controller)
template<typename T>
T | cube (T x)
| Returns the cube value (x^3).
| DeclareGameState (GSStandalone,"standalone", false, true)
| DeclareGameState (GSServer,"server", false, true)
| DeclareGameState (GSRoot,"root", true, false)
| DeclareGameState (GSMainMenu,"mainMenu", false, true)
| DeclareGameState (GSLevel,"level", false, true)
| DeclareGameState (GSIOConsole,"ioConsole", false, false)
| DeclareGameState (GSGraphics,"graphics", true, true)
| DeclareGameState (GSDedicated,"dedicated", false, false)
| DeclareGameState (GSClient,"client", false, true)
void | delay (float delay, const std::string &command)
| Calls a console command after 'delay' seconds.
std::string | echo (const std::string &text)
template<class T>
const T & | exceptionThrowerHelper (const T &exception)
| Helper function that forwards an exception and displays the message.
void | executeDelayedCommand (StaticTimer *timer, const std::string &command)
| Executes the command.
std::string | fromClipboard ()
| Default implementation if there is no OS-specific implementation or no clipboard. Gets the text from the internal clipboard.
orxonox::Vector2 | get2DViewcoordinates (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition)
orxonox::Vector2 | get2DViewdirection (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition)
float | getAngle (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &otherposition)
std::string | getComment (const std::string &str)
| If the string contains a comment, the comment gets returned (including the comment symbol), an empty string otherwise.
size_t | getCommentPosition (const std::string &str)
| If the string contains a comment, the position of the comment-symbol gets returned, std::string::npos otherwise.
template<class FromType, class ToType>
FORCEINLINE ToType | getConvertedValue (const FromType &input, const ToType &fallback)
template<class FromType, class ToType>
FORCEINLINE ToType | getConvertedValue (const FromType &input)
std::string | getLowercase (const std::string &str)
| Returns a copy of the given string without uppercase chars.
size_t | getNextCommentPosition (const std::string &str, size_t start)
| Returns the position of the next comment-symbol, starting with start.
size_t | getNextQuote (const std::string &str, size_t start)
| Returns the position of the next quote in the string, starting with start.
orxonox::Vector3 | getPredictedPosition (const orxonox::Vector3 &myposition, float projectilespeed, const orxonox::Vector3 &targetposition, const orxonox::Vector3 &targetvelocity)
| Returns the predicted position I have to aim at, if I want to hit a moving target with a moving projectile.
int | getSoftDebugLevel ()
| Returns the soft debug level, stored in the only existing instance of the OutputHandler class, configured in the config-file.
std::string | getStringBetweenQuotes (const std::string &str)
| If the string contains something like '..."between quotes"...' then 'between quotes' gets returned (without quotes).
std::string | getStripped (const std::string &str)
| Returns a copy of a string without whitespaces.
unsigned long | getUniqueNumber ()
std::string | getUniqueNumberString ()
std::string | getUppercase (const std::string &str)
| Returns a copy of the given string without lowercase chars.
bool | hasComment (const std::string &str)
| Returns true if the string contains a comment, introduced by #, %, ; or //.
bool | hasStringBetweenQuotes (const std::string &str)
| Returns true if the string contains something like '..."between quotes"...'.
template<typename T>
T | interpolate (float time, const T &start, const T &end)
| Interpolates between two values for a time between 0 and 1.
template<typename T>
T | interpolateSmooth (float time, const T &start, const T &end)
| Interpolates smoothly between two values for a time between 0 and 1. The function starts slowly, increases faster and stops slowly again.
bool | isBetweenQuotes (const std::string &str, size_t pos)
| Returns true if pos is between two quotes.
bool | isComment (const std::string &str)
| Determines if a string is a comment (starts with a comment-symbol).
bool | isEmpty (const std::string &str)
| Determines if a string is empty (contains only whitespaces).
bool | isNumeric (const std::string &str)
| Determines if a string contains only numbers and maximal one '.'.
void | killdelays ()
| Kills all delayed commands.
template<>
void | loadAndIncrease (const Radian &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const Degree &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const std::string &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const long double &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const double &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const float &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const unsigned long long &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const long long &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const unsigned long &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const long &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const unsigned int &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const int &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const unsigned short &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const short &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const unsigned char &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const char &variable, uint8_t *&mem)
template<>
void | loadAndIncrease (const bool &variable, uint8_t *&mem)
template<class T>
void | loadAndIncrease (const T &, uint8_t *&)
| loads the value of a variable out of the bytestream and increases the mem pointer
void | loadCalibration (std::vector< int > &list, const std::string &sectionName, const std::string &valueName, size_t size, int defaultValue)
| Helper function that loads the config value vector of one coefficient.
void | loadSettings (const std::string &filename)
void | lowercase (std::string *str)
| Replaces each char between A and Z with its lowercase equivalent.
template<typename T>
int | mod (T x, int max)
| The modulo operation, enhanced to work properly with negative values.
void | msleep (unsigned long milliseconds)
| Makes the thread sleep for a few milliseconds.
template<class ToType, class FromType>
FORCEINLINE ToType | multi_cast (const FromType &input)
template<>
bool | MultiType::convert< const orxonox::ColourValue & > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< const orxonox::Degree & > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< const orxonox::Quaternion & > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< const orxonox::Radian & > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< const orxonox::Vector2 & > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< const orxonox::Vector3 & > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< const orxonox::Vector4 & > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< const std::string & > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< orxonox::ColourValue > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< orxonox::Degree > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< orxonox::Quaternion > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< orxonox::Radian > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< orxonox::Vector2 > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< orxonox::Vector3 > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< orxonox::Vector4 > ()
| Converts the current value to the given type.
template<>
bool | MultiType::convert< std::string > ()
| Returns true if the current type equals the given type.
template<>
bool | MultiType::isType< orxonox::ColourValue > () const
| Returns true if the current type equals the given type.
template<>
bool | MultiType::isType< orxonox::Degree > () const
| Returns true if the current type equals the given type.
template<>
bool | MultiType::isType< orxonox::Quaternion > () const
| Returns true if the current type equals the given type.
template<>
bool | MultiType::isType< orxonox::Radian > () const
| Returns true if the current type equals the given type.
template<>
bool | MultiType::isType< orxonox::Vector2 > () const
| Returns true if the current type equals the given type.
template<>
bool | MultiType::isType< orxonox::Vector3 > () const
| Returns true if the current type equals the given type.
template<>
bool | MultiType::isType< orxonox::Vector4 > () const
| Returns true if the current type equals the given type.
template<>
bool | MultiType::isType< std::string > () const
| Returns true if the current type equals the given type.
int | nocaseCmp (const std::string &s1, const std::string &s2, size_t len)
| Compares the first 'len' chars of two strings ignoring different casing.
int | nocaseCmp (const std::string &s1, const std::string &s2)
| Compares two strings ignoring different casing.
InputManager::InputManagerState | operator &= (InputManager::InputManagerState &lval, int rval)
| Defines the &= operator for easier use.
template<class T>
OutputHandler & | operator<< (OutputHandler &out, const T &output)
| Overloading of the non-member << operator to redirect the output of classes with self defined '<< to std::ostream' operators to the console and the logfile.
_UtilExport std::ostream & | operator<< (std::ostream &outstream, const MultiType &mt)
| Puts the MultiType on a stream by using the native << operator of the current type.
std::ostream & | operator<< (std::ostream &out, const orxonox::Degree &degree)
| Function for writing a Degree to a stream.
std::ostream & | operator<< (std::ostream &out, const orxonox::Radian &radian)
| Function for writing a Radian to a stream.
std::ostream & | operator<< (std::ostream &out, const std::set< const Identifier * > &list)
| Lists the names of all Identifiers in a std::set<const Identifier*>.
std::ostream & | operator<< (std::ostream &out, const ClassTreeMask &mask)
| Converts the content of a mask into a human readable string and puts it on the ostream.
std::istream & | operator>> (std::istream &in, orxonox::Degree &degree)
| Function for reading a Degree from a stream.
std::istream & | operator>> (std::istream &in, orxonox::Radian &radian)
| Function for reading a Radian from a stream.
InputManager::InputManagerState | operator|= (InputManager::InputManagerState &lval, InputManager::InputManagerState rval)
| Defines the |= operator for easier use.
_UtilExport bool | parse_float (char *const, char **, char, double *)
_UtilExport bool | parse_float (char *const, char **, double *)
_UtilExport bool | parse_vector_float (char *const, char **, bool, double *)
void | puts (bool newline, const std::string &text)
std::string | read (const std::string &filename)
| registerMemberNetworkFunction (Pawn, doFire)
| registerMemberNetworkFunction (Test, printBlaBla)
| registerMemberNetworkFunction (Test, checkU1)
| registerMemberNetworkFunction (GametypeInfo, dispatchDeathMessage)
| registerMemberNetworkFunction (GametypeInfo, dispatchKillMessage)
| registerMemberNetworkFunction (GametypeInfo, dispatchAnnounceMessage)
template<class T, class PT>
void * | registerMemberNetworkFunctionFct (PT ptr, const std::string &name)
template<class T>
void * | registerStaticNetworkFunctionFct (T ptr, const std::string &name)
void | reloadConfig ()
std::string | removeSlashes (const std::string &str)
| Removes backslashes from the given string. Double backslashes are interpreted as one backslash.
std::string | removeTrailingWhitespaces (const std::string &str)
| Returns a copy of a string without trailing whitespaces.
template<>
uint32_t | returnSize (const Radian &variable)
template<>
uint32_t | returnSize (const Degree &variable)
template<>
uint32_t | returnSize (const std::string &variable)
template<>
uint32_t | returnSize (const long double &variable)
template<>
uint32_t | returnSize (const double &variable)
template<>
uint32_t | returnSize (const float &variable)
template<>
uint32_t | returnSize (const unsigned long long &variable)
template<>
uint32_t | returnSize (const long long &variable)
template<>
uint32_t | returnSize (const unsigned long &variable)
template<>
uint32_t | returnSize (const long &variable)
template<>
uint32_t | returnSize (const unsigned int &variable)
template<>
uint32_t | returnSize (const int &variable)
template<>
uint32_t | returnSize (const unsigned short &variable)
template<>
uint32_t | returnSize (const short &variable)
template<>
uint32_t | returnSize (const unsigned char &variable)
template<>
uint32_t | returnSize (const char &variable)
template<>
uint32_t | returnSize (const bool &variable)
template<class T>
uint32_t | returnSize (const T &)
| returns the size of the variable in a datastream
float | rnd (float min, float max)
| Returns a random number between min and almost max: min <= rnd < max.
float | rnd (float max)
| Returns a random number between 0 and almost max: 0 <= rnd < max.
float | rnd ()
| Returns a random number between 0 and almost 1: 0 <= rnd < 1.
float | rndsgn ()
| Returns randomly 1 or -1 with equal probability.
template<typename T>
int | round (T x)
| Rounds the value.
template<>
void | saveAndIncrease (const Radian &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const Degree &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const std::string &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const long double &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const double &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const float &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const unsigned long long &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const long long &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const unsigned long &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const long &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const unsigned int &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const int &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const unsigned short &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const short &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const unsigned char &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const char &variable, uint8_t *&mem)
template<>
void | saveAndIncrease (const bool &variable, uint8_t *&mem)
template<class T>
void | saveAndIncrease (const T &, uint8_t *&)
| saves the value of a variable into the bytestream and increases the mem pointer
void | saveConfig ()
| SetCommandLineArgument (ip,"127.0.0.1").information("Sever IP as strin in the form GSClient
| SetCommandLineArgument (settingsFile,"orxonox.ini").information("THE configuration file")
| SetCommandLineArgument (mediaPath,"").information("Path to the media/data files")
| SetCommandLineOnlyArgument (writingPathSuffix,"").information("Additional subfolder for config and log files")
| SetCommandLineOnlyArgument (optionsFile,"start.ini").shortcut("o")
| SetCommandLineSwitch (standalone).information("Start in standalone mode")
| SetCommandLineSwitch (dedicated).information("Start in dedicated server mode")
| SetCommandLineSwitch (client).information("Start in client mode")
| SetCommandLineSwitch (server).information("Start in server mode")
| SetCommandLineSwitch (console).information("Start in console mode (text IO only)")
| SetCommandLineSwitch (keyboard_no_grab).information("Whether not to exclusively grab the keyboard")
| SetConsoleCommand (Map, Zoom, true).setAsInputCommand()
| SetConsoleCommand (Map, openMap, true)
| SetConsoleCommand (InGameConsole, closeConsole, true)
| SetConsoleCommand (InGameConsole, openConsole, true)
| SetConsoleCommand (Trigger, debugFlares, false).defaultValues(false)
| SetConsoleCommand (HumanController, useItem, true)
| SetConsoleCommand (HumanController, dropItems, true)
| SetConsoleCommand (HumanController, killBots, true).defaultValues(0)
| SetConsoleCommand (HumanController, addBots, true).defaultValues(1)
| SetConsoleCommand (HumanController, suicide, true)
| SetConsoleCommand (HumanController, mouseLook, true)
| SetConsoleCommand (HumanController, switchCamera, true)
SetConsoleCommand(HumanController, boost, true).keybindMode(KeybindMode | SetConsoleCommand (HumanController, greet, true)
SetConsoleCommand(HumanController, fire, true).keybindMode(KeybindMode | SetConsoleCommand (HumanController, reload, true)
| SetConsoleCommand (HumanController, rotateRoll, true).setAsInputCommand()
| SetConsoleCommand (HumanController, rotatePitch, true).setAsInputCommand()
| SetConsoleCommand (HumanController, rotateYaw, true).setAsInputCommand()
| SetConsoleCommand (HumanController, moveUpDown, true).setAsInputCommand()
| SetConsoleCommand (HumanController, moveRightLeft, true).setAsInputCommand()
| SetConsoleCommand (HumanController, moveFrontBack, true).setAsInputCommand()
| SetConsoleCommand (GSLevel, showIngameGUI, true)
| SetConsoleCommand (TclThreadManager, flush, false).argumentCompleter(0
| SetConsoleCommand (TclThreadManager, dump, false).argumentCompleter(0
| SetConsoleCommand (TclThreadManager, status, false)
| SetConsoleCommand (TclThreadManager, query, false).argumentCompleter(0
| SetConsoleCommand (TclThreadManager, execute, false).argumentCompleter(0
| SetConsoleCommand (TclThreadManager, destroy, false).argumentCompleter(0
| SetConsoleCommand (TclThreadManager, create, false)
| SetConsoleCommand (Shell, history, true)
| SetConsoleCommand (Shell, clearShell, true)
| SetConsoleCommand (InputManager, reload, false)
| SetConsoleCommand (InputManager, calibrate, true)
| SetConsoleCommandShortcut (PickupInventory, toggleInventory)
| SetConsoleCommandShortcut (Host, Chat)
| SetConsoleCommandShortcut (TclBind, bgerror)
| SetConsoleCommandShortcut (TclBind, tcl)
| SetConsoleCommandShortcut (OutputHandler, debug)
| SetConsoleCommandShortcut (OutputHandler, info)
| SetConsoleCommandShortcut (OutputHandler, warning)
| SetConsoleCommandShortcut (OutputHandler, error)
| SetConsoleCommandShortcut (OutputHandler, log)
| SetConsoleCommandShortcutAlias (TclThreadManager, query,"tclquery").argumentCompleter(0
| SetConsoleCommandShortcutAlias (TclThreadManager, execute,"tclexecute").argumentCompleter(0
| SetConsoleCommandShortcutExtern (killdelays)
| SetConsoleCommandShortcutExtern (delay)
| SetConsoleCommandShortcutExtern (calculate)
| SetConsoleCommandShortcutExtern (write).argumentCompleter(0
| SetConsoleCommandShortcutExtern (append).argumentCompleter(0
| SetConsoleCommandShortcutExtern (read).argumentCompleter(0
| SetConsoleCommandShortcutExtern (puts)
| SetConsoleCommandShortcutExtern (echo)
| SetConsoleCommandShortcutExtern (source).argumentCompleter(0
| SetConsoleCommandShortcutExtern (loadSettings).argumentCompleter(0
| SetConsoleCommandShortcutExtern (cleanConfig)
| SetConsoleCommandShortcutExtern (reloadConfig)
| SetConsoleCommandShortcutExtern (tconfig).argumentCompleter(0
| SetConsoleCommandShortcutExtern (config).argumentCompleter(0
| SetConsoleCommandShortcutExternAlias (stop_game,"exit")
template<typename T>
T | sgn (T x)
| Returns the sign of the given value.
void | sleep (unsigned long seconds)
| Makes the thread sleep for a few seconds.
void | source (const std::string &filename)
template<typename T>
T | square (T x)
| Returns the square value (x^2).
static void | stop_game ()
void | strip (std::string *str)
| Removes all whitespaces from a string.
std::string | stripEnclosingBraces (const std::string &str)
| Removes enclosing {braces} (braces must be exactly on the beginning and the end of the string).
std::string | stripEnclosingQuotes (const std::string &str)
| Removes enclosing quotes if available (including whitespaces at the outside of the quotes).
| SUPER_FUNCTION (8, OrxonoxOverlay, changedOverlayGroup, false)
| SUPER_FUNCTION (7, OrxonoxOverlay, changedOwner, false)
| SUPER_FUNCTION (5, WorldEntity, changedScale, false)
| SUPER_FUNCTION (1, Tickable, tick, true)
| SUPER_FUNCTION (10, BaseObject, changedGametype, false)
| SUPER_FUNCTION (9, BaseObject, changedName, false)
| SUPER_FUNCTION (6, BaseObject, changedMainState, false)
| SUPER_FUNCTION (4, BaseObject, processEvent, false)
| SUPER_FUNCTION (3, BaseObject, changedVisibility, false)
| SUPER_FUNCTION (2, BaseObject, changedActivity, false)
| SUPER_FUNCTION (0, BaseObject, XMLPort, false)
void | tclThread (TclInterpreterBundle *interpreterBundle, std::string command)
bool | tconfig (const std::string &classname, const std::string &varname, const std::string &value)
boost::posix_time::millisec | THREAD_WAIT_BEFORE_DETACH (1000)
bool | toClipboard (const std::string &text)
| Default implementation if there is no OS-specific implementation or no clipboard. Copies the text into an internal clipboard.
template<class T>
std::string | typeToString ()
template<>
std::string | typeToString< const std::string & > ()
template<>
std::string | typeToString< const std::string > ()
template<>
std::string | typeToString< std::string & > ()
template<>
std::string | typeToString< std::string > ()
void | uppercase (std::string *str)
| Replaces each char between a and z with its uppercase equivalent.
void | usleep (unsigned long microseconds)
| Makes the thread sleep for a few microseconds.
void | write (const std::string &filename, const std::string &text)
template<typename T>
T | zeroise ()
template<>
bool | zeroise< bool > ()
template<>
char | zeroise< char > ()
template<>
double | zeroise< double > ()
template<>
float | zeroise< float > ()
template<>
int | zeroise< int > ()
template<>
long | zeroise< long > ()
template<>
long double | zeroise< long double > ()
template<>
long long | zeroise< long long > ()
template<>
orxonox::ColourValue | zeroise< orxonox::ColourValue > ()
template<>
orxonox::Degree | zeroise< orxonox::Degree > ()
template<>
orxonox::Quaternion | zeroise< orxonox::Quaternion > ()
template<>
orxonox::Radian | zeroise< orxonox::Radian > ()
template<>
orxonox::Vector2 | zeroise< orxonox::Vector2 > ()
template<>
orxonox::Vector3 | zeroise< orxonox::Vector3 > ()
template<>
orxonox::Vector4 | zeroise< orxonox::Vector4 > ()
template<>
short | zeroise< short > ()
template<>
std::string | zeroise< std::string > ()
template<>
unsigned char | zeroise< unsigned char > ()
template<>
unsigned int | zeroise< unsigned int > ()
template<>
unsigned long | zeroise< unsigned long > ()
template<>
unsigned long long | zeroise< unsigned long long > ()
template<>
unsigned short | zeroise< unsigned short > ()
template<>
void * | zeroise< void * > ()

## Variables

const unsigned int | ACKID_NACK = 0
const int | ACL_MODE_DISPLAY = 4
const int | ACL_MODE_LOWERCASE = 2
const int | ACL_MODE_NORMAL = 1
static const float | ACTION_INTERVAL = 1.0f
_UtilExport std::string | BLANKSTRING
static boost::mutex | bundlesMutex_g
const float | CHAR_WIDTH = 7.45f
const unsigned int | CLIENTID_SERVER = 0
static const unsigned int | CLIENTID_UNKNOWN = static_cast<unsigned int>(-2)
static std::string | clipboard = ""
| Keeps the text of our internal clipboard.
static const float | CONTINUOUS_SYNCHRONIZATION_TIME = 10.0f
const char *const | DEFAULT_CONFIG_FILE = "default.ini"
static std::set< StaticTimer * > | delaytimerset
const int | DISTANCE = 200
static const float | FORWARD_EFFECT_VELOCITY_THRESHOLD = 20
static boost::condition | fullQueueCondition_g
static const unsigned int | GAMESTATEID_INITIAL = static_cast<unsigned int>(-1)
static const unsigned int | IRC_TCL_THREADID = 1421421421
const int | KEEP_GAMESTATES = 10
const int | LINES = 30
const unsigned int | MAX_COMMAND_LENGTH = 255
const unsigned int | MAX_FAILURES = 20
static const unsigned int | MAX_FUNCTION_POINTER_INTS = (MAX_FUNCTION_POINTER_SIZE-1)/4+1
static const unsigned int | MAX_FUNCTION_POINTER_SIZE = 16
const unsigned int | MAX_FUNCTOR_ARGUMENTS = 5
static const float | MAX_REACTION_TIME = 0.4f
static const float | MAX_RESYNCHRONIZE_TIME = 3.0f
const unsigned int | MAX_VECTOR_INDEX = 255
const unsigned int | NETWORK_CLIENT_CHANNELS = 2
const unsigned int | NETWORK_CLIENT_CONNECTION_TIMEOUT = 3000
const unsigned int | NETWORK_CLIENT_MAX_CONNECTIONS = 5
const unsigned int | NETWORK_CLIENT_WAIT_TIME = 1
const unsigned int | NETWORK_DEFAULT_CHANNEL = 0
const unsigned int | NETWORK_FREQUENCY = 30
const unsigned int | NETWORK_MAX_CONNECTIONS = 50
const unsigned int | NETWORK_MAX_QUEUE_PROCESS_TIME = 5
const float | NETWORK_PERIOD = 1.0f/NETWORK_FREQUENCY
const unsigned int | NETWORK_PORT = 55556
const unsigned int | NETWORK_WAIT_TIMEOUT = 0
static const uint32_t | OBJECTID_UNKNOWN = static_cast<uint32_t>(-1)
const float | orientationGain = 100
const char | ORXONOX_CONFIG_DEV_PATH [] = "D:/orxonox/orxonox-0.0.3/mingw_release/config"
const char | ORXONOX_CONFIG_INSTALL_PATH [] = "config"
const char | ORXONOX_LOG_DEV_PATH [] = "D:/orxonox/orxonox-0.0.3/mingw_release/log"
const char | ORXONOX_LOG_INSTALL_PATH [] = "log"
const char | ORXONOX_MEDIA_DEV_PATH [] = "D:/orxonox/media"
const char | ORXONOX_MEDIA_INSTALL_PATH [] = "media"
const char | ORXONOX_OGRE_PLUGINS [] = "Plugin_ParticleFX, Plugin_CgProgramManager, RenderSystem_GL, RenderSystem_Direct3D9"
const char | ORXONOX_OGRE_PLUGINS_FOLDER [] = "."
const char | ORXONOX_RUNTIME_INSTALL_PATH [] = "bin"
static boost::condition | orxonoxEvalCondition_g
const int | PITCH = -30
static const unsigned int | SCHED_PRIORITY_OFFSET = static_cast<unsigned int>(-1)
static const unsigned char | STATE_ACTIVE = 1
static const unsigned char | STATE_BOOST = 4
static const unsigned char | STATE_BRAKE = 8
static const unsigned char | STATE_FORWARD = 2
mode | SUPER_FUNCTION_GLOBAL_DECLARATION_PART2
const float | TCLTHREADMANAGER_MAX_CPU_USAGE = 0.50f
const unsigned int | TCLTHREADMANAGER_MAX_QUEUE_LENGTH = 100
static boost::thread::id | threadID_g
const unsigned int | UTIL_CRC32POLY = 0x04C11DB7
| xmlelement

## Typedef Documentation

typedef std::list<ArgumentCompletionListElement> orxonox::ArgumentCompletionList

typedef Iterator<OrxonoxClass> orxonox::BaseIterator

typedef std::pair<std::multimap<std::string, BaseItem*>::iterator, std::multimap<std::string, BaseItem*>::iterator> orxonox::item_range

typedef std::string orxonox::LanguageEntryLabel

typedef std::pair<std::multimap<ModifierType::Value, float>::iterator, std::multimap<ModifierType::Value, float>::iterator> orxonox::modifier_range

typedef int(* orxonox::SignalCallback)(void *someData)

## Function Documentation

_UtilExport std::string orxonox::addSlashes | ( | const std::string & | str | ) |

Adds backslashes to the given string which makes special chars visible. Existing slashes will be doubled.

Parameters:

  | str | The string to manipulate

Returns:
  The string with added slashes

Referenced by orxonox::ConfigFileEntryValue::setValue().

_CoreExport void orxonox::append | ( | const std::string & | filename,
|  | const std::string & | text |
| ) |  |  |

References COUT.

std::string orxonox::BLANKSTRING | ( | "" |  | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::TextAreaOverlayElement::Right | = `=(int) OverlayText::Right` | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::TextAreaOverlayElement::Center | = `=(int) OverlayText::Center` | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::TextAreaOverlayElement::Left | = `=(int) OverlayText::Left` | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::Node::TS_WORLD | = `=(int) WorldEntity::World` | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::Node::TS_PARENT | = `=(int) WorldEntity::Parent` | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::Node::TS_LOCAL | = `=(int) WorldEntity::Local` | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::Light::LT_SPOTLIGHT | = `=(int) Light::Spotlight` | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::Light::LT_DIRECTIONAL | = `=(int) Light::Directional` | ) |

orxonox::BOOST_STATIC_ASSERT | ( | (int) Ogre::Light::LT_POINT | = `=(int) Light::Point` | ) |

Referenced by registerMemberNetworkFunctionFct(), and registerStaticNetworkFunctionFct().

_UtilExport uint32_t orxonox::calcCRC | ( | unsigned char * | data,
|  | unsigned int | dataLength |
| ) |  |  |

References calcCRCBit().

_UtilExport void orxonox::calcCRCBit | ( | uint32_t & | crc32,
|  | int | bit |
| ) |  |  |

References UTIL_CRC32POLY.

Referenced by calcCRC().

_CoreExport float orxonox::calculate | ( | const std::string & | calculation | ) |

References COUT, orxonox::ExprParser::getRemains(), orxonox::ExprParser::getResult(), and orxonox::ExprParser::getSuccess().

template<>

bool orxonox::checkEquality | ( | const Radian & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

References orxonox::MT_Type::Degree.

template<>

bool orxonox::checkEquality | ( | const Degree & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

References orxonox::MT_Type::Degree.

template<>

bool orxonox::checkEquality | ( | const std::string & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const long double & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const double & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const float & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const unsigned long long & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const long long & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const unsigned long & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const long & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const unsigned int & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const int & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const unsigned short & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const short & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const unsigned char & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const char & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<>

bool orxonox::checkEquality | ( | const bool & | variable,
|  | uint8_t * | mem |
| ) |  |  | `[inline]`

template<class T>

bool orxonox::checkEquality | ( | const T & | ,
|  | uint8_t * |  |
| ) |  |  | `[inline]`

checks whether the variable of type T is the same as in the bytestream

Referenced by orxonox::SynchronisableVariableBidirectional< T >::putData(), and orxonox::SynchronisableVariable< T >::putData().

template<typename T>

T orxonox::clamp | ( | T | x,
|  | T | min,
|  | T | max |
| ) |  |  | `[inline]`

Keeps a value between a lower and an upper limit.

Parameters:

  | x | The value
  | min | The lower limit
  | max | The upper limit

Referenced by orxonox::HUDBar::setValue(), orxonox::PongBat::tick(), and orxonox::Engine::tick().

void orxonox::cleanConfig | ( |  | ) |

References orxonox::ConfigFileManager::clean(), and orxonox::ConfigFileManager::getInstance().

template<>

void orxonox::CommandLine::getValue< std::string > | ( | const std::string & | name,
|  | std::string * | value |
| ) |  |  | `[inline]`

bool orxonox::config | ( | const std::string & | classname,
|  | const std::string & | varname,
|  | const std::string & | value |
| ) |  |  |

References getLowercase(), orxonox::Identifier::getLowercaseIdentifierMap(), and orxonox::Identifier::getLowercaseIdentifierMapEnd().

static CEGUI::MouseButton orxonox::convertButton | ( | MouseButtonCode::ByEnum | button | ) | `[inline, static]`

converts mouse event code to CEGUI event code

Parameters:

  | button | code of the mouse button as we use it in Orxonox

Returns:
  code of the mouse button as it is used by CEGUI

Simple convertion from mouse event code in Orxonox to the one used in CEGUI.

References orxonox::MouseButtonCode::Button3, orxonox::MouseButtonCode::Button4, orxonox::MouseButtonCode::Left, orxonox::MouseButtonCode::Middle, and orxonox::MouseButtonCode::Right.

Referenced by orxonox::GUIManager::mouseButtonPressed(), and orxonox::GUIManager::mouseButtonReleased().

template<class FromType, class ToType>

FORCEINLINE bool orxonox::convertImplicitely | ( | ToType * | output,
|  | const FromType & | input,
|  | detail::Int2Type< true > |  |
| ) |  |  | `[inline]`

template<class FromType, class ToType>

FORCEINLINE bool orxonox::convertImplicitely | ( | ToType * | output,
|  | const FromType & | input,
|  | detail::Int2Type< false > |  |
| ) |  |  | `[inline]`

References ConverterStringStream< FromType, ToType >::convert().

Referenced by orxonox::ConverterExplicit< FromType, ToType >::convert().

template<class FromType, class ToType>

FORCEINLINE bool orxonox::convertValue | ( | ToType * | output,
|  | const FromType & | input,
|  | const ToType & | fallback |
| ) |  |  | `[inline]`

Converts any value to any other as long as there exists a conversion. Otherwise, the conversion will generate a runtime warning and return false. For information about the different conversion methods (user defined too), see the section 'Actual conversion sequence' in this file above. If the conversion doesn't succeed, 'fallback' is written to '*output'.

Parameters:

  | fallback | A default value that gets written to '*output' if there is no conversion.

References convertValue().

template<class FromType, class ToType>

FORCEINLINE bool orxonox::convertValue | ( | ToType * | output,
|  | const FromType & | input |
| ) |  |  | `[inline]`

Converts any value to any other as long as there exists a conversion. Otherwise, the conversion will generate a runtime warning and return false. For information about the different conversion methods (user defined too), see the section 'Actual conversion sequence' in this file above.

Referenced by orxonox::ConfigValueContainer::callFunctionWithIndex(), orxonox::ConverterFallback< FromType, orxonox::Degree >::convert(), orxonox::ConverterFallback< FromType, orxonox::Radian >::convert(), orxonox::ConverterFallback< std::string, orxonox::ColourValue >::convert(), orxonox::ConverterFallback< std::string, orxonox::Quaternion >::convert(), orxonox::ConverterFallback< std::string, orxonox::Vector4 >::convert(), orxonox::ConverterFallback< std::string, orxonox::Vector3 >::convert(), orxonox::ConverterFallback< std::string, orxonox::Vector2 >::convert(), convertValue(), getConvertedValue(), orxonox::ConfigFile::load(), multi_cast(), orxonox::Button::parse(), orxonox::CommandLineArgument::parse(), and orxonox::Executor::setDescriptionParam().

template<class T>

void orxonox::copyPtr | ( | T | ptr,
|  | NetworkFunctionPointer & | destptr |
| ) |  |  | `[inline]`

References orxonox::KeyCode::T.

Referenced by registerMemberNetworkFunctionFct(), and registerStaticNetworkFunctionFct().

orxonox::CREATE_ALL_MEMBER_FUNCTORS | ( |  | ) |

orxonox::CREATE_ALL_STATIC_FUNCTORS | ( |  | ) |

ConsoleCommand* orxonox::createConsoleCommand | ( | Functor * | functor,
|  | const std::string & | name = `""` |
| ) |  |  | `[inline]`

Referenced by orxonox::GSRoot::activate(), orxonox::GSMainMenu::activate(), orxonox::GSLevel::activate(), orxonox::GSIOConsole::activate(), orxonox::GSGraphics::activate(), and orxonox::GraphicsManager::GraphicsManager().

ExecutorStatic* orxonox::createExecutor | ( | FunctorStatic * | functor,
|  | const std::string & | name = `""` |
| ) |  |  | `[inline]`

template<class T>

ExecutorMember<T>* orxonox::createExecutor | ( | FunctorMember< T > * | functor,
|  | const std::string & | name = `""` |
| ) |  |  | `[inline]`

Executor* orxonox::createExecutor | ( | Functor * | functor,
|  | const std::string & | name = `""` |
| ) |  |  | `[inline]`

Referenced by orxonox::AIController::AIController(), orxonox::BigExplosion::BigExplosion(), orxonox::MovableEntity::clientConnected(), orxonox::DroppedItem::createTimer(), delay(), orxonox::EnergyDrink::EnergyDrink(), orxonox::ExplosionChunk::ExplosionChunk(), orxonox::FadeoutText::FadeoutText(), orxonox::ParticleSpawner::fireParticleSpawner(), orxonox::HsW01::HsW01(), orxonox::ChatOverlay::incomingChat(), orxonox::ReplenishingMunition::initializeTimer(), orxonox::LightningGunProjectile::LightningGunProjectile(), orxonox::Munition::Magazine::Magazine(), orxonox::PongAI::move(), orxonox::MuzzleFlash::MuzzleFlash(), orxonox::ModifierPickup::pickedUp(), orxonox::Pong::Pong(), orxonox::Projectile::Projectile(), orxonox::ReplenishingMunition::ReplenishingMunition(), orxonox::MovableEntity::resynchronize(), orxonox::ParticleSpawner::startParticleSpawner(), orxonox::FadingBillboard::startturnonoff(), orxonox::ExplosionChunk::stop(), orxonox::BigExplosion::stop(), orxonox::ParticleSpawner::stopParticleSpawner(), orxonox::FadingBillboard::stopturnonoff(), orxonox::TeamBaseMatch::TeamBaseMatch(), orxonox::PickupSpawner::trigger(), orxonox::UnderAttackHealthBar::UnderAttackHealthBar(), orxonox::WaypointPatrolController::WaypointPatrolController(), orxonox::Weapon::Weapon(), orxonox::WeaponMode::WeaponMode(), and orxonox::BaseObject::XMLPort().

orxonox::CreateFactory | ( | Stats |  | ) |

orxonox::CreateFactory | ( | Scoreboard |  | ) |

orxonox::CreateFactory | ( | OverlayText |  | ) |

orxonox::CreateFactory | ( | OverlayGroup |  | ) |

orxonox::CreateFactory | ( | NotificationQueue |  | ) |

orxonox::CreateFactory | ( | Map |  | ) |

orxonox::CreateFactory | ( | UnderAttackHealthBar |  | ) |

orxonox::CreateFactory | ( | TeamBaseMatchScore |  | ) |

orxonox::CreateFactory | ( | PongScore |  | ) |

orxonox::CreateFactory | ( | KillMessage |  | ) |

orxonox::CreateFactory | ( | HUDTimer |  | ) |

orxonox::CreateFactory | ( | HUDSpeedBar |  | ) |

orxonox::CreateFactory | ( | HUDRadar |  | ) |

orxonox::CreateFactory | ( | HUDNavigation |  | ) |

orxonox::CreateFactory | ( | HUDHealthBar |  | ) |

orxonox::CreateFactory | ( | BarColour |  | ) |

orxonox::CreateFactory | ( | GametypeStatus |  | ) |

orxonox::CreateFactory | ( | DeathMessage |  | ) |

orxonox::CreateFactory | ( | ChatOverlay |  | ) |

orxonox::CreateFactory | ( | AnnounceMessage |  | ) |

orxonox::CreateFactory | ( | GUIOverlay |  | ) |

orxonox::CreateFactory | ( | FadeoutText |  | ) |

orxonox::CreateFactory | ( | DebugRTRText |  | ) |

orxonox::CreateFactory | ( | DebugFPSText |  | ) |

orxonox::CreateFactory | ( | Trigger |  | ) |

orxonox::CreateFactory | ( | EventTrigger |  | ) |

orxonox::CreateFactory | ( | DistanceTrigger |  | ) |

orxonox::CreateFactory | ( | CheckPoint |  | ) |

orxonox::CreateFactory | ( | TeamSpawnPoint |  | ) |

orxonox::CreateFactory | ( | StaticEntity |  | ) |

orxonox::CreateFactory | ( | SpawnPoint |  | ) |

orxonox::CreateFactory | ( | PongCenterpoint |  | ) |

orxonox::CreateFactory | ( | PongBat |  | ) |

orxonox::CreateFactory | ( | PongBall |  | ) |

orxonox::CreateFactory | ( | Planet |  | ) |

orxonox::CreateFactory | ( | TeamBaseMatchBase |  | ) |

orxonox::CreateFactory | ( | Spectator |  | ) |

orxonox::CreateFactory | ( | SpaceShip |  | ) |

orxonox::CreateFactory | ( | Pawn |  | ) |

orxonox::CreateFactory | ( | Destroyer |  | ) |

orxonox::CreateFactory | ( | ParticleSpawner |  | ) |

orxonox::CreateFactory | ( | ParticleEmitter |  | ) |

orxonox::CreateFactory | ( | MovableEntity |  | ) |

orxonox::CreateFactory | ( | Model |  | ) |

orxonox::CreateFactory | ( | Light |  | ) |

orxonox::CreateFactory | ( | ForceField |  | ) |

orxonox::CreateFactory | ( | FadingBillboard |  | ) |

orxonox::CreateFactory | ( | ExplosionChunk |  | ) |

orxonox::CreateFactory | ( | ControllableEntity |  | ) |

orxonox::CreateFactory | ( | CameraPosition |  | ) |

orxonox::CreateFactory | ( | Camera |  | ) |

orxonox::CreateFactory | ( | BlinkingBillboard |  | ) |

orxonox::CreateFactory | ( | Billboard |  | ) |

orxonox::CreateFactory | ( | BigExplosion |  | ) |

orxonox::CreateFactory | ( | Backlight |  | ) |

orxonox::CreateFactory | ( | Attacher |  | ) |

orxonox::CreateFactory | ( | WeaponSystem |  | ) |

orxonox::CreateFactory | ( | WeaponSlot |  | ) |

orxonox::CreateFactory | ( | WeaponSet |  | ) |

orxonox::CreateFactory | ( | WeaponPack |  | ) |

orxonox::CreateFactory | ( | LightningGun |  | ) |

orxonox::CreateFactory | ( | LaserFire |  | ) |

orxonox::CreateFactory | ( | HsW01 |  | ) |

orxonox::CreateFactory | ( | FusionFire |  | ) |

orxonox::CreateFactory | ( | EnergyDrink |  | ) |

orxonox::CreateFactory | ( | Weapon |  | ) |

orxonox::CreateFactory | ( | Projectile |  | ) |

orxonox::CreateFactory | ( | ParticleProjectile |  | ) |

orxonox::CreateFactory | ( | LightningGunProjectile |  | ) |

orxonox::CreateFactory | ( | BillboardProjectile |  | ) |

orxonox::CreateFactory | ( | MuzzleFlash |  | ) |

orxonox::CreateFactory | ( | ReplenishingMunition |  | ) |

orxonox::CreateFactory | ( | LaserMunition |  | ) |

orxonox::CreateFactory | ( | FusionMunition |  | ) |

orxonox::CreateFactory | ( | Munition |  | ) |

orxonox::CreateFactory | ( | DefaultWeaponmodeLink |  | ) |

orxonox::CreateFactory | ( | Test |  | ) |

orxonox::CreateFactory | ( | Script |  | ) |

orxonox::CreateFactory | ( | Scene |  | ) |

orxonox::CreateFactory | ( | QuestListener |  | ) |

orxonox::CreateFactory | ( | QuestHint |  | ) |

orxonox::CreateFactory | ( | QuestEffectBeacon |  | ) |

orxonox::CreateFactory | ( | QuestDescription |  | ) |

orxonox::CreateFactory | ( | LocalQuest |  | ) |

orxonox::CreateFactory | ( | GlobalQuest |  | ) |

orxonox::CreateFactory | ( | FailQuest |  | ) |

orxonox::CreateFactory | ( | CompleteQuest |  | ) |

orxonox::CreateFactory | ( | AddReward |  | ) |

orxonox::CreateFactory | ( | AddQuestHint |  | ) |

orxonox::CreateFactory | ( | AddQuest |  | ) |

orxonox::CreateFactory | ( | PickupSpawner |  | ) |

orxonox::CreateFactory | ( | ModifierPickup |  | ) |

orxonox::CreateFactory | ( | Jump |  | ) |

orxonox::CreateFactory | ( | HealthUsable |  | ) |

orxonox::CreateFactory | ( | HealthImmediate |  | ) |

orxonox::CreateFactory | ( | DroppedItem |  | ) |

orxonox::CreateFactory | ( | Level |  | ) |

orxonox::CreateFactory | ( | MultiStateEngine |  | ) |

orxonox::CreateFactory | ( | Engine |  | ) |

orxonox::CreateFactory | ( | PongBot |  | ) |

orxonox::CreateFactory | ( | Bot |  | ) |

orxonox::CreateFactory | ( | GlobalShader |  | ) |

orxonox::CreateFactory | ( | EventTarget |  | ) |

orxonox::CreateFactory | ( | EventListener |  | ) |

orxonox::CreateFactory | ( | EventDispatcher |  | ) |

orxonox::CreateFactory | ( | WaypointPatrolController |  | ) |

orxonox::CreateFactory | ( | WaypointController |  | ) |

orxonox::CreateFactory | ( | ScriptController |  | ) |

orxonox::CreateFactory | ( | AIController |  | ) |

orxonox::CreateFactory | ( | SphereCollisionShape |  | ) |

orxonox::CreateFactory | ( | PlaneCollisionShape |  | ) |

orxonox::CreateFactory | ( | ConeCollisionShape |  | ) |

orxonox::CreateFactory | ( | CompoundCollisionShape |  | ) |

orxonox::CreateFactory | ( | BoxCollisionShape |  | ) |

orxonox::CreateFactory | ( | Template |  | ) |

orxonox::CreateFactory | ( | Namespace |  | ) |

orxonox::CreateFactory | ( | BaseObject |  | ) |

orxonox::CreateTypeToStringTemplate | ( | Degree |  | ) |

orxonox::CreateTypeToStringTemplate | ( | Radian |  | ) |

orxonox::CreateTypeToStringTemplate | ( | ColourValue |  | ) |

orxonox::CreateTypeToStringTemplate | ( | Quaternion |  | ) |

orxonox::CreateTypeToStringTemplate | ( | Vector3 |  | ) |

orxonox::CreateTypeToStringTemplate | ( | Vector2 |  | ) |

orxonox::CreateTypeToStringTemplate | ( | bool |  | ) |

orxonox::CreateTypeToStringTemplate | ( | long | double | ) |

orxonox::CreateTypeToStringTemplate | ( | double |  | ) |

orxonox::CreateTypeToStringTemplate | ( | float |  | ) |

orxonox::CreateTypeToStringTemplate | ( | unsigned long | long | ) |

orxonox::CreateTypeToStringTemplate | ( | long |  | ) |

orxonox::CreateTypeToStringTemplate | ( | short |  | ) |

orxonox::CreateTypeToStringTemplate | ( | char |  | ) |

orxonox::CreateTypeToStringTemplate | ( | unsigned | int | ) |

orxonox::CreateTypeToStringTemplate | ( | int |  | ) |

orxonox::CreateUnloadableFactory | ( | HumanPlayer |  | ) |

orxonox::CreateUnloadableFactory | ( | GametypeInfo |  | ) |

orxonox::CreateUnloadableFactory | ( | UnderAttack |  | ) |

orxonox::CreateUnloadableFactory | ( | TeamDeathmatch |  | ) |

orxonox::CreateUnloadableFactory | ( | TeamBaseMatch |  | ) |

orxonox::CreateUnloadableFactory | ( | Pong |  | ) |

orxonox::CreateUnloadableFactory | ( | Gametype |  | ) |

orxonox::CreateUnloadableFactory | ( | Deathmatch |  | ) |

orxonox::CreateUnloadableFactory | ( | Asteroids |  | ) |

orxonox::CreateUnloadableFactory | ( | PongAI |  | ) |

orxonox::CreateUnloadableFactory | ( | HumanController |  | ) |

orxonox::CreateUnloadableFactory | ( | Controller |  | ) |

template<typename T>

T orxonox::cube | ( | T | x | ) | `[inline]`

Returns the cube value (x^3).

Referenced by interpolateSmooth().

orxonox::DeclareGameState | ( | GSStandalone | ,
|  | "standalone" | ,
|  | false | ,
|  | true |  |
| ) |  |  |

orxonox::DeclareGameState | ( | GSServer | ,
|  | "server" | ,
|  | false | ,
|  | true |  |
| ) |  |  |

orxonox::DeclareGameState | ( | GSRoot | ,
|  | "root" | ,
|  | true | ,
|  | false |  |
| ) |  |  |

orxonox::DeclareGameState | ( | GSMainMenu | ,
|  | "mainMenu" | ,
|  | false | ,
|  | true |  |
| ) |  |  |

orxonox::DeclareGameState | ( | GSLevel | ,
|  | "level" | ,
|  | false | ,
|  | true |  |
| ) |  |  |

orxonox::DeclareGameState | ( | GSIOConsole | ,
|  | "ioConsole" | ,
|  | false | ,
|  | false |  |
| ) |  |  |

orxonox::DeclareGameState | ( | GSGraphics | ,
|  | "graphics" | ,
|  | true | ,
|  | true |  |
| ) |  |  |

orxonox::DeclareGameState | ( | GSDedicated | ,
|  | "dedicated" | ,
|  | false | ,
|  | false |  |
| ) |  |  |

orxonox::DeclareGameState | ( | GSClient | ,
|  | "client" | ,
|  | false | ,
|  | true |  |
| ) |  |  |

void orxonox::delay | ( | float | delay,
|  | const std::string & | command |
| ) |  |  |

Calls a console command after 'delay' seconds.

Parameters:

  | delay | The delay in seconds
  | command | The console command

References createExecutor(), delaytimerset, executeDelayedCommand(), orxonox::Executor::setDefaultValues(), and orxonox::StaticTimer::setTimer().

Referenced by orxonox::PongAI::move(), orxonox::PongAI::tick(), and tolua_CEGUI_CEGUI_Window_setAutoRepeatDelay00().

_CoreExport std::string orxonox::echo | ( | const std::string & | text | ) |

template<class T>

const T& orxonox::exceptionThrowerHelper | ( | const T & | exception | ) | `[inline]`

Helper function that forwards an exception and displays the message.

This is necessary because only when using 'throw' the objects storage is managed.

References COUT.

void orxonox::executeDelayedCommand | ( | StaticTimer * | timer,
|  | const std::string & | command |
| ) |  |  |

Executes the command.

Parameters:

  | timer | The timer to destroy after the command-execution
  | command | The command to execute

References delaytimerset, and orxonox::CommandExecutor::execute().

Referenced by delay().

_UtilExport std::string orxonox::fromClipboard | ( |  | ) |

Default implementation if there is no OS-specific implementation or no clipboard. Gets the text from the internal clipboard.

Returns:
  The text

References clipboard.

Referenced by orxonox::InputBuffer::processKey().

_UtilExport orxonox::Vector2 orxonox::get2DViewcoordinates | ( | const orxonox::Vector3 & | myposition,
|  | const orxonox::Vector3 & | mydirection,
|  | const orxonox::Vector3 & | myorthonormal,
|  | const orxonox::Vector3 & | otherposition |
| ) |  |  |

References orxonox::MT_Type::Vector2, and orxonox::MT_Type::Vector3.

Referenced by orxonox::HUDRadar::displayObject().

_UtilExport orxonox::Vector2 orxonox::get2DViewdirection | ( | const orxonox::Vector3 & | myposition,
|  | const orxonox::Vector3 & | mydirection,
|  | const orxonox::Vector3 & | myorthonormal,
|  | const orxonox::Vector3 & | otherposition |
| ) |  |  |

References orxonox::MT_Type::Vector2, and orxonox::MT_Type::Vector3.

Referenced by orxonox::ArtificialController::moveToPosition().

_UtilExport float orxonox::getAngle | ( | const orxonox::Vector3 & | myposition,
|  | const orxonox::Vector3 & | mydirection,
|  | const orxonox::Vector3 & | otherposition |
| ) |  |  |

References orxonox::MT_Type::Vector3.

Referenced by orxonox::ArtificialController::isLookingAtTarget().

_UtilExport std::string orxonox::getComment | ( | const std::string & | str | ) |

If the string contains a comment, the comment gets returned (including the comment symbol), an empty string otherwise.

Parameters:

  | str | The string

Returns:
  The comment

References getCommentPosition().

_UtilExport size_t orxonox::getCommentPosition | ( | const std::string & | str | ) |

If the string contains a comment, the position of the comment-symbol gets returned, std::string::npos otherwise.

Parameters:

  | str | The string

Returns:
  The position

References getNextCommentPosition().

Referenced by getComment(), and hasComment().

template<class FromType, class ToType>

FORCEINLINE ToType orxonox::getConvertedValue | ( | const FromType & | input,
|  | const ToType & | fallback |
| ) |  |  | `[inline]`

References convertValue().

template<class FromType, class ToType>

FORCEINLINE ToType orxonox::getConvertedValue | ( | const FromType & | input | ) | `[inline]`

References convertValue().

_UtilExport std::string orxonox::getLowercase | ( | const std::string & | str | ) |

Returns a copy of the given string without uppercase chars.

Parameters:

  | str | The string

Returns:
  The copy

References lowercase().

Referenced by orxonox::Identifier::addConfigValueContainer(), orxonox::Identifier::addConsoleCommand(), orxonox::CommandExecutor::addConsoleCommandShortcut(), config(), orxonox::autocompletion::configvalue(), orxonox::autocompletion::configvalueclasses(), orxonox::autocompletion::configvalues(), orxonox::ConverterExplicit< std::string, bool >::convert(), orxonox::CommandExecutor::createListOfPossibleArguments(), orxonox::CommandExecutor::createListOfPossibleFunctions(), orxonox::CommandExecutor::createListOfPossibleIdentifiers(), orxonox::Game::declareGameState(), orxonox::autocompletion::files(), orxonox::Game::Game(), orxonox::CommandExecutor::getPossibleArgument(), orxonox::CommandExecutor::getPossibleCommand(), orxonox::CommandExecutor::getPossibleIdentifier(), orxonox::Game::getState(), orxonox::Button::parse(), orxonox::CommandExecutor::parse(), orxonox::XMLPortClassParamContainer< T >::port(), orxonox::WorldEntity::setCollisionTypeStr(), orxonox::Identifier::setName(), and tconfig().

_UtilExport size_t orxonox::getNextCommentPosition | ( | const std::string & | str,
|  | size_t | start |
| ) |  |  |

Returns the position of the next comment-symbol, starting with start.

Parameters:

  | str | The string
  | start | The startposition

Returns:
  The position

References isComment().

Referenced by getCommentPosition(), and orxonox::ConfigFile::load().

_UtilExport size_t orxonox::getNextQuote | ( | const std::string & | str,
|  | size_t | start |
| ) |  |  |

Returns the position of the next quote in the string, starting with start.

Parameters:

  | str | The string
  | start | The startposition

Returns:
  The position of the next quote (std::string::npos if there is no next quote)

Referenced by getStringBetweenQuotes(), hasStringBetweenQuotes(), isBetweenQuotes(), and orxonox::LuaBind::replaceLuaTags().

_UtilExport orxonox::Vector3 orxonox::getPredictedPosition | ( | const orxonox::Vector3 & | myposition,
|  | float | projectilespeed,
|  | const orxonox::Vector3 & | targetposition,
|  | const orxonox::Vector3 & | targetvelocity |
| ) |  |  |

Returns the predicted position I have to aim at, if I want to hit a moving target with a moving projectile.

Parameters:

  | myposition | My position
  | projectilespeed | The speed of my projectile
  | targetposition | The position of my target
  | targetvelocity | The velocity of my target

Returns:
  The predicted position

The function predicts the position based on a linear velocity of the target. If the target changes speed or direction, the projectile will miss.

References orxonox::MT_Type::Vector3.

Referenced by orxonox::ArtificialController::aimAtTarget().

int orxonox::getSoftDebugLevel | ( |  | ) | `[inline]`

Returns the soft debug level, stored in the only existing instance of the OutputHandler class, configured in the config-file.

Returns:
  The soft debug level

Referenced by operator<<(), and orxonox::Shell::Shell().

_UtilExport std::string orxonox::getStringBetweenQuotes | ( | const std::string & | str | ) |

If the string contains something like '..."between quotes"...' then 'between quotes' gets returned (without quotes).

Parameters:

  | The | string
  | The | string between the quotes

References getNextQuote().

_UtilExport std::string orxonox::getStripped | ( | const std::string & | str | ) |

Returns a copy of a string without whitespaces.

Parameters:

  | str | The string to strip

Returns:
  The stripped line

References strip().

Referenced by orxonox::Executor::evaluate(), isComment(), isEmpty(), and orxonox::ConfigFile::load().

_UtilExport unsigned long orxonox::getUniqueNumber | ( |  | ) |

Referenced by getUniqueNumberString().

_UtilExport std::string orxonox::getUniqueNumberString | ( |  | ) |

References getUniqueNumber(), and multi_cast().

Referenced by orxonox::Camera::Camera(), orxonox::HUDRadar::displayObject(), orxonox::HUDBar::HUDBar(), orxonox::HUDNavigation::HUDNavigation(), orxonox::HUDRadar::HUDRadar(), orxonox::Light::Light(), orxonox::Map::Map(), orxonox::OverlayText::OverlayText(), orxonox::RadarViewable::RadarViewable(), orxonox::CameraManager::releaseFocus(), and orxonox::Stats::Stats().

_UtilExport std::string orxonox::getUppercase | ( | const std::string & | str | ) |

Returns a copy of the given string without lowercase chars.

Parameters:

  | str | The string

Returns:
  The copy

References uppercase().

_UtilExport bool orxonox::hasComment | ( | const std::string & | str | ) |

Returns true if the string contains a comment, introduced by #, %, ; or //.

Parameters:

  | str | The string

Returns:
  True if the string contains a comment

References getCommentPosition().

_UtilExport bool orxonox::hasStringBetweenQuotes | ( | const std::string & | str | ) |

Returns true if the string contains something like '..."between quotes"...'.

Parameters:

  | The | string

Returns:
  True if there is something between quotes

References getNextQuote().

template<typename T>

T orxonox::interpolate | ( | float | time,
|  | const T & | start,
|  | const T & | end |
| ) |  |  | `[inline]`

Interpolates between two values for a time between 0 and 1.

Parameters:

  | time | The time is a value between 0 and 1 - the function returns start if time is 0 and end if time is 1 and interpolates if time is between 0 and 1.
  | start | The value at time = 0
  | end | The value at time = 1

Returns:
  The interpolation at a given time

template<typename T>

T orxonox::interpolateSmooth | ( | float | time,
|  | const T & | start,
|  | const T & | end |
| ) |  |  | `[inline]`

Interpolates smoothly between two values for a time between 0 and 1. The function starts slowly, increases faster and stops slowly again.

Parameters:

  | time | The time is a value between 0 and 1 - the function returns start if time is 0 and end if time is 1 and interpolates if time is between 0 and 1.
  | start | The value at time = 0
  | end | The value at time = 1

Returns:
  The smoothed interpolation at a given time

References cube(), and square().

Referenced by orxonox::HUDBar::valueChanged().

_UtilExport bool orxonox::isBetweenQuotes | ( | const std::string & | str,
|  | size_t | pos |
| ) |  |  |

Returns true if pos is between two quotes.

Parameters:

  | str | The string
  | pos | The position to check

Returns:
  True if pos is between two quotes

References getNextQuote().

Referenced by orxonox::ConfigFile::load().

_UtilExport bool orxonox::isComment | ( | const std::string & | str | ) |

Determines if a string is a comment (starts with a comment-symbol).

Parameters:

  | str | The string to check

Returns:
  True = it's a comment

A comment is defined by a leading '#', '', ';' or '//'.

References getStripped().

Referenced by getNextCommentPosition(), and orxonox::ConfigFile::load().

_UtilExport bool orxonox::isEmpty | ( | const std::string & | str | ) |

Determines if a string is empty (contains only whitespaces).

Parameters:

  | str | The string to check

Returns:
  True = it's empty

References getStripped().

Referenced by orxonox::ConfigFile::load(), and orxonox::Button::parse().

_UtilExport bool orxonox::isNumeric | ( | const std::string & | str | ) |

Determines if a string contains only numbers and maximal one '.'.

Parameters:

  | str | The string to check

Returns:
  True = it's a number

void orxonox::killdelays | ( |  | ) |

Kills all delayed commands.

References delaytimerset.

template<>

void orxonox::loadAndIncrease | ( | const Radian & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References orxonox::MT_Type::Radian, and returnSize().

template<>

void orxonox::loadAndIncrease | ( | const Degree & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References orxonox::MT_Type::Degree, and returnSize().

template<>

void orxonox::loadAndIncrease | ( | const std::string & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

template<>

void orxonox::loadAndIncrease | ( | const long double & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const double & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const float & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const unsigned long long & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const long long & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const unsigned long & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const long & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const unsigned int & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const int & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const unsigned short & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const short & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const unsigned char & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const char & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::loadAndIncrease | ( | const bool & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<class T>

void orxonox::loadAndIncrease | ( | const T & | ,
|  | uint8_t *& |  |
| ) |  |  | `[inline]`

loads the value of a variable out of the bytestream and increases the mem pointer

Referenced by orxonox::MT_Value< T >::importData(), orxonox::SynchronisableVariableBidirectional< T >::putData(), and orxonox::SynchronisableVariable< T >::putData().

void orxonox::loadCalibration | ( | std::vector< int > & | list,
|  | const std::string & | sectionName,
|  | const std::string & | valueName,
|  | size_t | size,
|  | int | defaultValue |
| ) |  |  |

Helper function that loads the config value vector of one coefficient.

References orxonox::ConfigFileManager::getInstance(), orxonox::ConfigFileManager::getValue(), orxonox::ConfigFileManager::getVectorSize(), orxonox::ConfigFileType::JoyStickCalibration, and multi_cast().

Referenced by orxonox::InputManager::_configureJoySticks().

void orxonox::loadSettings | ( | const std::string & | filename | ) |

References orxonox::ConfigFileManager::getInstance(), orxonox::ConfigFileManager::setFilename(), and orxonox::ConfigFileType::Settings.

_UtilExport void orxonox::lowercase | ( | std::string * | str | ) |

Replaces each char between A and Z with its lowercase equivalent.

Parameters:

  | str | The string to convert

Referenced by orxonox::CommandExecutor::createListOfPossibleArguments(), orxonox::CommandExecutor::createListOfPossibleFunctions(), orxonox::CommandExecutor::createListOfPossibleIdentifiers(), getLowercase(), orxonox::CommandExecutor::getPossibleArgument(), orxonox::CommandExecutor::getPossibleCommand(), and orxonox::CommandExecutor::getPossibleIdentifier().

template<typename T>

int orxonox::mod | ( | T | x,
|  | int | max |
| ) |  |  | `[inline]`

The modulo operation, enhanced to work properly with negative values.

Parameters:

  | x | The value
  | max | The operand

Referenced by orxonox::Shell::getFromHistory().

_UtilExport void orxonox::msleep | ( | unsigned long | msec | ) |

Makes the thread sleep for a few milliseconds.

References usleep().

Referenced by orxonox::Thread::waitUntilFinished().

template<class ToType, class FromType>

FORCEINLINE ToType orxonox::multi_cast | ( | const FromType & | input | ) | `[inline]`

References convertValue().

Referenced by orxonox::InputManager::_configureJoySticks(), orxonox::TclThreadManager::create(), orxonox::TclThreadManager::dumpList(), orxonox::TextureGenerator::getMaterialName(), getUniqueNumberString(), orxonox::HUDBar::HUDBar(), orxonox::KeyBinder::initialiseJoyStickBindings(), orxonox::IRC::initialize(), loadCalibration(), orxonox::Scene::setNegativeWorldRange(), orxonox::Scene::setPositiveWorldRange(), orxonox::TclThreadManager::status(), orxonox::TeamBaseMatchScore::tick(), orxonox::PongScore::tick(), orxonox::HUDNavigation::tick(), and orxonox::UnderAttack::tick().

template<>

bool orxonox::MultiType::convert< const orxonox::ColourValue & > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< const orxonox::Degree & > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< const orxonox::Quaternion & > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< const orxonox::Radian & > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< const orxonox::Vector2 & > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< const orxonox::Vector3 & > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< const orxonox::Vector4 & > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< const std::string & > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< orxonox::ColourValue > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< orxonox::Degree > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< orxonox::Quaternion > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< orxonox::Radian > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< orxonox::Vector2 > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< orxonox::Vector3 > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< orxonox::Vector4 > | ( |  | ) | `[inline]`

Converts the current value to the given type.

template<>

bool orxonox::MultiType::convert< std::string > | ( |  | ) | `[inline]`

Returns true if the current type equals the given type.

template<>

bool orxonox::MultiType::isType< orxonox::ColourValue > | ( |  | ) | const`[inline]`

Returns true if the current type equals the given type.

template<>

bool orxonox::MultiType::isType< orxonox::Degree > | ( |  | ) | const`[inline]`

Returns true if the current type equals the given type.

template<>

bool orxonox::MultiType::isType< orxonox::Quaternion > | ( |  | ) | const`[inline]`

Returns true if the current type equals the given type.

template<>

bool orxonox::MultiType::isType< orxonox::Radian > | ( |  | ) | const`[inline]`

Returns true if the current type equals the given type.

template<>

bool orxonox::MultiType::isType< orxonox::Vector2 > | ( |  | ) | const`[inline]`

Returns true if the current type equals the given type.

template<>

bool orxonox::MultiType::isType< orxonox::Vector3 > | ( |  | ) | const`[inline]`

Returns true if the current type equals the given type.

template<>

bool orxonox::MultiType::isType< orxonox::Vector4 > | ( |  | ) | const`[inline]`

Returns true if the current type equals the given type.

template<>

bool orxonox::MultiType::isType< std::string > | ( |  | ) | const`[inline]`

Returns true if the current type equals the given type.

_UtilExport int orxonox::nocaseCmp | ( | const std::string & | s1,
|  | const std::string & | s2,
|  | size_t | len |
| ) |  |  |

Compares the first 'len' chars of two strings ignoring different casing.

Parameters:

  | s1 | First string
  | s2 | Second string
  | len | Maximal number of chars to compare

_UtilExport int orxonox::nocaseCmp | ( | const std::string & | s1,
|  | const std::string & | s2 |
| ) |  |  |

Compares two strings ignoring different casing.

Parameters:

  | s1 | First string
  | s2 | Second string

Referenced by orxonox::CommandEvaluation::execute().

InputManager::InputManagerState orxonox::operator &= | ( | InputManager::InputManagerState & | lval,
|  | int | rval |
| ) |  |  | `[inline]`

Defines the &= operator for easier use.

template<class T>

OutputHandler& orxonox::operator<< | ( | OutputHandler & | out,
|  | const T & | output |
| ) |  |  | `[inline]`

Overloading of the non-member << operator to redirect the output of classes with self defined '<< to std::ostream' operators to the console and the logfile.

Parameters:

  | out | The OutputHandler itself
  | output | The class that should be shown in the console

Returns:
  The OutputHandler itself

References orxonox::OutputHandler::getLogfile(), orxonox::OutputHandler::getOutputBuffer(), orxonox::OutputHandler::getOutputLevel(), and getSoftDebugLevel().

Referenced by fallbackTemplates::operator<<().

_UtilExport std::ostream& orxonox::operator<< | ( | std::ostream & | outstream,
|  | const MultiType & | mt |
| ) |  |  | `[inline]`

Puts the MultiType on a stream by using the native << operator of the current type.

References orxonox::MultiType::value_.

_UtilExport std::ostream & orxonox::operator<< | ( | std::ostream & | out,
|  | const orxonox::Degree & | degree |
| ) |  |  |

Function for writing a Degree to a stream.

_UtilExport std::ostream & orxonox::operator<< | ( | std::ostream & | out,
|  | const orxonox::Radian & | radian |
| ) |  |  |

Function for writing a Radian to a stream.

_CoreExport std::ostream & orxonox::operator<< | ( | std::ostream & | out,
|  | const std::set< const Identifier * > & | list |
| ) |  |  |

Lists the names of all Identifiers in a std::set<const Identifier*>.

Parameters:

  | out | The outstream
  | list | The list (or set) of Identifiers

Returns:
  The outstream

References orxonox::XMLPortObjectContainer::getName().

std::ostream& orxonox::operator<< | ( | std::ostream & | out,
|  | const ClassTreeMask & | mask |
| ) |  |  |

Converts the content of a mask into a human readable string and puts it on the ostream.

Parameters:

  | out | The ostream
  | mask | The mask

Returns:
  A reference to the ostream

References orxonox::ClassTreeMask::root_.

_UtilExport std::istream & orxonox::operator>> | ( | std::istream & | in,
|  | orxonox::Degree & | degree |
| ) |  |  |

Function for reading a Degree from a stream.

_UtilExport std::istream & orxonox::operator>> | ( | std::istream & | in,
|  | orxonox::Radian & | radian |
| ) |  |  |

Function for reading a Radian from a stream.

InputManager::InputManagerState orxonox::operator|= | ( | InputManager::InputManagerState & | lval,
|  | InputManager::InputManagerState | rval |
| ) |  |  | `[inline]`

Defines the |= operator for easier use.

_UtilExport bool orxonox::parse_float | ( | char * | const,
|  | char ** | ,
|  | char | ,
|  | double * |  |
| ) |  |  |

_UtilExport bool orxonox::parse_float | ( | char * | const,
|  | char ** | ,
|  | double * |  |
| ) |  |  |

_UtilExport bool orxonox::parse_vector_float | ( | char * | const,
|  | char ** | ,
|  | bool | ,
|  | double * |  |
| ) |  |  |

_CoreExport void orxonox::puts | ( | bool | newline,
|  | const std::string & | text |
| ) |  |  |

References COUT.

_CoreExport std::string orxonox::read | ( | const std::string & | filename | ) |

References COUT.

Referenced by OIS::LinuxJoyStick::capture().

orxonox::registerMemberNetworkFunction | ( | Pawn | ,
|  | doFire |  |
| ) |  |  |

orxonox::registerMemberNetworkFunction | ( | Test | ,
|  | printBlaBla |  |
| ) |  |  |

orxonox::registerMemberNetworkFunction | ( | Test | ,
|  | checkU1 |  |
| ) |  |  |

orxonox::registerMemberNetworkFunction | ( | GametypeInfo | ,
|  | dispatchDeathMessage |  |
| ) |  |  |

orxonox::registerMemberNetworkFunction | ( | GametypeInfo | ,
|  | dispatchKillMessage |  |
| ) |  |  |

orxonox::registerMemberNetworkFunction | ( | GametypeInfo | ,
|  | dispatchAnnounceMessage |  |
| ) |  |  |

template<class T, class PT>

void* orxonox::registerMemberNetworkFunctionFct | ( | PT | ptr,
|  | const std::string & | name |
| ) |  |  | `[inline]`

References BOOST_STATIC_ASSERT(), and copyPtr().

template<class T>

void* orxonox::registerStaticNetworkFunctionFct | ( | T | ptr,
|  | const std::string & | name |
| ) |  |  | `[inline]`

References BOOST_STATIC_ASSERT(), copyPtr(), and orxonox::KeyCode::T.

void orxonox::reloadConfig | ( |  | ) |

References orxonox::ConfigFileManager::getInstance(), and orxonox::ConfigFileManager::load().

_UtilExport std::string orxonox::removeSlashes | ( | const std::string & | str | ) |

Removes backslashes from the given string. Double backslashes are interpreted as one backslash.

Parameters:

  | str | The string to manipulate

Returns:
  The string with removed slashes

Referenced by orxonox::CommandEvaluation::execute(), and orxonox::ConfigFileEntryValue::getValue().

_UtilExport std::string orxonox::removeTrailingWhitespaces | ( | const std::string & | str | ) |

Returns a copy of a string without trailing whitespaces.

Parameters:

  | str | The string

Returns:
  The modified copy

Referenced by orxonox::CommandLine::_parse(), orxonox::CommandLine::_parseFile(), orxonox::ConverterExplicit< std::string, bool >::convert(), orxonox::CommandEvaluation::execute(), and orxonox::ConfigFile::load().

template<>

uint32_t orxonox::returnSize | ( | const Radian & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const Degree & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const std::string & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const long double & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const double & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const float & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const unsigned long long & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const long long & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const unsigned long & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const long & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const unsigned int & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const int & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const unsigned short & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const short & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const unsigned char & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const char & | variable | ) | `[inline]`

template<>

uint32_t orxonox::returnSize | ( | const bool & | variable | ) | `[inline]`

template<class T>

uint32_t orxonox::returnSize | ( | const T & |  | ) | `[inline]`

returns the size of the variable in a datastream

Referenced by orxonox::SynchronisableVariable< T >::getData(), orxonox::MT_Value< T >::getSize(), orxonox::SynchronisableVariableBidirectional< T >::getSize(), orxonox::SynchronisableVariable< T >::getSize(), loadAndIncrease(), and saveAndIncrease().

float orxonox::rnd | ( | float | min,
|  | float | max |
| ) |  |  | `[inline]`

Returns a random number between min and almost max: min <= rnd < max.

Parameters:

  | min | The minimum
  | max | The maximum

References rnd().

float orxonox::rnd | ( | float | max | ) | `[inline]`

Returns a random number between 0 and almost max: 0 <= rnd < max.

Parameters:

  | max | The maximum

References rnd().

float orxonox::rnd | ( |  | ) | `[inline]`

Returns a random number between 0 and almost 1: 0 <= rnd < 1.

Referenced by orxonox::AIController::action(), orxonox::BigExplosion::BigExplosion(), orxonox::Bot::Bot(), orxonox::PongAI::calculateBallEndPosition(), orxonox::PongAI::calculateRandomOffset(), orxonox::MovableEntity::clientConnected(), orxonox::ExplosionChunk::ExplosionChunk(), orxonox::TeamDeathmatch::getBestSpawnPoint(), orxonox::Gametype::getBestSpawnPoint(), orxonox::BigExplosion::init(), orxonox::MovableEntity::resynchronize(), rnd(), orxonox::WaypointPatrolController::searchEnemy(), orxonox::ArtificialController::searchNewTarget(), orxonox::ArtificialController::searchRandomTargetPosition(), orxonox::PongBall::setSpeed(), orxonox::ExplosionChunk::tick(), and orxonox::WaypointPatrolController::WaypointPatrolController().

float orxonox::rndsgn | ( |  | ) | `[inline]`

Returns randomly 1 or -1 with equal probability.

Referenced by orxonox::PongAI::calculateRandomOffset().

template<typename T>

int orxonox::round | ( | T | x | ) | `[inline]`

Rounds the value.

template<>

void orxonox::saveAndIncrease | ( | const Radian & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const Degree & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const std::string & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

template<>

void orxonox::saveAndIncrease | ( | const long double & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const double & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const float & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const unsigned long long & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const long long & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const unsigned long & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const long & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const unsigned int & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const int & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const unsigned short & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const short & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const unsigned char & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const char & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<>

void orxonox::saveAndIncrease | ( | const bool & | variable,
|  | uint8_t *& | mem |
| ) |  |  | `[inline]`

References returnSize().

template<class T>

void orxonox::saveAndIncrease | ( | const T & | ,
|  | uint8_t *& |  |
| ) |  |  | `[inline]`

saves the value of a variable into the bytestream and increases the mem pointer

Referenced by orxonox::MT_Value< T >::exportData(), orxonox::SynchronisableVariableBidirectional< T >::getData(), and orxonox::SynchronisableVariable< T >::getData().

void orxonox::saveConfig | ( |  | ) |

orxonox::SetCommandLineArgument | ( | ip | ,
|  | "127.0.0.1" |  |
| ) |  |  |

orxonox::SetCommandLineArgument | ( | settingsFile | ,
|  | "orxonox.ini" |  |
| ) |  |  |

orxonox::SetCommandLineArgument | ( | mediaPath | ,
|  | "" |  |
| ) |  |  |

orxonox::SetCommandLineOnlyArgument | ( | writingPathSuffix | ,
|  | "" |  |
| ) |  |  |

orxonox::SetCommandLineOnlyArgument | ( | optionsFile | ,
|  | "start.ini" |  |
| ) |  |  |

orxonox::SetCommandLineSwitch | ( | standalone |  | ) |

orxonox::SetCommandLineSwitch | ( | dedicated |  | ) |

orxonox::SetCommandLineSwitch | ( | client |  | ) |

orxonox::SetCommandLineSwitch | ( | server |  | ) |

orxonox::SetCommandLineSwitch | ( | console |  | ) |

orxonox::SetCommandLineSwitch | ( | keyboard_no_grab |  | ) |

orxonox::SetConsoleCommand | ( | Map | ,
|  | Zoom | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | Map | ,
|  | openMap | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | InGameConsole | ,
|  | closeConsole | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | InGameConsole | ,
|  | openConsole | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | Trigger | ,
|  | debugFlares | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | useItem | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | dropItems | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | killBots | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | addBots | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | suicide | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | mouseLook | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | switchCamera | ,
|  | true |  |
| ) |  |  |

SetConsoleCommand (HumanController, boost, true).keybindMode(KeybindMode orxonox::SetConsoleCommand | ( | HumanController | ,
|  | greet | ,
|  | true |  |
| ) |  |  |

SetConsoleCommand (HumanController, fire, true).keybindMode(KeybindMode orxonox::SetConsoleCommand | ( | HumanController | ,
|  | reload | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | rotateRoll | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | rotatePitch | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | rotateYaw | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | moveUpDown | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | moveRightLeft | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | HumanController | ,
|  | moveFrontBack | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | GSLevel | ,
|  | showIngameGUI | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | TclThreadManager | ,
|  | flush | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | TclThreadManager | ,
|  | dump | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | TclThreadManager | ,
|  | status | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | TclThreadManager | ,
|  | query | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | TclThreadManager | ,
|  | execute | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | TclThreadManager | ,
|  | destroy | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | TclThreadManager | ,
|  | create | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | Shell | ,
|  | history | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | Shell | ,
|  | clearShell | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | InputManager | ,
|  | reload | ,
|  | false |  |
| ) |  |  |

orxonox::SetConsoleCommand | ( | InputManager | ,
|  | calibrate | ,
|  | true |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | PickupInventory | ,
|  | toggleInventory |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | Host | ,
|  | Chat |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | TclBind | ,
|  | bgerror |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | TclBind | ,
|  | tcl |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | OutputHandler | ,
|  | debug |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | OutputHandler | ,
|  | info |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | OutputHandler | ,
|  | warning |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | OutputHandler | ,
|  | error |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcut | ( | OutputHandler | ,
|  | log |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcutAlias | ( | TclThreadManager | ,
|  | query | ,
|  | "tclquery" |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcutAlias | ( | TclThreadManager | ,
|  | execute | ,
|  | "tclexecute" |  |
| ) |  |  |

orxonox::SetConsoleCommandShortcutExtern | ( | killdelays |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | delay |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | calculate |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | write |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | append |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | read |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | puts |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | echo |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | source |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | loadSettings |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | cleanConfig |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | reloadConfig |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | tconfig |  | ) |

orxonox::SetConsoleCommandShortcutExtern | ( | config |  | ) |

orxonox::SetConsoleCommandShortcutExternAlias | ( | stop_game | ,
|  | "exit" |  |
| ) |  |  |

template<typename T>

T orxonox::sgn | ( | T | x | ) | `[inline]`

Returns the sign of the given value.

Parameters:

  | x | The value

Returns:
  1 if the value is positive or zero, -1 if the value is negative

Referenced by orxonox::PongAI::calculateBallEndPosition(), orxonox::ArtificialController::moveToPosition(), orxonox::PongBall::setSpeed(), orxonox::PongBall::tick(), and orxonox::PongAI::tick().

_UtilExport void orxonox::sleep | ( | unsigned long | sec | ) |

Makes the thread sleep for a few seconds.

References usleep().

_CoreExport void orxonox::source | ( | const std::string & | filename | ) |

References COUT, and orxonox::CommandExecutor::execute().

Referenced by orxonox::packet::Gamestate::compressData(), and orxonox::packet::Gamestate::decompressData().

template<typename T>

T orxonox::square | ( | T | x | ) | `[inline]`

Returns the square value (x^2).

Referenced by interpolateSmooth(), and orxonox::BlinkingBillboard::tick().

static void orxonox::stop_game | ( |  | ) | `[static]`

References orxonox::Game::getInstance(), and orxonox::Game::stop().

_UtilExport void orxonox::strip | ( | std::string * | str | ) |

Removes all whitespaces from a string.

Parameters:

  | str | The string to strip

Referenced by getStripped().

_UtilExport std::string orxonox::stripEnclosingBraces | ( | const std::string & | str | ) |

Removes enclosing {braces} (braces must be exactly on the beginning and the end of the string).

Parameters:

  | str | The string to strip

Returns:
  The striped string

Referenced by orxonox::TclBind::bgerror(), orxonox::TclThreadManager::execute(), orxonox::IRC::tcl_action(), orxonox::TclThreadManager::tcl_crossquery(), orxonox::TclThreadManager::tcl_execute(), orxonox::TclBind::tcl_execute(), orxonox::IRC::tcl_info(), orxonox::IRC::tcl_privmsg(), orxonox::TclThreadManager::tcl_query(), orxonox::TclBind::tcl_query(), and orxonox::IRC::tcl_say().

_UtilExport std::string orxonox::stripEnclosingQuotes | ( | const std::string & | str | ) |

Removes enclosing quotes if available (including whitespaces at the outside of the quotes).

str The string to strip

Returns:
  The string with removed quotes

Referenced by orxonox::ConfigFileEntryValue::getValue(), and orxonox::ConfigFileEntryValue::setValue().

orxonox::SUPER_FUNCTION | ( | 8 | ,
|  | OrxonoxOverlay | ,
|  | changedOverlayGroup | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 7 | ,
|  | OrxonoxOverlay | ,
|  | changedOwner | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 5 | ,
|  | WorldEntity | ,
|  | changedScale | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 1 | ,
|  | Tickable | ,
|  | tick | ,
|  | true |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 10 | ,
|  | BaseObject | ,
|  | changedGametype | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 9 | ,
|  | BaseObject | ,
|  | changedName | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 6 | ,
|  | BaseObject | ,
|  | changedMainState | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 4 | ,
|  | BaseObject | ,
|  | processEvent | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 3 | ,
|  | BaseObject | ,
|  | changedVisibility | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 2 | ,
|  | BaseObject | ,
|  | changedActivity | ,
|  | false |  |
| ) |  |  |

orxonox::SUPER_FUNCTION | ( | 0 | ,
|  | BaseObject | ,
|  | XMLPort | ,
|  | false |  |
| ) |  |  |

_CoreExport void orxonox::tclThread | ( | TclInterpreterBundle * | interpreterBundle,
|  | std::string | command |
| ) |  |  |

References orxonox::TclThreadManager::debug(), orxonox::TclThreadManager::error(), Tcl::interpreter::eval(), orxonox::TclInterpreterBundle::finished_, orxonox::TclInterpreterBundle::finishedCondition_, orxonox::TclInterpreterBundle::finishedMutex_, orxonox::TclThreadManager::getInstance(), orxonox::TclInterpreterBundle::id_, orxonox::TclInterpreterBundle::interpreter_, and orxonox::TclInterpreterBundle::interpreterMutex_.

Referenced by orxonox::TclThreadManager::update().

bool orxonox::tconfig | ( | const std::string & | classname,
|  | const std::string & | varname,
|  | const std::string & | value |
| ) |  |  |

References getLowercase(), orxonox::Identifier::getLowercaseIdentifierMap(), and orxonox::Identifier::getLowercaseIdentifierMapEnd().

boost::posix_time::millisec orxonox::THREAD_WAIT_BEFORE_DETACH | ( | 1000 |  | ) |

Referenced by orxonox::Thread::~Thread().

_UtilExport bool orxonox::toClipboard | ( | const std::string & | text | ) |

Default implementation if there is no OS-specific implementation or no clipboard. Copies the text into an internal clipboard.

Parameters:

  | text | The text

Returns:
  True

References clipboard.

Referenced by orxonox::InputBuffer::processKey().

template<class T>

std::string orxonox::typeToString | ( |  | ) | `[inline]`

template<>

std::string orxonox::typeToString< const std::string & > | ( |  | ) | `[inline]`

template<>

std::string orxonox::typeToString< const std::string > | ( |  | ) | `[inline]`

template<>

std::string orxonox::typeToString< std::string & > | ( |  | ) | `[inline]`

template<>

std::string orxonox::typeToString< std::string > | ( |  | ) | `[inline]`

_UtilExport void orxonox::uppercase | ( | std::string * | str | ) |

Replaces each char between a and z with its uppercase equivalent.

Parameters:

  | str | The string to convert

Referenced by getUppercase().

_UtilExport void orxonox::usleep | ( | unsigned long | usec | ) |

Makes the thread sleep for a few microseconds.

Referenced by msleep(), orxonox::Game::run(), and sleep().

_CoreExport void orxonox::write | ( | const std::string & | filename,
|  | const std::string & | text |
| ) |  |  |

References COUT.

template<typename T>

T orxonox::zeroise | ( |  | ) | `[inline]`

References orxonox::KeyCode::T.

template<>

bool orxonox::zeroise< bool > | ( |  | ) | `[inline]`

template<>

char orxonox::zeroise< char > | ( |  | ) | `[inline]`

template<>

double orxonox::zeroise< double > | ( |  | ) | `[inline]`

template<>

float orxonox::zeroise< float > | ( |  | ) | `[inline]`

template<>

int orxonox::zeroise< int > | ( |  | ) | `[inline]`

template<>

long orxonox::zeroise< long > | ( |  | ) | `[inline]`

template<>

long double orxonox::zeroise< long double > | ( |  | ) | `[inline]`

template<>

long long orxonox::zeroise< long long > | ( |  | ) | `[inline]`

template<>

orxonox::ColourValue orxonox::zeroise< orxonox::ColourValue > | ( |  | ) | `[inline]`

template<>

orxonox::Degree orxonox::zeroise< orxonox::Degree > | ( |  | ) | `[inline]`

template<>

orxonox::Quaternion orxonox::zeroise< orxonox::Quaternion > | ( |  | ) | `[inline]`

template<>

orxonox::Radian orxonox::zeroise< orxonox::Radian > | ( |  | ) | `[inline]`

template<>

orxonox::Vector2 orxonox::zeroise< orxonox::Vector2 > | ( |  | ) | `[inline]`

template<>

orxonox::Vector3 orxonox::zeroise< orxonox::Vector3 > | ( |  | ) | `[inline]`

template<>

orxonox::Vector4 orxonox::zeroise< orxonox::Vector4 > | ( |  | ) | `[inline]`

template<>

short orxonox::zeroise< short > | ( |  | ) | `[inline]`

template<>

std::string orxonox::zeroise< std::string > | ( |  | ) | `[inline]`

template<>

unsigned char orxonox::zeroise< unsigned char > | ( |  | ) | `[inline]`

template<>

unsigned int orxonox::zeroise< unsigned int > | ( |  | ) | `[inline]`

template<>

unsigned long orxonox::zeroise< unsigned long > | ( |  | ) | `[inline]`

template<>

unsigned long long orxonox::zeroise< unsigned long long > | ( |  | ) | `[inline]`

template<>

unsigned short orxonox::zeroise< unsigned short > | ( |  | ) | `[inline]`

template<>

void* orxonox::zeroise< void * > | ( |  | ) | `[inline]`

## Variable Documentation

const unsigned int orxonox::ACKID_NACK = 0

Referenced by orxonox::GamestateManager::ack().

const int orxonox::ACL_MODE_DISPLAY = 4

Referenced by orxonox::ArgumentCompletionListElement::getDisplay().

const int orxonox::ACL_MODE_LOWERCASE = 2

Referenced by orxonox::ArgumentCompletionListElement::getComparable(), and orxonox::ArgumentCompletionListElement::lowercaseComparison().

const int orxonox::ACL_MODE_NORMAL = 1

const float orxonox::ACTION_INTERVAL = 1.0f`[static]`

Referenced by orxonox::AIController::action(), and orxonox::AIController::AIController().

_UtilExport std::string orxonox::BLANKSTRING

Referenced by orxonox::OrxonoxOverlay::getBackgroundMaterial(), orxonox::ConfigFileManager::getFilename(), orxonox::BaseObject::getFilename(), orxonox::HUDNavigation::getFont(), orxonox::BillboardSet::getMaterial(), orxonox::Mesh::getName(), orxonox::BillboardSet::getName(), and orxonox::Functor::getTypenameParam().

boost::mutex orxonox::bundlesMutex_g`[static]`

Referenced by orxonox::TclThreadManager::create(), orxonox::TclThreadManager::destroy(), orxonox::TclThreadManager::getInterpreterBundle(), orxonox::TclThreadManager::getThreadList(), orxonox::TclThreadManager::status(), orxonox::TclThreadManager::update(), and orxonox::TclThreadManager::~TclThreadManager().

const float orxonox::CHAR_WIDTH = 7.45f

Referenced by orxonox::InGameConsole::windowResized().

const unsigned int orxonox::CLIENTID_SERVER = 0

Referenced by orxonox::GametypeInfo::sendAnnounceMessage(), orxonox::GametypeInfo::sendDeathMessage(), and orxonox::GametypeInfo::sendKillMessage().

const unsigned int orxonox::CLIENTID_UNKNOWN = static_cast<unsigned int>(-2)`[static]`

Referenced by orxonox::ServerConnection::addPacket(), orxonox::Server::broadcast(), orxonox::Host::Broadcast(), orxonox::UnderAttack::destroyedPawn(), orxonox::TeamBaseMatch::endGame(), orxonox::ClientInformation::getID(), orxonox::ChatOverlay::incomingChat(), orxonox::Gametype::pawnKilled(), orxonox::PlayerInfo::PlayerInfo(), orxonox::ClientInformation::removeClient(), orxonox::GametypeInfo::sendAnnounceMessage(), and orxonox::UnderAttack::tick().

std::string orxonox::clipboard = ""`[static]`

Keeps the text of our internal clipboard.

Referenced by fromClipboard(), and toClipboard().

const float orxonox::CONTINUOUS_SYNCHRONIZATION_TIME = 10.0f`[static]`

Referenced by orxonox::MovableEntity::resynchronize().

const char* const orxonox::DEFAULT_CONFIG_FILE = "default.ini"

Referenced by orxonox::ConfigFileManager::getFile().

std::set<StaticTimer*> orxonox::delaytimerset`[static]`

Referenced by delay(), executeDelayedCommand(), and killdelays().

const int orxonox::DISTANCE = 200

Referenced by orxonox::Map::updatePositions().

const float orxonox::FORWARD_EFFECT_VELOCITY_THRESHOLD = 20`[static]`

Referenced by orxonox::MultiStateEngine::tick().

boost::condition orxonox::fullQueueCondition_g`[static]`

Referenced by orxonox::TclThreadManager::popCommandFromQueue(), and orxonox::TclThreadManager::pushCommandToQueue().

const unsigned int orxonox::GAMESTATEID_INITIAL = static_cast<unsigned int>(-1)`[static]`

Referenced by orxonox::GamestateManager::ack(), orxonox::ClientInformation::ClientInformation(), orxonox::packet::Gamestate::collectData(), orxonox::TrafficControl::fixCreatorDependencies(), orxonox::GamestateClient::GamestateClient(), orxonox::TrafficControl::insertinClientListPerm(), orxonox::objInfo::objInfo(), orxonox::GamestateClient::processGamestates(), and orxonox::GamestateManager::sendGamestates().

const unsigned int orxonox::IRC_TCL_THREADID = 1421421421`[static]`

Referenced by orxonox::IRC::initialize().

const int orxonox::KEEP_GAMESTATES = 10

const int orxonox::LINES = 30

Referenced by orxonox::InGameConsole::InGameConsole(), orxonox::InGameConsole::initialise(), orxonox::InGameConsole::inputChanged(), orxonox::InGameConsole::linesChanged(), orxonox::InGameConsole::onlyLastLineChanged(), orxonox::InGameConsole::print(), orxonox::InGameConsole::shiftLines(), orxonox::InGameConsole::windowResized(), and orxonox::InGameConsole::~InGameConsole().

const unsigned int orxonox::MAX_COMMAND_LENGTH = 255

Referenced by orxonox::GSDedicated::inputThread(), and orxonox::GSDedicated::insertCharacter().

const unsigned int orxonox::MAX_FAILURES = 20

const unsigned int orxonox::MAX_FUNCTION_POINTER_INTS = (MAX_FUNCTION_POINTER_SIZE-1)/4+1`[static]`

const unsigned int orxonox::MAX_FUNCTION_POINTER_SIZE = 16`[static]`

const unsigned int orxonox::MAX_FUNCTOR_ARGUMENTS = 5

Referenced by orxonox::Executor::defaultValueSet(), orxonox::Executor::evaluate(), orxonox::CommandEvaluation::evaluateParams(), orxonox::Executor::getDefaultValue(), orxonox::Executor::getDescriptionParam(), orxonox::CommandEvaluation::getEvaluatedParameter(), orxonox::Executor::setDefaultValue(), orxonox::Executor::setDescriptionParam(), and orxonox::CommandEvaluation::setEvaluatedParameter().

const float orxonox::MAX_REACTION_TIME = 0.4f`[static]`

Referenced by orxonox::PongAI::move().

const float orxonox::MAX_RESYNCHRONIZE_TIME = 3.0f`[static]`

Referenced by orxonox::MovableEntity::clientConnected().

const unsigned int orxonox::MAX_VECTOR_INDEX = 255

Referenced by orxonox::ConfigValueContainer::callFunctionWithIndex(), and orxonox::ConfigValueContainer::tset().

const unsigned int orxonox::NETWORK_CLIENT_CHANNELS = 2

Referenced by orxonox::ClientConnection::establishConnection().

const unsigned int orxonox::NETWORK_CLIENT_CONNECTION_TIMEOUT = 3000

Referenced by orxonox::ClientConnection::closeConnection(), and orxonox::ClientConnection::establishConnection().

const unsigned int orxonox::NETWORK_CLIENT_MAX_CONNECTIONS = 5

Referenced by orxonox::ClientConnection::establishConnection().

const unsigned int orxonox::NETWORK_CLIENT_WAIT_TIME = 1

Referenced by orxonox::ClientConnection::closeConnection(), and orxonox::ClientConnection::establishConnection().

const unsigned int orxonox::NETWORK_DEFAULT_CHANNEL = 0

Referenced by orxonox::Connection::addPacket().

const unsigned int orxonox::NETWORK_FREQUENCY = 30

const unsigned int orxonox::NETWORK_MAX_CONNECTIONS = 50

Referenced by orxonox::ServerConnection::openListener().

const unsigned int orxonox::NETWORK_MAX_QUEUE_PROCESS_TIME = 5

const float orxonox::NETWORK_PERIOD = 1.0f/NETWORK_FREQUENCY

Referenced by orxonox::Server::update(), and orxonox::Client::update().

const unsigned int orxonox::NETWORK_PORT = 55556

Referenced by orxonox::ClientConnection::ClientConnection(), and orxonox::ServerConnection::ServerConnection().

const unsigned int orxonox::NETWORK_WAIT_TIMEOUT = 0

Referenced by orxonox::Connection::processQueue(), and orxonox::Connection::service().

const uint32_t orxonox::OBJECTID_UNKNOWN = static_cast<uint32_t>(-1)`[static]`

Referenced by orxonox::PongBall::applyBats(), orxonox::CollisionShape::CollisionShape(), orxonox::ControllableEntity::ControllableEntity(), orxonox::Engine::Engine(), orxonox::Synchronisable::fabricate(), orxonox::TrafficControl::fixCreatorDependencies(), orxonox::PlayerInfo::networkcallback_changedcontrollableentityID(), orxonox::PlayerInfo::networkcallback_changedgtinfoID(), orxonox::ControllableEntity::networkcallback_changedplayerID(), orxonox::WorldEntity::networkcallback_parentChanged(), orxonox::Engine::networkcallback_shipID(), orxonox::WorldEntity::notifyDetached(), orxonox::CollisionShape::notifyDetached(), orxonox::obj::obj(), orxonox::objInfo::objInfo(), orxonox::PlayerInfo::PlayerInfo(), orxonox::PongBall::PongBall(), orxonox::ControllableEntity::removePlayer(), orxonox::packet::Gamestate::spreadData(), orxonox::PlayerInfo::stopControl(), orxonox::Synchronisable::Synchronisable(), orxonox::PlayerInfo::updateGametypeInfo(), and orxonox::WorldEntity::WorldEntity().

const float orxonox::orientationGain = 100

const char orxonox::ORXONOX_CONFIG_DEV_PATH[] = "D:/orxonox/orxonox-0.0.3/mingw_release/config"

Referenced by orxonox::Core::checkDevBuild().

const char orxonox::ORXONOX_CONFIG_INSTALL_PATH[] = "config"

Referenced by orxonox::Core::checkDevBuild().

const char orxonox::ORXONOX_LOG_DEV_PATH[] = "D:/orxonox/orxonox-0.0.3/mingw_release/log"

Referenced by orxonox::Core::checkDevBuild().

const char orxonox::ORXONOX_LOG_INSTALL_PATH[] = "log"

Referenced by orxonox::Core::checkDevBuild().

const char orxonox::ORXONOX_MEDIA_DEV_PATH[] = "D:/orxonox/media"

Referenced by orxonox::Core::checkDevBuild().

const char orxonox::ORXONOX_MEDIA_INSTALL_PATH[] = "media"

Referenced by orxonox::Core::checkDevBuild().

const char orxonox::ORXONOX_OGRE_PLUGINS[] = "Plugin_ParticleFX, Plugin_CgProgramManager, RenderSystem_GL, RenderSystem_Direct3D9"

Referenced by orxonox::GraphicsManager::setConfigValues().

const char orxonox::ORXONOX_OGRE_PLUGINS_FOLDER[] = "."

Referenced by orxonox::GraphicsManager::setConfigValues().

const char orxonox::ORXONOX_RUNTIME_INSTALL_PATH[] = "bin"

Referenced by orxonox::Core::checkDevBuild().

boost::condition orxonox::orxonoxEvalCondition_g`[static]`

Referenced by orxonox::TclThreadManager::destroy(), orxonox::TclThreadManager::evalQuery(), and orxonox::TclThreadManager::update().

const int orxonox::PITCH = -30

Referenced by orxonox::Map::updatePositions().

const unsigned int orxonox::SCHED_PRIORITY_OFFSET = static_cast<unsigned int>(-1)`[static]`

Referenced by orxonox::TrafficControl::cut().

const unsigned char orxonox::STATE_ACTIVE = 1`[static]`

Referenced by orxonox::MultiStateEngine::tick().

const unsigned char orxonox::STATE_BOOST = 4`[static]`

Referenced by orxonox::MultiStateEngine::tick().

const unsigned char orxonox::STATE_BRAKE = 8`[static]`

Referenced by orxonox::MultiStateEngine::tick().

const unsigned char orxonox::STATE_FORWARD = 2`[static]`

Referenced by orxonox::MultiStateEngine::tick().

event orxonox::SUPER_FUNCTION_GLOBAL_DECLARATION_PART2

const float orxonox::TCLTHREADMANAGER_MAX_CPU_USAGE = 0.50f

Referenced by orxonox::TclThreadManager::update().

const unsigned int orxonox::TCLTHREADMANAGER_MAX_QUEUE_LENGTH = 100

Referenced by orxonox::TclThreadManager::debug(), orxonox::TclThreadManager::error(), and orxonox::TclThreadManager::pushCommandToQueue().

boost::thread::id orxonox::threadID_g`[static]`

Referenced by orxonox::TclThreadManager::debug(), orxonox::TclThreadManager::error(), and orxonox::TclThreadManager::TclThreadManager().

const unsigned int orxonox::UTIL_CRC32POLY = 0x04C11DB7

Referenced by calcCRCBit().

orxonox::xmlelement